phpOCS 'index.php' Local File Include Vulnerability
BID:31392
Info
phpOCS 'index.php' Local File Include Vulnerability
| Bugtraq ID: | 31392 |
| Class: | Input Validation Error |
| CVE: |
CVE-2008-4331 |
| Remote: | Yes |
| Local: | No |
| Published: | Sep 25 2008 12:00AM |
| Updated: | May 07 2015 05:23PM |
| Credit: | dun |
| Vulnerable: |
phpOCS phpOCS 0.1 -beta3 |
| Not Vulnerable: | |
Discussion
phpOCS 'index.php' Local File Include Vulnerability
phpOCS is prone to a local file-include vulnerability because it fails to properly sanitize user-supplied input.
An attacker can exploit this vulnerability using directory-traversal strings to view local files within the context of the webserver process. Information harvested may aid in further attacks.
phpOCS 0.1-beta3 is vulnerable; other versions may also be affected.
phpOCS is prone to a local file-include vulnerability because it fails to properly sanitize user-supplied input.
An attacker can exploit this vulnerability using directory-traversal strings to view local files within the context of the webserver process. Information harvested may aid in further attacks.
phpOCS 0.1-beta3 is vulnerable; other versions may also be affected.
Exploit / POC
phpOCS 'index.php' Local File Include Vulnerability
Attackers can exploit this issue via a browser.
The following example URI is available:
http://www.example.com/path/index.php?act=../../../../../../../etc/passwd%00
Attackers can exploit this issue via a browser.
The following example URI is available:
http://www.example.com/path/index.php?act=../../../../../../../etc/passwd%00
Solution / Fix
phpOCS 'index.php' Local File Include Vulnerability
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].