i-Gallery Directory Traversal and HTML Injection Vulnerabilities
BID:41493
Info
i-Gallery Directory Traversal and HTML Injection Vulnerabilities
| Bugtraq ID: | 41493 |
| Class: | Input Validation Error |
| CVE: | |
| Remote: | Yes |
| Local: | No |
| Published: | Jul 08 2010 12:00AM |
| Updated: | Jul 08 2010 12:00AM |
| Credit: | SONIC |
| Vulnerable: |
Blue-Collar Production i-gallery 3.4 |
| Not Vulnerable: | |
Discussion
i-Gallery Directory Traversal and HTML Injection Vulnerabilities
i-Gallery is prone to a directory traversal vulnerability and an HTML-injection vulnerability because it fails to properly sanitize user-supplied input.
An attacker can exploit the directory traversal vulnerability to access files on the computer in the context of the webserver process.
The attacker may leverage the HTML-injection issue to execute arbitrary HTML and script code in the context of the affected browser. This may let the attacker steal cookie-based authentication credentials or control how the site is rendered to the user.
i-Gallery version 3.4 is vulnerable; other versions may also be affected.
i-Gallery is prone to a directory traversal vulnerability and an HTML-injection vulnerability because it fails to properly sanitize user-supplied input.
An attacker can exploit the directory traversal vulnerability to access files on the computer in the context of the webserver process.
The attacker may leverage the HTML-injection issue to execute arbitrary HTML and script code in the context of the affected browser. This may let the attacker steal cookie-based authentication credentials or control how the site is rendered to the user.
i-Gallery version 3.4 is vulnerable; other versions may also be affected.
Exploit / POC
i-Gallery Directory Traversal and HTML Injection Vulnerabilities
Attackers can exploit these issues with a browser.
The following example URI is available:
http://www.example.com/igallery34/viewphoto.asp?i=[file include]&f=fghd&sh=27768&sw=1024
Attackers can exploit these issues with a browser.
The following example URI is available:
http://www.example.com/igallery34/viewphoto.asp?i=[file include]&f=fghd&sh=27768&sw=1024
Solution / Fix
i-Gallery Directory Traversal and HTML Injection Vulnerabilities
Solution:
Currently we are not aware of any vendor-supplied patches. If you feel we are in error or if you are aware of any more recent information, please mail us at: [email protected].
Solution:
Currently we are not aware of any vendor-supplied patches. If you feel we are in error or if you are aware of any more recent information, please mail us at: [email protected].
References
i-Gallery Directory Traversal and HTML Injection Vulnerabilities
References:
References:
- Blue-Collar Productions Home Page (Blue-Collar Productions)