pHNews Comments.PHP Local File Include Vulnerability
BID:19838
Info
pHNews Comments.PHP Local File Include Vulnerability
| Bugtraq ID: | 19838 |
| Class: | Input Validation Error |
| CVE: | |
| Remote: | Yes |
| Local: | No |
| Published: | Sep 04 2006 12:00AM |
| Updated: | Jul 04 2008 07:00PM |
| Credit: | Kacper is credited with the discovery of this vulnerability. |
| Vulnerable: |
pHMicroboard pHNews alpha 1 |
| Not Vulnerable: | |
Discussion
pHNews Comments.PHP Local File Include Vulnerability
pHNews is prone to a local file-include vulnerability because it fails to properly sanitize user-supplied input.
An attacker can exploit this vulnerability to retrieve arbitrary local files from the vulnerable system in the context of the application and to execute malicious PHP code. Information obtained may aid in further attacks, including a remote compromise of the application.
pHNews is prone to a local file-include vulnerability because it fails to properly sanitize user-supplied input.
An attacker can exploit this vulnerability to retrieve arbitrary local files from the vulnerable system in the context of the application and to execute malicious PHP code. Information obtained may aid in further attacks, including a remote compromise of the application.
Exploit / POC
pHNews Comments.PHP Local File Include Vulnerability
Attackers may exploit this vulnerability via a browser.
The following example URI is available:
http://www.example.com/path/modules/comments.php?templates_dir=[LFI]
The following exploit is available:
Attackers may exploit this vulnerability via a browser.
The following example URI is available:
http://www.example.com/path/modules/comments.php?templates_dir=[LFI]
The following exploit is available:
Solution / Fix
pHNews Comments.PHP Local File Include Vulnerability
Solution:
Currently we are not aware of any vendor-supplied patches for this issue. If you feel we are in error or if you are aware of more recent information, please email us at: [email protected].
Solution:
Currently we are not aware of any vendor-supplied patches for this issue. If you feel we are in error or if you are aware of more recent information, please email us at: [email protected].