CVEfocus › CVE database › CVE-2023-40743

CVE-2023-40743Apache Axis 1.x (EOL) may allow RCE when untrusted input is passed to getService

CVSS 9.8 CriticalEPSS 3.0% (higher than 88% of CVEs)Published 2023-09-05Updated 2025-02-13Assigner: apache

** 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.

CWE-20CWE-75

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

5Fixed
5Fix pending

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.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 22.04axisFixed1.4-28+deb10u1build0.22.04.1UBUNTU-CVE-2023-40743
Ubuntu 20.04axisFixed1.4-28+deb10u1build0.20.04.1UBUNTU-CVE-2023-40743
Ubuntu 18.04axisFix pending1.4-25ubuntu0.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2023-40743
Ubuntu 16.04axisFix pending1.4-24ubuntu0.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2023-40743
Ubuntu 14.04axisFix pending
Debian 14axisFixed1.4-29DEBIAN-CVE-2023-40743
Debian 13axisFixed1.4-29DEBIAN-CVE-2023-40743
Debian 12axisFixed1.4-28+deb12u1DEBIAN-CVE-2023-40743
Maven libraryaxis:axisFix pendingGHSA-rmqp-9w4c-gc7w
Maven libraryorg.apache.axis:axisFix pendingGHSA-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.

Vendor advisories:

References

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.