Description
DB2 8.1 remote command server (DB2RCMD.EXE) executes the db2rcmdc.exe program as the db2admin administrator, which allows local users to gain privileges via the DB2REMOTECMD named pipe.
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.
Metasploit 1 module
-
IBM DB2 db2rcmd.exe Command Execution Vulnerability
auxiliary/admin/db2/db2rcmd
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
References
- db2-rcs-gain-privileges(15420) vdb-entry
- 20040309 IBM DB2 Remote Command Execution Privilege Upgrade (#NISR09032004) mailing-list
- http://www.nextgenss.com/advisories/db2rmtcmd.txt
- IY53894 vendor-advisory
- 9821 vdb-entry