# CVE-2014-8162: XML external entity in n/a

> Remote attackers can read arbitrary files via XML external entity injection in the RPC interface of Spacewalk and RHN Satellite.

- **Severity:** High 7.5 (`AV:N/AC:L/Au:N/C:P/I:P/A:P`)
- **Exploited in the wild:** Not known
- **Login needed:** Not stated
- **Attackable:** Over the internet
- **Victim action needed:** Not needed
- **Fix available:** Yes
- **Published:** 14 May 2015
- **Updated:** 6 Aug 2024
- **Also known as:** GHSA-r4x8-hgr8-2fhj, RHSA-2015:0957, SUSE-SU-2015:0945-1

## What is CVE-2014-8162?

CVE-2014-8162 is a high-severity vulnerability in n/a, published on 14 May 2015. It can be exploited over the network, with no action from the victim.

### Official description

XML external entity (XXE) in the RPC interface in Spacewalk and Red Hat Network (RHN) Satellite 5.7 and earlier allows remote attackers to read arbitrary files and possibly have other unspecified impact via unknown vectors.

## Which versions are affected by CVE-2014-8162?

It affects 2 products.


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `spacewalk-java` | Red Hat:network_satellite:5.7::el6 | All versions | 0:2.3.8-103.el6sat |
| `spacewalk-java-config` | Red Hat:network_satellite:5.7::el6 | All versions | 0:2.3.8-103.el6sat |
| `spacewalk-java-lib` | Red Hat:network_satellite:5.7::el6 | All versions | 0:2.3.8-103.el6sat |
| `spacewalk-java-oracle` | Red Hat:network_satellite:5.7::el6 | All versions | 0:2.3.8-103.el6sat |
| `spacewalk-java-postgresql` | Red Hat:network_satellite:5.7::el6 | All versions | 0:2.3.8-103.el6sat |
| `spacewalk-setup` | Red Hat:network_satellite:5.7::el6 | All versions | 0:2.3.0-17.el6sat |
| `spacewalk-taskomatic` | Red Hat:network_satellite:5.7::el6 | All versions | 0:2.3.8-103.el6sat |

Products: Redhat Network Satellite, Suse Manager.

## How do I fix CVE-2014-8162?

Apply the vendor's patch.

## Is CVE-2014-8162 being exploited?

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

## Other vulnerabilities in n/a

- [CVE-2013-4480](https://insights.sbomify.com/CVE-2013-4480/): Missing authorization in n/a (high 7.5)
- [CVE-2013-2143](https://insights.sbomify.com/CVE-2013-2143/): Missing authorization in n/a (medium 6.5)
- [CVE-2011-1594](https://insights.sbomify.com/CVE-2011-1594/): Spacewalk: spacewalk: open redirect vulnerability enables phishing attacks via url parameter (medium 6.5)
- [CVE-2011-2920](https://insights.sbomify.com/CVE-2011-2920/): Spacewalk: spacewalk: cross-site scripting vulnerability allows arbitrary web script execution. (medium 5.5)
- [CVE-2011-2927](https://insights.sbomify.com/CVE-2011-2927/): Spacewalk: spacewalk and red hat network satellite: cross-site scripting vulnerability via search forms (medium 5.4)

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2014-8162 and fix it if it is affected.

What it is: CVE-2014-8162 is a high-severity vulnerability in n/a, published on 14 May 2015. It can be exploited over the network, with no action from the victim.
Exploitation: There is no known exploitation of CVE-2014-8162 in the wild and no public exploit code.

Affected product: n/a. 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-2014-8162/ (Markdown: https://insights.sbomify.com/CVE-2014-8162/index.md)
```

## Sources

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

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