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

db2udb-unauth.txt

db2udb-unauth.txt
Posted Sep 7, 2006

An attacker can send a specially crafted EXCSAT command during the handshake process with the server, causing the server process to crash in the DB2 Universal Database versions 8.x.

tags | advisory
SHA-256 | c98ea2020768ceafc724a6ef194ffa77adce1cf1b41123451210d5e693131c72

db2udb-unauth.txt

Change Mirror Download
DB2 UDB - Unauthenticated Buffer Overflow and DoS (BID 18428)

Background:
DB2 Universal Database (UDB)™ is a popular database software package from IBM available for legacy platforms as well as open systems (Unix and Windows). Clients use a protocol called DRDA to communicate with the DB2 UDB server. Protocol messages are used for session setup, authentication and data transfer

Scope:
Imperva’s Application Defense Center is conducting an extensive research of the DRDA protocol and its implementation. As part of the research the team has identified severe vulnerability in DB2 UDB’s connection establishment mechanism that allows an attacker to terminate the UDB service, effectively denying service from all database users.

Findings:
An attacker can send a specially crafted EXCSAT command during the handshake process with the server, causing the server process to crash. It seems that the command invokes a buffer overflow condition on the server possibly allowing execution of arbitrary code on the server.

Details:
The first message used by a client when establishing a connection to the database is the EXCSAT message (message code 0x1041). This message includes an object called MGRLVLLS (code 0x2114) which in term contains a vector of 4 byte entries (two bytes for the manager code and two byte for the compatibility level). When the size of the MGRLVLLS message is large enough a buffer overflow condition is invoked.
If the client terminates the connection immediately after sending this message the server process is terminated.

Exploit:
Create an EXCSAT message with a very long (>1Kbytes) MGRLVLLS message. (see attached)
Tested Versions

Vulnerable:
DB2 UDB version 8.x all platforms

Not Vulnerable:

Vendor’s Status:
- Vendor notified on Feb-8, 2006.
- Vulnerability patched in UDB 8.x FixPak 12 on May 5th 2006, APAR is IY84096
- Reported by vendor to Bugtraq on June 14th 2006 and labeled BID 18428

Workaround:
None
Login or Register to add favorites

File Archive:

March 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Mar 1st
    16 Files
  • 2
    Mar 2nd
    0 Files
  • 3
    Mar 3rd
    0 Files
  • 4
    Mar 4th
    32 Files
  • 5
    Mar 5th
    28 Files
  • 6
    Mar 6th
    42 Files
  • 7
    Mar 7th
    17 Files
  • 8
    Mar 8th
    13 Files
  • 9
    Mar 9th
    0 Files
  • 10
    Mar 10th
    0 Files
  • 11
    Mar 11th
    15 Files
  • 12
    Mar 12th
    19 Files
  • 13
    Mar 13th
    21 Files
  • 14
    Mar 14th
    38 Files
  • 15
    Mar 15th
    15 Files
  • 16
    Mar 16th
    0 Files
  • 17
    Mar 17th
    0 Files
  • 18
    Mar 18th
    10 Files
  • 19
    Mar 19th
    32 Files
  • 20
    Mar 20th
    46 Files
  • 21
    Mar 21st
    16 Files
  • 22
    Mar 22nd
    13 Files
  • 23
    Mar 23rd
    0 Files
  • 24
    Mar 24th
    0 Files
  • 25
    Mar 25th
    12 Files
  • 26
    Mar 26th
    31 Files
  • 27
    Mar 27th
    19 Files
  • 28
    Mar 28th
    42 Files
  • 29
    Mar 29th
    0 Files
  • 30
    Mar 30th
    0 Files
  • 31
    Mar 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