PhreeBooks Multiple HTML-Injection and Local File Include Vulnerabilities
BID:40639
Info
PhreeBooks Multiple HTML-Injection and Local File Include Vulnerabilities
| Bugtraq ID: | 40639 |
| Class: | Input Validation Error |
| CVE: | |
| Remote: | Yes |
| Local: | No |
| Published: | Jun 08 2010 12:00AM |
| Updated: | Jun 08 2010 12:00AM |
| Credit: | Gustavo Sorondo |
| Vulnerable: |
Phreesoft PhreeBooks 2.0 |
| Not Vulnerable: | |
Discussion
PhreeBooks Multiple HTML-Injection and Local File Include Vulnerabilities
PhreeBooks is prone to multiple local file-include vulnerabilities and multiple HTML-injection vulnerabilities because it fails to properly sanitize user-supplied input.
An attacker can exploit the local file-include vulnerabilities using directory-traversal strings to view files and execute local scripts in the context of the webserver process; other attacks are also possible.
The attacker may leverage the HTML-injection issues to execute arbitrary script code in the browser of an unsuspecting user in the context of the affected site. This may let the attacker steal cookie-based authentication credentials and launch other attacks.
PhreeBooks 2.0 is vulnerable; other versions may also be affected.
PhreeBooks is prone to multiple local file-include vulnerabilities and multiple HTML-injection vulnerabilities because it fails to properly sanitize user-supplied input.
An attacker can exploit the local file-include vulnerabilities using directory-traversal strings to view files and execute local scripts in the context of the webserver process; other attacks are also possible.
The attacker may leverage the HTML-injection issues to execute arbitrary script code in the browser of an unsuspecting user in the context of the affected site. This may let the attacker steal cookie-based authentication credentials and launch other attacks.
PhreeBooks 2.0 is vulnerable; other versions may also be affected.
Exploit / POC
PhreeBooks Multiple HTML-Injection and Local File Include Vulnerabilities
Attackers can exploit these issues via a browser.
The following example URIs are available:
http://www.example.com/index.php?language=../../../../../../../etc/passwd%00
http://www.example.com/index.php?cat=../../../../../../../etc/passwd%00
Attackers can exploit these issues via a browser.
The following example URIs are available:
http://www.example.com/index.php?language=../../../../../../../etc/passwd%00
http://www.example.com/index.php?cat=../../../../../../../etc/passwd%00