[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

UNIRAS Brief - 125/04 - NGSSoftware Security Bulletin - IBM DB2 Remote Command Execution Privilege Upgrade


- ----------------------------------------------------------------------------------
   UNIRAS (UK Govt CERT) Briefing Notice - 125/04 dated 16.03.04  Time: 11:30  
  UNIRAS is part of NISCC (National Infrastructure Security Co-ordination Centre)
- ---------------------------------------------------------------------------------- 
  UNIRAS material is also available from its website at www.uniras.gov.uk and
         Information about NISCC is available from www.niscc.gov.uk
- ----------------------------------------------------------------------------------


NGSSoftware Security Bulletin:

IBM DB2 Remote Command Execution Privilege Upgrade.


IBM's DB2 is the market share leader for database server software. One of 
the components, the Remote Command Server, contains a vulnerability that can 
allow attackers to gain administrative privileges on the server running DB2.

- ----------------------------------------------------------------------------------

NGSSoftware Insight Security Research Advisory

Name: IBM DB2 Remote Command Execution Privilege 
Upgrade Systems Affected: DB2 8.1 Enterprise Edition on Windows
Severity: High/Low depending on environment
Vendor URL: http://www.ibm.com/
Author: David Litchfield [ david@xxxxxxxxxxxxxxx ]
Date Vendor Notified:    6th September 2003
Date of Public Advisory: 9th March 2004
Advisory number: #NISR09032004
Advisory URL: http://www.ngssoftware.com/advisories/db2rmtcmd.txt

IBM's DB2 is the market share leader for database server software. One of 
the components, the Remote Command Server, contains a vulnerability that can 
allow attackers to gain administrative privileges on the server running DB2.

DB2 with the Remote Command Server, DB2RCMD.EXE, listens on a named pipe 
DB2REMOTECMD and executes commands sent through it. When a connection is 
made to the pipe a new process is created, namely db2rcmdc.exe, and this 
executes the command. Whilst a valid Windows user id and password are 
required the command executes with the privileges of the "db2admin" account 
which is an administrator.

This essentially means that even a low privileged "Guest" account can run 
commands remotely with administrative privileges. This can lead to a 
compromise of the server running DB2.

Fix Information
IDM have included a fix for this problem in Fixpak 5 - 
http://www-306.ibm.com/cgi-bin/db2www/data/db2/udb/winos2unix/support/v8fphist.d2w/report . 

The APAR for this specific issue is IY53894 - 
http://www-306.ibm.com/cgi-bin/db2www/data/db2/udb/winos2unix/support/aparlib.d2w/display_apar_details?aparno=IY53894 .

About NGSSoftware
NGSSoftware design, research and develop intelligent, advanced application 
security assessment scanners. Based in the United Kingdom, NGSSoftware have 
offices in the South of London and the East Coast of Scotland. NGSSoftware's 
sister company NGSConsulting, offers best of breed security consulting 
services, specialising in application, host and network security 


Telephone +44 208 401 0070
Fax +44 208 401 0076


- ----------------------------------------------------------------------------------

For additional information or assistance, please contact the HELP Desk by 
telephone or Not Protectively Marked information may be sent via 
EMail to: uniras@xxxxxxxxxxxx

Office Hours:
Mon - Fri: 08:30 - 17:00 Hrs
Tel: +44 (0) 20 7821 1330 Ext 4511
Fax: +44 (0) 20 7821 1686

Outside of Office Hours:
On Call Duty Officer:
Tel: +44 (0) 20 7821 1330 and follow the prompts

- ----------------------------------------------------------------------------------
UNIRAS wishes to acknowledge the contributions of NGSSoftware for the information 
contained in this Briefing. 
- ----------------------------------------------------------------------------------
This Briefing contains the information released by the original author. Some 
of the information may have changed since it was released. If the vulnerability 
affects you, it may be prudent to retrieve the advisory from the canonical site 
to ensure that you receive the most current information concerning that problem.

Reference to any specific commercial product, process, or service by trade 
name, trademark manufacturer, or otherwise, does not constitute or imply 
its endorsement, recommendation, or favouring by UNIRAS or NISCC.  The views 
and opinions of authors expressed within this notice shall not be used for 
advertising or product endorsement purposes.

Neither UNIRAS or NISCC shall also accept responsibility for any errors 
or omissions contained within this briefing notice. In particular, they shall 
not be liable for any loss or damage whatsoever, arising from or in connection 
with the usage of information contained within this notice.

UNIRAS is a member of the Forum of Incident Response and Security Teams (FIRST) 
and has contacts with other international Incident Response Teams (IRTs) in 
order to foster cooperation and coordination in incident prevention, to prompt 
rapid reaction to incidents, and to promote information sharing amongst its 
members and the community at large. 
- ----------------------------------------------------------------------------------
<End of UNIRAS Briefing>

Version: PGP 8.0