Vulnerabilities > CVE-2009-3699 - Improper Restriction of Operations within the Bounds of a Memory Buffer vulnerability in IBM AIX and Vios
Attack vector
UNKNOWN Attack complexity
UNKNOWN Privileges required
UNKNOWN Confidentiality impact
UNKNOWN Integrity impact
UNKNOWN Availability impact
UNKNOWN Summary
Stack-based buffer overflow in libcsa.a (aka the calendar daemon library) in IBM AIX 5.x through 5.3.10 and 6.x through 6.1.3, and VIOS 2.1 and earlier, allows remote attackers to execute arbitrary code via a long XDR string in the first argument to procedure 21 of rpc.cmsd.
Vulnerable Configurations
Part | Description | Count |
---|---|---|
OS | Ibm
| 26 |
Application | 12 |
Common Weakness Enumeration (CWE)
Common Attack Pattern Enumeration and Classification (CAPEC)
- Buffer Overflow via Environment Variables This attack pattern involves causing a buffer overflow through manipulation of environment variables. Once the attacker finds that they can modify an environment variable, they may try to overflow associated buffers. This attack leverages implicit trust often placed in environment variables.
- Overflow Buffers Buffer Overflow attacks target improper or missing bounds checking on buffer operations, typically triggered by input injected by an attacker. As a consequence, an attacker is able to write past the boundaries of allocated buffer regions in memory, causing a program crash or potentially redirection of execution as per the attackers' choice.
- Client-side Injection-induced Buffer Overflow This type of attack exploits a buffer overflow vulnerability in targeted client software through injection of malicious content from a custom-built hostile service.
- Filter Failure through Buffer Overflow In this attack, the idea is to cause an active filter to fail by causing an oversized transaction. An attacker may try to feed overly long input strings to the program in an attempt to overwhelm the filter (by causing a buffer overflow) and hoping that the filter does not fail securely (i.e. the user input is let into the system unfiltered).
- MIME Conversion An attacker exploits a weakness in the MIME conversion routine to cause a buffer overflow and gain control over the mail server machine. The MIME system is designed to allow various different information formats to be interpreted and sent via e-mail. Attack points exist when data are converted to MIME compatible format and back.
Exploit-Db
description | AIX Calendar Manager Service Daemon (rpc.cmsd) Opcode 21 Buffer Overflow. CVE-2009-3699. Dos exploit for aix platform |
id | EDB-ID:16929 |
last seen | 2016-02-02 |
modified | 2010-11-11 |
published | 2010-11-11 |
reporter | metasploit |
source | https://www.exploit-db.com/download/16929/ |
title | AIX Calendar Manager Service Daemon rpc.cmsd Opcode 21 - Buffer Overflow |
Metasploit
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. |
id | MSF:EXPLOIT/AIX/RPC_CMSD_OPCODE21 |
last seen | 2020-06-13 |
modified | 2017-07-24 |
published | 2010-02-08 |
references | |
reporter | Rapid7 |
source | https://github.com/rapid7/metasploit-framework/blob/master//modules/exploits/aix/rpc_cmsd_opcode21.rb |
title | AIX Calendar Manager Service Daemon (rpc.cmsd) Opcode 21 Buffer Overflow |
Nessus
NASL family AIX Local Security Checks NASL id AIX_IZ62569.NASL description There is a buffer overflow vulnerability in the calendar daemon library libcsa.a. A remote attacker can exploit this vulnerability when the rpc.cmsd calendar daemon is enabled in /etc/inetd.conf. The successful exploitation of this vulnerability allows a remote attacker to execute arbitrary code as the root user. The following libraries and executables are vulnerable : /usr/dt/bin/rpc.cmsd /usr/dt/lib/libcsa.a. last seen 2020-06-01 modified 2020-06-02 plugin id 64349 published 2013-01-30 reporter This script is Copyright (C) 2013-2019 Tenable Network Security, Inc. source https://www.tenable.com/plugins/nessus/64349 title AIX 6.1 TL 0 : cmsd (IZ62569) NASL family AIX Local Security Checks NASL id AIX_IZ62123.NASL description There is a buffer overflow vulnerability in the calendar daemon library libcsa.a. A remote attacker can exploit this vulnerability when the rpc.cmsd calendar daemon is enabled in /etc/inetd.conf. The successful exploitation of this vulnerability allows a remote attacker to execute arbitrary code as the root user. The following libraries and executables are vulnerable : /usr/dt/bin/rpc.cmsd /usr/dt/lib/libcsa.a. last seen 2020-06-01 modified 2020-06-02 plugin id 64347 published 2013-01-30 reporter This script is Copyright (C) 2013-2019 Tenable Network Security, Inc. source https://www.tenable.com/plugins/nessus/64347 title AIX 5.3 TL 10 : cmsd (IZ62123) NASL family AIX Local Security Checks NASL id AIX_IZ62571.NASL description There is a buffer overflow vulnerability in the calendar daemon library libcsa.a. A remote attacker can exploit this vulnerability when the rpc.cmsd calendar daemon is enabled in /etc/inetd.conf. The successful exploitation of this vulnerability allows a remote attacker to execute arbitrary code as the root user. The following libraries and executables are vulnerable : /usr/dt/bin/rpc.cmsd /usr/dt/lib/libcsa.a. last seen 2020-06-01 modified 2020-06-02 plugin id 64351 published 2013-01-30 reporter This script is Copyright (C) 2013-2019 Tenable Network Security, Inc. source https://www.tenable.com/plugins/nessus/64351 title AIX 6.1 TL 2 : cmsd (IZ62571) NASL family AIX Local Security Checks NASL id AIX_IZ61717.NASL description There is a buffer overflow vulnerability in the calendar daemon library libcsa.a. A remote attacker can exploit this vulnerability when the rpc.cmsd calendar daemon is enabled in /etc/inetd.conf. The successful exploitation of this vulnerability allows a remote attacker to execute arbitrary code as the root user. The following libraries and executables are vulnerable : /usr/dt/bin/rpc.cmsd /usr/dt/lib/libcsa.a. last seen 2020-06-01 modified 2020-06-02 plugin id 64346 published 2013-01-30 reporter This script is Copyright (C) 2013-2019 Tenable Network Security, Inc. source https://www.tenable.com/plugins/nessus/64346 title AIX 5.3 TL 9 : cmsd (IZ61717) NASL family AIX Local Security Checks NASL id AIX_IZ62237.NASL description There is a buffer overflow vulnerability in the calendar daemon library libcsa.a. A remote attacker can exploit this vulnerability when the rpc.cmsd calendar daemon is enabled in /etc/inetd.conf. The successful exploitation of this vulnerability allows a remote attacker to execute arbitrary code as the root user. The following libraries and executables are vulnerable : /usr/dt/bin/rpc.cmsd /usr/dt/lib/libcsa.a. last seen 2020-06-01 modified 2020-06-02 plugin id 64348 published 2013-01-30 reporter This script is Copyright (C) 2013-2019 Tenable Network Security, Inc. source https://www.tenable.com/plugins/nessus/64348 title AIX 5.3 TL 8 : cmsd (IZ62237) NASL family AIX Local Security Checks NASL id AIX_IZ62572.NASL description There is a buffer overflow vulnerability in the calendar daemon library libcsa.a. A remote attacker can exploit this vulnerability when the rpc.cmsd calendar daemon is enabled in /etc/inetd.conf. The successful exploitation of this vulnerability allows a remote attacker to execute arbitrary code as the root user. The following libraries and executables are vulnerable : /usr/dt/bin/rpc.cmsd /usr/dt/lib/libcsa.a. last seen 2020-06-01 modified 2020-06-02 plugin id 64352 published 2013-01-30 reporter This script is Copyright (C) 2013-2019 Tenable Network Security, Inc. source https://www.tenable.com/plugins/nessus/64352 title AIX 6.1 TL 3 : cmsd (IZ62572) NASL family AIX Local Security Checks NASL id AIX_IZ61628.NASL description There is a buffer overflow vulnerability in the calendar daemon library libcsa.a. A remote attacker can exploit this vulnerability when the rpc.cmsd calendar daemon is enabled in /etc/inetd.conf. The successful exploitation of this vulnerability allows a remote attacker to execute arbitrary code as the root user. The following libraries and executables are vulnerable : /usr/dt/bin/rpc.cmsd /usr/dt/lib/libcsa.a. last seen 2020-06-01 modified 2020-06-02 plugin id 64345 published 2013-01-30 reporter This script is Copyright (C) 2013-2019 Tenable Network Security, Inc. source https://www.tenable.com/plugins/nessus/64345 title AIX 5.3 TL 7 : cmsd (IZ61628) NASL family AIX Local Security Checks NASL id AIX_IZ62570.NASL description There is a buffer overflow vulnerability in the calendar daemon library libcsa.a. A remote attacker can exploit this vulnerability when the rpc.cmsd calendar daemon is enabled in /etc/inetd.conf. The successful exploitation of this vulnerability allows a remote attacker to execute arbitrary code as the root user. The following libraries and executables are vulnerable : /usr/dt/bin/rpc.cmsd /usr/dt/lib/libcsa.a. last seen 2020-06-01 modified 2020-06-02 plugin id 64350 published 2013-01-30 reporter This script is Copyright (C) 2013-2019 Tenable Network Security, Inc. source https://www.tenable.com/plugins/nessus/64350 title AIX 6.1 TL 1 : cmsd (IZ62570)
Packetstorm
data source | https://packetstormsecurity.com/files/download/86126/rpc_cmsd_opcode21.rb.txt |
id | PACKETSTORM:86126 |
last seen | 2016-12-05 |
published | 2010-02-10 |
reporter | Rodrigo Rubira Branco |
source | https://packetstormsecurity.com/files/86126/AIX-Calendar-Manager-Service-Daemon-rpc.cmsd-Opcode-21-Buffer-Overflow.html |
title | AIX Calendar Manager Service Daemon (rpc.cmsd) Opcode 21 Buffer Overflow |
References
- http://aix.software.ibm.com/aix/efixes/security/cmsd_advisory.asc
- http://aix.software.ibm.com/aix/efixes/security/cmsd_advisory.asc
- http://labs.idefense.com/intelligence/vulnerabilities/display.php?id=825
- http://labs.idefense.com/intelligence/vulnerabilities/display.php?id=825
- http://secunia.com/advisories/36978
- http://secunia.com/advisories/36978
- http://securitytracker.com/id?1022996
- http://securitytracker.com/id?1022996
- http://www.ibm.com/support/docview.wss?uid=isg1IZ61628
- http://www.ibm.com/support/docview.wss?uid=isg1IZ61628
- http://www.ibm.com/support/docview.wss?uid=isg1IZ61717
- http://www.ibm.com/support/docview.wss?uid=isg1IZ61717
- http://www.ibm.com/support/docview.wss?uid=isg1IZ62123
- http://www.ibm.com/support/docview.wss?uid=isg1IZ62123
- http://www.ibm.com/support/docview.wss?uid=isg1IZ62237
- http://www.ibm.com/support/docview.wss?uid=isg1IZ62237
- http://www.ibm.com/support/docview.wss?uid=isg1IZ62569
- http://www.ibm.com/support/docview.wss?uid=isg1IZ62569
- http://www.ibm.com/support/docview.wss?uid=isg1IZ62570
- http://www.ibm.com/support/docview.wss?uid=isg1IZ62570
- http://www.ibm.com/support/docview.wss?uid=isg1IZ62571
- http://www.ibm.com/support/docview.wss?uid=isg1IZ62571
- http://www.ibm.com/support/docview.wss?uid=isg1IZ62572
- http://www.ibm.com/support/docview.wss?uid=isg1IZ62572
- http://www.ibm.com/support/docview.wss?uid=isg1IZ62672
- http://www.ibm.com/support/docview.wss?uid=isg1IZ62672
- http://www.osvdb.org/58726
- http://www.osvdb.org/58726
- http://www.securityfocus.com/bid/36615
- http://www.securityfocus.com/bid/36615
- http://www.vupen.com/english/advisories/2009/2846
- http://www.vupen.com/english/advisories/2009/2846
- https://exchange.xforce.ibmcloud.com/vulnerabilities/53681
- https://exchange.xforce.ibmcloud.com/vulnerabilities/53681
- https://www.immunityinc.com/downloads/immpartners/aixcmsd10092009.tar.gz
- https://www.immunityinc.com/downloads/immpartners/aixcmsd10092009.tar.gz