PhpWebGallery Local File Include and Cross-Site Scripting Vulnerabilities
BID:31123
Info
PhpWebGallery Local File Include and Cross-Site Scripting Vulnerabilities
| Bugtraq ID: | 31123 |
| Class: | Input Validation Error |
| CVE: | |
| Remote: | Yes |
| Local: | No |
| Published: | Sep 11 2008 12:00AM |
| Updated: | Sep 12 2008 07:50PM |
| Credit: | Khashayar Fereidani a.k.a Dr.Crash |
| Vulnerable: |
PhpWebGallery PhpWebGallery 1.3.4 |
| Not Vulnerable: | |
Discussion
PhpWebGallery Local File Include and Cross-Site Scripting Vulnerabilities
PhpWebGallery is prone to multiple local file-include vulnerabilities and a cross-site scripting vulnerability.
An attacker can exploit the local file-include vulnerabilities using directory-traversal strings to execute local script code in the context of the application. This may allow the attacker to access sensitive information that may aid in further attacks.
Exploits of the cross-site scripting issue may allow the attacker to execute arbitrary script code 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.
PhpWebGallery 1.3.4 is vulnerable; other versions may also be affected.
PhpWebGallery is prone to multiple local file-include vulnerabilities and a cross-site scripting vulnerability.
An attacker can exploit the local file-include vulnerabilities using directory-traversal strings to execute local script code in the context of the application. This may allow the attacker to access sensitive information that may aid in further attacks.
Exploits of the cross-site scripting issue may allow the attacker to execute arbitrary script code 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.
PhpWebGallery 1.3.4 is vulnerable; other versions may also be affected.
Exploit / POC
PhpWebGallery Local File Include and Cross-Site Scripting Vulnerabilities
Attackers can exploit these issues via a browser. To exploit a cross-site scripting vulnerability, the attacker must entice an unsuspecting user to view a maliciously crafted URI.
The following example URIs are available:
Attackers can exploit these issues via a browser. To exploit a cross-site scripting vulnerability, the attacker must entice an unsuspecting user to view a maliciously crafted URI.
The following example URIs are available:
Solution / Fix
PhpWebGallery Local File Include and Cross-Site Scripting 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 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 more recent information, please mail us at: [email protected].
References
PhpWebGallery Local File Include and Cross-Site Scripting Vulnerabilities
References:
References: