TITLE:
Enhanced Simple PHP Gallery "dir" Cross-Site Scripting Vulnerability
SECUNIA ADVISORY ID:
SA18310
VERIFY ADVISORY:
http://secunia.com/advisories/18310/
CRITICAL:
Less critical
IMPACT:
Cross Site Scripting
WHERE:
>From remote
SOFTWARE:
Enhanced Simple PHP Gallery 1.x
http://secunia.com/product/6744/
DESCRIPTION:
preddy has discovered a vulnerability in Enhanced Simple PHP Gallery,
which can be exploited by malicious people to conduct cross-site
scripting attacks.
Input passed to the "dir" parameters in "index.php" isn't 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 a vulnerable site.
The vulnerability has been confirmed in version 1.7. Other versions
may also be affected.
SOLUTION:
Edit the source code to ensure that input is properly sanitised.
PROVIDED AND/OR DISCOVERED BY:
preddy
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/secunia_security_advisories/
Definitions: (Criticality, Where etc.)
http://secunia.com/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.