Risks
Vulnerabilities
Browse by
PHP Manpage Lookup Multiple Vulnerabilities
13 January 2004
Bookmark and Share
From: <aurelien.cabezon(at)isecurelabs.com>

_Manpage Lookup_ is a PHP class that helps you to build a "manpage" frontend in php. It is powered by Andy (http://php.amnuts.com).

The script _class.manpagelookup.php_ was vulnerable to a directory transversal bug (because of leaks is input validation) that could lead to disclose any readable (by the httpd process id) files on the remote server.

The problem was located in the function buildManPage(), the $cmd variable was not filtered enough and the path of any file to open could be given across the user input.

Exploiting this issue was easy:
http://www.foo.com/manpage/index.php?command=/etc/resolv.conf

The vulnerability has now been fixed by Andy. All people who are running this script should upgrade asap (http://php.amnuts.com).

Best regards,

--
Cabezon Aurélien <aurelien.cabezon@isecurelabs.com>
iSECURELABS.COM - http://www.isecurelabs.com



Spotlight

How to talk infosec with kids

Posted on 17 September 2014.  |  It's never too early to talk infosec with kids: you simply need the right story. In fact, as cyber professionals it’s our duty to teach ALL the kids in our life about technology. If we are to make an impact, we must remember that children needed to be taught about technology on their terms.


Weekly newsletter

Reading our newsletter every Monday will keep you up-to-date with security news.
  



Daily digest

Receive a daily digest of the latest security news.
  

DON'T
MISS

Thu, Sep 18th
    COPYRIGHT 1998-2014 BY HELP NET SECURITY.   // READ OUR PRIVACY POLICY // ABOUT US // ADVERTISE //