Secunia Security Advisory - Multiple vulnerabilities have been reported in Easy Photo Gallery, which can be exploited by malicious people to bypass certain security restrictions, and conduct SQL injection and cross-site scripting attacks.
39b9b453a404b0c315966b80068b899b25d7805af1dd855e90574fd9b6e12039
----------------------------------------------------------------------
Do you need accurate and reliable IDS / IPS / AV detection rules?
Get in-depth vulnerability details:
http://secunia.com/binary_analysis/sample_analysis/
----------------------------------------------------------------------
TITLE:
Easy Photo Gallery Multiple Vulnerabilities
SECUNIA ADVISORY ID:
SA31774
VERIFY ADVISORY:
http://secunia.com/advisories/31774/
CRITICAL:
Moderately critical
IMPACT:
Security Bypass, Cross Site Scripting, Manipulation of data, Exposure
of system information, Exposure of sensitive information
WHERE:
>From remote
SOFTWARE:
Easy Photo Gallery 2.x
http://secunia.com/advisories/product/19810/
DESCRIPTION:
Multiple vulnerabilities have been reported in Easy Photo Gallery,
which can be exploited by malicious people to bypass certain security
restrictions, and conduct SQL injection and cross-site scripting
attacks.
1) Input sent to the "imageid" parameter in show.php and to the
"galleryid" parameter in gallery.php is not properly sanitised before
being used in an SQL query. This can be exploited to manipulate an SQL
query by injecting arbitrary SQL code, and to execute arbitrary HTML
and script code in a user's browser session in context of an affected
site via SQL error messages.
2) Input passed to the "username" and "password" parameters in
gallery.php when "login" is set to "user" is not properly sanitised
before being used in an SQL query. This can be exploited to
manipulate an SQL query by injecting arbitrary SQL code.
Successful exploitation of this vulnerability requires that
"magic_quotes_gpc" is disabled.
3) Input passed to the "size" parameter in show.php is not properly
sanitised before being returned to the user.This can be exploited to
execute arbitrary HTML and script code in a user's browser session in
context of an affected site.
4) Access to "useradmin.php" is not properly restricted, which can be
exploited e.g. to add an administrative user.
The vulnerabilities are reported in version 2.1. Other versions may
also be affected.
SOLUTION:
Use another product.
PROVIDED AND/OR DISCOVERED BY:
1,2,3) Khashayar Fereidani a.k.a. Dr.Crash
4) Stack
ORIGINAL ADVISORY:
http://milw0rm.com/exploits/6428
http://milw0rm.com/exploits/6437
----------------------------------------------------------------------
About:
This Advisory was delivered by Secunia as a free service to help
everybody keeping their systems up to date against the latest
vulnerabilities.
Subscribe:
http://secunia.com/advisories/secunia_security_advisories/
Definitions: (Criticality, Where etc.)
http://secunia.com/advisories/about_secunia_advisories/
Please Note:
Secunia recommends that you verify all advisories you receive by
clicking the link.
Secunia NEVER sends attached files with advisories.
Secunia does not advise people to install third party patches, only
use those supplied by the vendor.
----------------------------------------------------------------------