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

myBloggie-2.1.3.txt

myBloggie-2.1.3.txt
Posted Sep 8, 2005
Authored by OS2A

myBloggie versions 2.1.3-beta and prior suffer from SQL injections and privilege escalation vulnerabilities.

tags | advisory, vulnerability, sql injection
SHA-256 | aa1eadc4ab379e63764c6aa310baf69a3cfd884faac949c60757e13bb56bb01e

myBloggie-2.1.3.txt

Change Mirror Download
OS2A

myBloggie SQL Injection/Privilege Escalation Vulnerability


OS2A ID: OS2A_1002 Status
9/1/2005 Isse Discovered
9/2/2005 Reported to the vendor
9/3/2005 Patch Released
9/5/2005 Advisory Released


Class: SQL Injection Severity: CRITICAL


Overview:
myBloggie is a Weblog system built using PHP & mySQL. myBloggie versions
2.1.3-beta and prior are vulnerable to SQL injection vulnerability caused
by improper validation of user-supplied inputs. This vulnerability can be
exploited to bypass authentication mechanism, escalate the privileges to
administrator level and also made to reveal system specific information.


Description:
User supplied credential inputs ('$username' and '$passwd') are not sanitized
in login.php before subjecting them to SQL query.

<----------------------------login.php snippet--------------------------------->

if (isset($_POST['username'])) {
$username=$_POST['username'];
} else $username="";

$result = mysql_query( "SELECT user FROM ".USER_TBL." WHERE user='$username'
AND password='$passwd'" ) or error( mysql_error() );

<------------------------------------------------------------------------------>

This can be exploited in multiple ways,
1. Authentication Bypass
A malicious user can log on to the weblog system without submitting the
password by placing queries such as this "admin' OR 'x'='x" in the
User Name field.

2. Privilege Escalation.
When a non-administrative user submits, for example "user1' OR 'x'='x",
into the User Name field, administrative privileges will be granted.

3. Path Disclosure.
Path information can be made to disclose in error pages by passing invalid
query to User Name field of login.php.


Impact:
Successful exploitation can result in a compromise of the application,
disclosure of system specific information, or permit an attacker to
exploit vulnerabilities in the underlying database implementation.
An attacker can also exploit this vulnerability to elevate privileges
within the affected system.

Affected Systems:
myBloggie 2.1.3-beta and prior.
Linux (Any), Unix (Any), Windows (Any)

Exploit:
1. POST http://example.com/mybloggie/login.php?username=admin' OR 'x'='x
2. POST http://example.com/mybloggie/login.php?username=normal_user' OR 'one'='one
3. POST http://example.com/mybloggie/login.php?username='1=1 --

Solutions:
Patch: http://mywebland.com/forums/showtopic.php?t=399
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
    25 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