Rapid7 Vulnerability & Exploit Database

AIX Calendar Manager Service Daemon (rpc.cmsd) Opcode 21 Buffer Overflow

Back to Search

AIX Calendar Manager Service Daemon (rpc.cmsd) Opcode 21 Buffer Overflow

Disclosed
10/07/2009
Created
05/30/2018

Description

This module exploits a buffer overflow vulnerability in opcode 21 handled by rpc.cmsd on AIX. By making a request with a long string passed to the first argument of the "rtable_create" RPC, a stack based buffer overflow occurs. This leads to arbitrary code execution. NOTE: Unsuccessful attempts may cause inetd/portmapper to enter a state where further attempts are not possible.

Author(s)

  • Rodrigo Rubira Branco (BSDaemon)
  • jduck <jduck@metasploit.com>

Platform

AIX

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 exploit/aix/rpc_cmsd_opcode21
msf exploit(rpc_cmsd_opcode21) > show targets
    ...targets...
msf exploit(rpc_cmsd_opcode21) > set TARGET < target-id >
msf exploit(rpc_cmsd_opcode21) > show options
    ...show and set options...
msf exploit(rpc_cmsd_opcode21) > exploit

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

;