Gallery Main.PHP Directory Traversal Vulnerability

BID:15108

Info

Gallery Main.PHP Directory Traversal Vulnerability

Bugtraq ID: 15108
Class: Input Validation Error
CVE:
Remote: Yes
Local: No
Published: Oct 14 2005 12:00AM
Updated: Oct 14 2005 12:00AM
Credit: Michael Dipper is credited with the discovery of this vulnerability.
Vulnerable: Gallery Gallery 2.0 Beta3
Gallery Gallery 2.0 Beta2
Gallery Gallery 2.0 Beta1
Gallery Gallery 2.0 Alpha4
Gallery Gallery 2.0 Alpha3
Gallery Gallery 2.0 Alpha2
Gallery Gallery 2.0 Alpha1
Gallery Gallery 2.0 Alpha
Gallery Gallery 2.0
Not Vulnerable: Gallery Gallery 2.0.1

Discussion

Gallery Main.PHP Directory Traversal Vulnerability

Gallery is prone to a directory traversal vulnerability. This issue is due to a failure in the application to properly sanitize user-supplied input.

Exploitation of this vulnerability could lead to a loss of confidentiality. Information obtained may aid in further attacks against the underlying system; other attacks are also possible.

Exploit / POC

Gallery Main.PHP Directory Traversal Vulnerability

No exploit is required.

An example URI has been provided:

http://example.com/gallery2/main.php?g2_itemId=/../../../../../../../etc/aliases%00

Solution / Fix

Gallery Main.PHP Directory Traversal Vulnerability

Solution:
The vendor has released version 2.0.1 to address this issue.


Gallery Gallery 2.0

Gallery Gallery 2.0 Beta3

Gallery Gallery 2.0 Beta2

Gallery Gallery 2.0 Beta1

Gallery Gallery 2.0 Alpha3

Gallery Gallery 2.0 Alpha1

Gallery Gallery 2.0 Alpha

Gallery Gallery 2.0 Alpha4

Gallery Gallery 2.0 Alpha2

References

Gallery Main.PHP Directory Traversal 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