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

db2udb-handshake.txt

db2udb-handshake.txt
Posted Sep 7, 2006

An attacker can send a specially crafted ACCSEC 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 | 1a8410f5b85a180b22f0f8b9883db77dd9e57286bb5e6f8f59e05eba2bfa3d57

db2udb-handshake.txt

Change Mirror Download
DB2 UDB - Handshake Protocol DoS Attack (BID 19586)

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 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 ACCSEC command during the handshake process with the server, causing the server process to crash.

Details:
A simple connection establishment process to the DB2 UDB server with a user-password authentication consists of several commands: EXCSAT (Exchange Server Attributes), ACCSEC (Access Security), SECCHK (Security Check) and ACCRDB (Access RDB). The RDBNAM parameter, which appears in some of them, specifies the name of the RDB that the command accesses (according to the documentation, if this parameter is specified, its value must be the same as the value specified on the ACCRDB command for RDBNAM). ACCSEC usually appears twice during the handshake process.
It turns out that if the RDBNAM parameter is omitted from the first ACCSEC command, the DB2 UDB server becomes unstable, while the establishment of the connection may continue successfully. Once the connection is established, a simple command (such as SELECT) sent through the connection causes the service to terminate unexpectedly.

Exploit:
Send a connection establishment request to the DB2 UDB server, where the RDBNAM parameter is omitted from the first ACCSEC command. After the connection is established, send a simple query (e.g.: SELECT * FROM dummy).

Vulnerable:
DB2 UDB version 8.x all platforms.

Not Vulnerable:

Vendor’s Status:
- January 11th 2006 – Vendor Notified
- August 14th 2006 – Patched in UDB 8.1 FixPak 13, APAR is IY87211
- August 18th 2006 – Reported by vendor to Bugtraq and labeled as BID 19586

Workaround:
None.

Credit:
Discovered by Tal Ryterski from Imperva Inc.
Login or Register to add favorites

File Archive:

May 2024

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