CVE-2023-40743 Apache Axis 1.x (EOL) may allow RCE when untrusted input is passed to getService
Attackers can trigger SSRF, DoS, or RCE by passing untrusted input to the getService method in the unsupported Apache Axis 1.x library.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2023-40743?
CVE-2023-40743 is a critical server-side request forgery vulnerability in Apache Axis, published on 5 Sep 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
** UNSUPPORTED WHEN ASSIGNED ** When integrating Apache Axis 1.x in an application, it may not have been obvious that looking up a service through "ServiceFactory.getService" allows potentially dangerous lookup mechanisms such as LDAP. When passing untrusted input to this API method, this could expose the application to DoS, SSRF and even attacks leading to RCE.
As Axis 1 has been EOL we recommend you migrate to a different SOAP engine, such as Apache Axis 2/Java. As a workaround, you may review your code to verify no untrusted or unsanitized input is passed to "ServiceFactory.getService", or by applying the patch from https://github.com/apache/axis-axis1-java/commit/7e66753427466590d6def0125e448d2791723210 . The Apache Axis project does not expect to create an Axis 1.x release fixing this problem, though contributors that would like to work towards this are welcome.
Which versions are affected by CVE-2023-40743?
4 open source packages ship an affected version, including org.apache.axis:axis and axis:axis. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
org.apache.axis:axis Maven | All versions to 1.4 | None |
org.apache.axis:axis Maven | All versions to 1.4 | None |
axis:axis Maven | All versions to 1.4 | None |
axis:axis Maven | All versions to 1.4 | None |
Products include Apache Axis.
How do I fix CVE-2023-40743?
Product is end of life, replace it.
Upgrade, and send outbound requests through an allow-list that blocks internal addresses. More about Server-side request forgery.
Is CVE-2023-40743 being exploited?
There is no known exploitation of CVE-2023-40743 in the wild and no public exploit code.
Other vulnerabilities in Apache Axis
- CVE-2019-0227 Server Side Request Forgery in Apache Axis
- CVE-2023-51441 Apache Axis 1.x (EOL) may allow SSRF when untrusted input is passed to the service admin HTTP API
- CVE-2018-8032 Moderate severity vulnerability that affects apache axis
- CVE-2014-3596 Improper Validation of Certificates in apache axis
- CVE-2007-2353 Apache Axis allows Exposure of Sensitive Information to an Unauthorized Actor
Sources
Also known as DEBIAN-CVE-2023-40743, DLA-3622-1, GHSA-rmqp-9w4c-gc7w, UBUNTU-CVE-2023-40743, USN-6470-1.