Simple PHP Gallery System SP_Index.PHP Cross-Site Scripting Vulnerability

BID:21278

Info

Simple PHP Gallery System SP_Index.PHP Cross-Site Scripting Vulnerability

Bugtraq ID: 21278
Class: Input Validation Error
CVE: CVE-2006-6273
Remote: Yes
Local: No
Published: Nov 24 2006 12:00AM
Updated: Dec 27 2006 08:27PM
Credit: Al7ejaz Hacker is credited with the discovery of this vulnerability.
Vulnerable: Relatively Absolute Simple PHP Gallery 1.1
Not Vulnerable:

Discussion

Simple PHP Gallery System SP_Index.PHP Cross-Site Scripting Vulnerability

Simple PHP Gallery is prone to a cross-site scripting vulnerability because the application fails to properly sanitize user-supplied input.

An attacker may leverage this issue to have arbitrary script code execute in the browser of an unsuspecting user in the context of the affected site. This may help the attacker steal cookie-based authentication credentials and launch other attacks.

Version 1.1 is vulnerable to this issue; other versions may also be affected.

Exploit / POC

Simple PHP Gallery System SP_Index.PHP Cross-Site Scripting Vulnerability

To exploit this issue, an attacker must entice an unsuspecting victim into following a malicious URI.

An example URI has been provided:

http://www.example.com/sp_index.php?dir=[xss]

Solution / Fix

Simple PHP Gallery System SP_Index.PHP Cross-Site Scripting Vulnerability

Solution:
The vendor has provided a patch to address this issue; please see the reference section for details.

References

Simple PHP Gallery System SP_Index.PHP Cross-Site Scripting Vulnerability

References:
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report