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.
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
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
Solution:
The vendor has released version 2.0.1 to address this issue.
Gallery Gallery 2.0
-
Gallery gallery-2.0.1-typical.tar.gz
http://prdownloads.sourceforge.net/gallery/gallery-2.0.1-typical.tar.g z
Gallery Gallery 2.0 Beta3
-
Gallery gallery-2.0.1-typical.tar.gz
http://prdownloads.sourceforge.net/gallery/gallery-2.0.1-typical.tar.g z
Gallery Gallery 2.0 Beta2
-
Gallery gallery-2.0.1-typical.tar.gz
http://prdownloads.sourceforge.net/gallery/gallery-2.0.1-typical.tar.g z
Gallery Gallery 2.0 Beta1
-
Gallery gallery-2.0.1-typical.tar.gz
http://prdownloads.sourceforge.net/gallery/gallery-2.0.1-typical.tar.g z
Gallery Gallery 2.0 Alpha3
-
Gallery gallery-2.0.1-typical.tar.gz
http://prdownloads.sourceforge.net/gallery/gallery-2.0.1-typical.tar.g z
Gallery Gallery 2.0 Alpha1
-
Gallery gallery-2.0.1-typical.tar.gz
http://prdownloads.sourceforge.net/gallery/gallery-2.0.1-typical.tar.g z
Gallery Gallery 2.0 Alpha
-
Gallery gallery-2.0.1-typical.tar.gz
http://prdownloads.sourceforge.net/gallery/gallery-2.0.1-typical.tar.g z
Gallery Gallery 2.0 Alpha4
-
Gallery gallery-2.0.1-typical.tar.gz
http://prdownloads.sourceforge.net/gallery/gallery-2.0.1-typical.tar.g z
Gallery Gallery 2.0 Alpha2
-
Gallery gallery-2.0.1-typical.tar.gz
http://prdownloads.sourceforge.net/gallery/gallery-2.0.1-typical.tar.g z
References
Gallery Main.PHP Directory Traversal Vulnerability
References:
References:
- Gallery Product Page (Gallery)
- Gallery 2.x Remote File Access Vulnerability (Bharat Mediratta)