CVE-2023-40743Apache Axis 1.x (EOL) may allow RCE when untrusted input is passed to getService
** 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.
What to do
Fixed builds are available from Debian, Ubuntu: see the table below for the fixed version per release.
Maven, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 22.04 | axis | Fixed | 1.4-28+deb10u1build0.22.04.1 | UBUNTU-CVE-2023-40743 |
| Ubuntu 20.04 | axis | Fixed | 1.4-28+deb10u1build0.20.04.1 | UBUNTU-CVE-2023-40743 |
| Ubuntu 18.04 | axis | Fix pending | 1.4-25ubuntu0.1~esm1 (Ubuntu Pro) | UBUNTU-CVE-2023-40743 |
| Ubuntu 16.04 | axis | Fix pending | 1.4-24ubuntu0.1~esm1 (Ubuntu Pro) | UBUNTU-CVE-2023-40743 |
| Ubuntu 14.04 | axis | Fix pending | ||
| Debian 14 | axis | Fixed | 1.4-29 | DEBIAN-CVE-2023-40743 |
| Debian 13 | axis | Fixed | 1.4-29 | DEBIAN-CVE-2023-40743 |
| Debian 12 | axis | Fixed | 1.4-28+deb12u1 | DEBIAN-CVE-2023-40743 |
| Maven library | axis:axis | Fix pending | GHSA-rmqp-9w4c-gc7w | |
| Maven library | org.apache.axis:axis | Fix pending | GHSA-rmqp-9w4c-gc7w |
What the vendor says
As published in the CVE record by apache, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Apache Software Foundation Apache Axis: affected: up to 1.3
Vendor advisories:
- https://github.com/apache/axis-axis1-java/commit/7e66753427466590d6def0125e448d2791723210 (patch)
- https://lists.apache.org/thread/gs0qgk2mgss7zfhzdd6ftfjvm4kp7v82 (vendor-advisory)
References
- https://github.com/apache/axis-axis1-java/commit/7e66753427466590d6def0125e448d2791723210
- https://lists.apache.org/thread/gs0qgk2mgss7zfhzdd6ftfjvm4kp7v82
- https://lists.debian.org/debian-lts-announce/2023/10/msg00025.html
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.