# CVE-2012-4661: Memory corruption in n/a

> Remote attackers can execute arbitrary code on Cisco ASA firewalls via a crafted DCERPC packet due to a stack-based buffer overflow.

- **Severity:** Critical 9.0 (`AV:N/AC:M/Au:N/C:C/I:P/A:C`)
- **Exploited in the wild:** Not known
- **Login needed:** Not needed
- **Attackable:** Over the internet
- **Victim action needed:** Not needed
- **Fix available:** No
- **Published:** 29 Oct 2012
- **Updated:** 6 Aug 2024
- **Also known as:** GHSA-949w-qxfg-2pvp

## What is CVE-2012-4661?

CVE-2012-4661 is a critical memory corruption vulnerability in Cisco 5500 Series Adaptive Security Appliance, published on 29 Oct 2012. An attacker can exploit it over the internet without logging in, with no action from the victim.

### Official description

Stack-based buffer overflow in the DCERPC inspection engine on Cisco Adaptive Security Appliances (ASA) 5500 series devices, and the ASA Services Module (ASASM) in Cisco Catalyst 6500 series devices, with software 8.3 before 8.3(2.34), 8.4 before 8.4(4.4), 8.5 before 8.5(1.13), and 8.6 before 8.6(1.3) and the Firewall Services Module (FWSM) 4.1 before 4.1(9) in Cisco Catalyst 6500 series switches and 7600 series routers might allow remote attackers to execute arbitrary code via a crafted DCERPC packet, aka Bug IDs CSCtr21359 and CSCtr27522.

Weakness: CWE-119 (Improper Restriction of Operations within the Bounds of a Memory Buffer)

## Which versions are affected by CVE-2012-4661?

It affects 12 products.


Products: Cisco 5500 Series Adaptive Security Appliance, Cisco 7600 Router, Cisco Adaptive Security Appliance Software, Cisco Catalyst 6500, Cisco Catalyst 6503-E, Cisco Catalyst 6504-E, Cisco Catalyst 6506-E, Cisco Catalyst 6509-E, Cisco Catalyst 6509-Neb-A, Cisco Catalyst 6509-v-E, Cisco Catalyst 6513, Cisco Catalyst 6513-E.

## How do I fix CVE-2012-4661?

No fix has been published for CVE-2012-4661 yet. Limit exposure of the affected software until one is available.

## Is CVE-2012-4661 being exploited?

There is no known exploitation of CVE-2012-4661 in the wild and no public exploit code.

## Other vulnerabilities in Cisco 5500 Series Adaptive Security Appliance

- [CVE-2012-0358](https://insights.sbomify.com/CVE-2012-0358/): Memory corruption in n/a (critical 9.3)
- [CVE-2010-4675](https://insights.sbomify.com/CVE-2010-4675/): Auth bypass in n/a (critical 9.0)
- [CVE-2010-4680](https://insights.sbomify.com/CVE-2010-4680/): Security feature bypass in n/a (critical 9.0)
- [CVE-2011-3298](https://insights.sbomify.com/CVE-2011-3298/): Auth bypass in n/a (high 7.9)
- [CVE-2011-0379](https://insights.sbomify.com/CVE-2011-0379/): Memory corruption in n/a (high 7.9)

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2012-4661 and fix it if it is affected.

What it is: CVE-2012-4661 is a critical memory corruption vulnerability in Cisco 5500 Series Adaptive Security Appliance, published on 29 Oct 2012. An attacker can exploit it over the internet without logging in, with no action from the victim.
Exploitation: There is no known exploitation of CVE-2012-4661 in the wild and no public exploit code.

Affected product: Cisco 5500 Series Adaptive Security Appliance. No package-level version data is available, so check the vendor advisory linked from the reference page.

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2012-4661/ (Markdown: https://insights.sbomify.com/CVE-2012-4661/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2012-4661
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2012-4661
- OSV: https://osv.dev/vulnerability/CVE-2012-4661

---
From sbomify Insights: https://insights.sbomify.com/CVE-2012-4661/
Summaries are generated and may contain mistakes; the official description above is the record.
