lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <001e01c3d79a$adc6d3d0$6400a8c0@mad>
Date: Sat, 10 Jan 2004 17:56:22 +0100
From: Cabezon Aurélien <aurelien.cabezon@...curelabs.com>
To: <bugtraq@...urityfocus.com>
Subject: PHP Manpage lookup directory transversal / file disclosing


Hi ppl,

_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@...curelabs.com>
iSECURELABS.COM - http://www.isecurelabs.com



Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ