Rapid7 Vulnerability & Exploit Database

IBM DB2 db2rcmd.exe Command Execution Vulnerability

Back to Search

IBM DB2 db2rcmd.exe Command Execution Vulnerability

Disclosed
03/04/2004
Created
05/30/2018

Description

This module exploits a vulnerability in the Remote Command Server component in IBM's DB2 Universal Database 8.1. An authenticated attacker can send arbitrary commands to the DB2REMOTECMD named pipe which could lead to administrator privileges.

Author(s)

  • MC <mc@metasploit.com>

Development

Module Options

To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':

msf > use auxiliary/admin/db2/db2rcmd
msf auxiliary(db2rcmd) > show actions
    ...actions...
msf auxiliary(db2rcmd) > set ACTION < action-name >
msf auxiliary(db2rcmd) > show options
    ...show and set options...
msf auxiliary(db2rcmd) > run 

Time is precious, so I don’t want to do something manually that I can automate. Leveraging the Metasploit Framework when automating any task keeps us from having to re-create the wheel as we can use the existing libraries and focus our efforts where it matters.

– Jim O’Gorman | President, Offensive Security

;