Ethical Hacking

Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package.
Computer Forensics Training at InfoSec Institute

Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors.




Network Security Vuln-Dev
[Top] [All Lists]

MonAlbum 0.8.7 SQL Injection

Subject: MonAlbum 0.8.7 SQL Injection
Date: 31 Mar 2006 02:05:18 -0000
advisory by undefined1_ @ bash-x.net/undef/

Mon Album 0.8.7
http://www.3dsrc.com/monalbum/

There are 2 sql injection flaws in MonAlbum 0.8.7. First in index.php (line 99)
if (isset($_GET["pc"])) $pc = $_GET["pc"];

... (no sanity checks)

if (isset($pc) && $grech_inactive) $result = execute_requete("select id_rub, 
nom, commentaire from monalbum_rubrique where ( nom like \"%$pc%\" or 
commentaire like \"%$pc%\" ) and (id_rub_mere <> 0 and id_rub <> 0) limit " . 
$deb . ", ". ($ghor*$gvert));



The second flaw is located in the comments system in image_agrandir.php (line 
228)
$pnom = $_POST['pnom'];
$pcourriel = $_POST['pcourriel'];
$pcommentaire = $_POST['pcommentaire'];

... (no sanity checks)

execute_requete("insert into monalbum_commentaire (id_image, nom, courriel, 
commentaire, date_com) values ($id_image, \"$pnom\",\"$pcourriel\", 
\"".addslashes($pcommentaire)."\", \"".date("Y-m-d")."\" )"); 

<Prev in Thread] Current Thread [Next in Thread>
  • MonAlbum 0.8.7 SQL Injection, undefined1 <=