CVE-2023-40743
Apache Axis 1.x (EOL) may allow RCE when untrusted input is passed to getService
Description
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.
Affected Maven artifacts (2)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| axis » axis | <= 1.4 | - |
| org.apache.axis » axis | <= 1.4 | - |
Blast radius
58% of the dependent artifacts (1,876) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 15,981 |
| 2 hops | 116,657 |
| 3 hops | 56,259 |
| 4 hops | 20,421 |
| 5 hops | 11,588 |
| 6 hops | 3,191 |
Most used dependents
- org.springframework » spring1,074 usages
- com.atlassian.confluence » confluence724 usages
- org.geotools » gt-main578 usages
- com.atlassian.jira » jira-core554 usages
- org.geotools » gt-epsg-hsql540 usages
- org.xwiki.platform » xwiki-platform-oldcore449 usages
- org.geotools » gt-referencing371 usages
- org.geotools » gt-shapefile361 usages
- org.geoserver » gs-main299 usages
- com.atlassian.jira » jira-tests298 usages
- org.apache.ws.security » wss4j247 usages
- org.gcube.applicationsupportlayer » aslcore240 usages
- org.apache.activemq » activemq-all234 usages
- com.atlassian.jira » atlassian-jira-pageobjects230 usages
- com.atlassian.jira » jira-func-tests212 usages
Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
References
| Advisory | NVD CVE-2023-40743 | nvd.nist.gov |
| Package | apache/axis-axis1-java | github.com |
| Web | apache/axis-axis1-java commit 7e66753 | github.com |
| Web | thread/gs0qgk2mgss7zfhzdd6ftfjvm4kp7v82 | lists.apache.org |
| Web | debian-lts-announce/2023/10/msg00025.html | lists.debian.org |
