# CVE-2012-5616: Information disclosure in n/a

> Local attackers can read sensitive SSH keys and passwords from log files in Apache CloudStack and Citrix CloudPlatform.

- **Severity:** Low 1.5 (`AV:L/AC:M/Au:S/C:P/I:N/A:N`)
- **Exploited in the wild:** Not known
- **Login needed:** Not needed
- **Attackable:** Local or same network only
- **Victim action needed:** Not needed
- **Fix available:** No
- **Published:** 22 Jan 2013
- **Updated:** 6 Aug 2024
- **Also known as:** GHSA-3pqh-mpvw-5fr2

## What is CVE-2012-5616?

CVE-2012-5616 is a low-severity vulnerability in Apache Cloudstack, published on 22 Jan 2013. It can only be exploited from the same machine or local network, with no action from the victim.

### Official description

Apache CloudStack 4.0.0-incubating and Citrix CloudPlatform (formerly Citrix CloudStack) before 3.0.6 stores sensitive information in the log4j.conf log file, which allows local users to obtain (1) the SSH private key as recorded by the createSSHKeyPair API, (2) the password of an added host as recorded by the AddHost API, or the password of an added VM as recorded by the (3) DeployVM or (4) ResetPasswordForVM API.

Weakness: CWE-255

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

1 open source package ship an affected version, including org.apache.cloudstack:cloudstack. It affects 2 products.


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `org.apache.cloudstack:cloudstack` | Maven | All versions | None |

Products: Apache Cloudstack, Citrix Cloudplatform.

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

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

## Is CVE-2012-5616 being exploited?

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

## Other vulnerabilities in Apache Cloudstack

- [CVE-2012-4501](https://insights.sbomify.com/CVE-2012-4501/): Missing authorization in n/a (critical 10.0)
- [CVE-2024-38346](https://insights.sbomify.com/CVE-2024-38346/): Apache CloudStack: Unauthenticated cluster service port leads to remote execution (critical 9.8)
- [CVE-2024-39864](https://insights.sbomify.com/CVE-2024-39864/): Apache CloudStack: Integration API service uses dynamic port when disabled (critical 9.8)
- [CVE-2024-29006](https://insights.sbomify.com/CVE-2024-29006/): Apache CloudStack: x-forwarded-for HTTP header parsed by default (critical 9.8)
- [CVE-2022-35741](https://insights.sbomify.com/CVE-2022-35741/): Apache CloudStack SAML Single Sign-On XXE (critical 9.8)

## Fix prompt for AI coding agents

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

What it is: CVE-2012-5616 is a low-severity vulnerability in Apache Cloudstack, published on 22 Jan 2013. It can only be exploited from the same machine or local network, with no action from the victim.
Exploitation: There is no known exploitation of CVE-2012-5616 in the wild and no public exploit code.

Affected packages and fixed versions:
- org.apache.cloudstack:cloudstack (Maven): affected all versions; no fix listed

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-5616/ (Markdown: https://insights.sbomify.com/CVE-2012-5616/index.md)
```

## Sources

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

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