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

High 7.5 Published Updated

Unauthenticated attackers can read arbitrary files via XML External Entity injection in the RPCRouterServlet of the unsupported Apache SOAP library.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2022-40705?

CVE-2022-40705 is a high-severity vulnerability in Apache SOAP, published on 22 Sep 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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

Weakness: CWE-611

Which versions are affected by CVE-2022-40705?

2 open source packages ship an affected version, including soap:soap. It affects 1 product.

PackageAffectedFixed in
soap:soap MavenFrom 2.2 to 2.3.1None
soap:soap MavenFrom 2.2 to 2.3.1None

Products include Apache Soap.

How do I fix CVE-2022-40705?

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

Is CVE-2022-40705 being exploited?

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

Sources

Also known as GHSA-jq8c-j47c-vvwm.

Is CVE-2022-40705 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free