Secunia CSI7
Advisories
Research
Forums
Create Profile
Our Commitment
Database
Search
Advisories by Product
Advisories by Vendor
Terminology
Report Vulnerability
Insecure Library Loading
Moderately critical

PHP Inventory Multiple SQL Injection Vulnerabilities

-

Release Date:  2009-12-11    Last Update:  2011-12-01    Views:  3,332

Secunia Advisory SA37672

Where:

From remote

Impact:

Manipulation of data, Exposure of sensitive information

Solution Status:

Partial Fix

CVE Reference(s):

Description


mr_me has discovered multiple vulnerabilities in PHP Inventory, which can be exploited by malicious users and by malicious people to conduct SQL injection attacks.

1) Input passed via the "user_id" parameter to index.php (when "sub" is set to "users" and "action" is set to "details") and via the "sup_id" parameter (when "sub" is set to "suppliers" and "action" is set to "details") is not properly sanitised before being used in a SQL query. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code.

Successful exploitation of this vulnerability requires the attacker to be logged in to the application.

2) Input passed via the "user" and "pass" form field to index.php is not properly sanitised before being used in a SQL query. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code.

Successful exploitation requires that "magic_quotes_gpc" is disabled.

The vulnerabilities are confirmed in version 1.3.1. Other versions may also be affected.


Solution:
Update to version 1.3.2 which fixes vulnerability #2. Edit the source code to ensure that input is properly sanitised.

Provided and/or discovered by:
mr_me

Original Advisory:
PHP Inventory:
http://www.phpwares.com/content/php-inventory#comment-15757

mr_me:
http://www.exploit-db.com/exploits/10370

Deep Links:
Links available to Secunia VIM customers

Do you have additional information related to this advisory?

Please provide information about patches, mitigating factors, new versions, exploits, faulty patches, links, and other relevant data by posting comments to this Advisory. You can also send this information to vuln@secunia.com

Subject: PHP Inventory Multiple SQL Injection Vulnerabilities

No posts yet

-

You must be logged in to post a comment.



 Products Solutions Customers Partner Resources Company
 
 Corporate
Vulnerability Intelligence Manager (VIM)
Corporate Software Inspector (CSI)
Consumer
Personal Software Inspector (PSI)
Online Software Inspector (OSI)
 Industry
Compliance
Technology
Integration
 Customers
Testimonials
 VARS
MSSP
Technology Partners
References
 Factsheets
Reports
Webinars
Events
 About us
Careers
Memberships
Newsroom


 
© 2002-2014 Secunia ApS - Rued Langgaards Vej 8, 4th floor, DK-2300 Copenhagen, Denmark - +45 7020 5144
Terms & Conditions and Copyright - Privacy - Report Vulnerability