Secunia SmallBusiness
Overview
Advisories
Research
Forums
Create Profile
Our Commitment
Database
Search
Advisories by Product
Advisories by Vendor
Terminology
Report Vulnerability
Insecure Library Loading

Secunia Advisory SA37672

PHP Inventory Multiple SQL Injection Vulnerabilities
Secunia Advisory SA37672
Secunia VIM 4.0 - Free Trial
Release Date 2009-12-11
Last Update 2011-12-01
   
Popularity 3,037 views
Comments 0 comments

Criticality level Moderately criticalModerately critical
Impact Manipulation of data
Exposure of sensitive information
Where From remote
Authentication level This information is available to Secunia VIM customers
   
Report reliability This information is available to Secunia VIM customers
Solution Status Partial Fix
   
Systems affected This information is available to Secunia VIM customers
Approve distribution This information is available to Secunia VIM customers
   
Software:
PHP Inventory 1.x

Secunia CVSS Score This information is available to Secunia VIM Customers
CVE Reference(s) CVE-2009-4595 CVSS score available to Secunia VIM customers
CVE-2009-4596 CVSS score available to Secunia VIM customers
CVE-2009-4597 CVSS score available to Secunia VIM customers
  

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

Changelog
Further details available to Secunia VIM customers

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-2013 Secunia ApS - Rued Langgaards Vej 8, 4th floor, DK-2300 Copenhagen, Denmark - +45 7020 5144
Terms & Conditions and Copyright - Privacy - Report Vulnerability