SecurityTracker.com
Keep Track of the Latest Vulnerabilities
with SecurityTracker!
    Home    |    View Topics    |    Search    |    Contact Us    |   

SecurityTracker
Archives


 
Sign Up
Sign Up for Your FREE Weekly SecurityTracker E-mail Alert Summary
Instant Alerts
Buy our Premium Vulnerability Notification Service to receive customized, instant alerts
Affiliates
Put SecurityTracker Vulnerability Alerts on Your Web Site -- It's Free!
Partners
Become a Partner and License Our Database or Notification Service
Report a Bug
Report a vulnerability that you have found to SecurityTracker
bugs
@
securitytracker.com






Category:   Application (Database)  >   MaxDB Vendors:   MySQL.com
MaxDB HTTP Request '%' Buffer Overflow Lets Remote Users Execute Arbitrary Code
SecurityTracker Alert ID:  1013801
SecurityTracker URL:  http://securitytracker.com/id/1013801
CVE Reference:   CAN-2005-0684   (Links to External Site)
Date:  Apr 25 2005
Impact:   Execution of arbitrary code via network, Root access via network
Fix Available:  Yes  Vendor Confirmed:  Yes  
Version(s): 7.5.00.23
Description:   iDEFENSE reported a vulnerability in MaxDB in the processing of HTTP requests. A remote user can execute arbitrary code on the target system.

A remote user can connect to the web administration interface and send a specially crafted HTTP GET request containing a percent sign (%) followed by a string of approximately 4,000 bytes as the file parameter to trigger a stack overflow. Arbitrary code can be executed.

The original advisory is available at:

http://www.idefense.com/application/poi/display?id=234&type=vulnerabilities

Impact:   A remote user can execute arbitrary code on the target system. On Windows-based systems, the code will run with System level privileges.
Solution:   The vendor has issued a fixed version (7.5.00.26), available at:

http://dev.mysql.com/downloads/maxdb/7.5.00.html

Vendor URL:  www.mysql.com/products/maxdb/ (Links to External Site)
Cause:   Boundary error
Underlying OS:   Linux (Any), UNIX (AIX), UNIX (HP/UX), UNIX (Solaris - SunOS), UNIX (Tru64), Windows (Any)

Message History:   None.


 Source Message Contents

Date:  Mon, 25 Apr 2005 18:19:02 -0400
Subject:  iDEFENSE Security Advisory 04.25.05: MySQL MaxDB Webtool Remote


MySQL MaxDB Webtool Remote Stack Overflow Vulnerability

iDEFENSE Security Advisory 04.25.05
http://www.idefense.com/application/poi/display?id=234&type=vulnerabilit
ies
April 25, 2005

I. BACKGROUND

MaxDB by MySQL is a re-branded and enhanced version of SAP DB, SAP AG's
open source database. MaxDB is a heavy-duty, SAP-certified open source
database that offers high availability, scalability and a comprehensive
feature set. MaxDB complements the MySQL database server, targeted for
large mySAP ERP environments and other applications that require maximum
enterprise-level database functionality.

II. DESCRIPTION

Remote exploitation of a stack-based buffer overflow vulnerability in 
MySQL MaxDB could allow attackers to execute arbitrary code. 

The vulnerability specifically exists due to improper handling of HTTP 
GET queries containing a percent sign (%). When an attacker issues an 
HTTP GET request specifying a percent sign followed by a long string as 
the file parameter, a stack-based overflow occurs. Although exceptions 
within the process can be raised with smaller strings, it is necessary 
to provide a string of approximately 4,000 bytes in length to overwrite 
the process Structured Exception Handler (SEH). Using this method, is 
possible to gain control of execution flow and execute arbitrary code. 

It is also possible to simply overwrite the program's saved instruction 
pointer. However, it would be necessary to provide several valid 
pointers in the buffer along the way in order to avoid premature 
exceptions.

III. ANALYSIS

Successful exploitation of the vulnerability can allow remote attackers 
to execute code with SYSTEM privileges. Note that the vulnerability is 
in the web administration service, which should be configured not to 
allow connections from untrusted hosts or listen on public-facing 
network interfaces.

IV. DETECTION

iDEFENSE has confirmed the existence of this vulnerability in MySQL 
MaxDB 7.5.00.23.

V. WORKAROUND

Employ firewalls, access control lists or other TCP/UDP restriction 
mechanism to limit access to administrative systems and services.

VI. VENDOR RESPONSE

This vulnerability is addressed in MySQL MaxDB 7.5.00.26 available for
download at:

   http://dev.mysql.com/downloads/maxdb/7.5.00.html

VII. CVE INFORMATION

The Common Vulnerabilities and Exposures (CVE) project has assigned the
name CAN-2005-0684 to this issue. This is a candidate for inclusion in
the CVE list (http://cve.mitre.org), which standardizes names for
security problems. This is one of two vulnerabilities that have been
assigned CAN-2005-0684.

VIII. DISCLOSURE TIMELINE

03/08/2005  Initial vendor notification
03/11/2005  Initial vendor response
04/25/2005  Coordinated public disclosure

IX. CREDIT

The discoverer of this vulnerability wishes to remain anonymous.

Get paid for vulnerability research
http://www.idefense.com/poi/teams/vcp.jsp

Free tools, research and upcoming events
http://labs.idefense.com

X. LEGAL NOTICES

Copyright (c) 2005 iDEFENSE, Inc.

Permission is granted for the redistribution of this alert
electronically. It may not be edited in any way without the express
written consent of iDEFENSE. If you wish to reprint the whole or any
part of this alert in any other medium other than electronically, please
email customerservice@idefense.com for permission.

Disclaimer: The information in the advisory is believed to be accurate
at the time of publishing based on currently available information. Use
of the information constitutes acceptance for use in an AS IS condition.
There are no warranties with regard to this information. Neither the
author nor the publisher accepts any liability for any direct, indirect,
or consequential loss or damage arising from use of, or reliance on,
this information.
 
 


Go to the Top of This SecurityTracker Archive Page





Home   |    View Topics   |    Search   |    Contact Us

Copyright 2014, SecurityGlobal.net LLC