SQL injection in Zenphoto - CVE-2012-0994
Published: February 21, 2012 / Updated: August 11, 2020
Zenphoto
Detailed vulnerability description
The vulnerability allows a remote attacker to execute arbitrary SQL queries in database.
The vulnerability exists due to insufficient sanitization of user-supplied data passed via the sortableList parameter. A remote attacker can send a specially crafted request to the affected application and execute arbitrary SQL commands within the application database.
Successful exploitation of this vulnerability may allow a remote attacker to read, delete, modify data in database and gain complete control over the affected application.
How to mitigate CVE-2012-0994
Sources
- http://archives.neohapsis.com/archives/bugtraq/2012-02/0037.html
- http://secunia.com/advisories/47875
- http://www.securityfocus.com/bid/51916
- http://www.zenphoto.org/news/zenphoto-1.4.2.1
- http://www.zenphoto.org/trac/changeset/8994
- http://www.zenphoto.org/trac/changeset/8995
- https://exchange.xforce.ibmcloud.com/vulnerabilities/73082
- https://www.htbridge.ch/advisory/HTB23070