Skip to content
OpenAdvisories
Critical · 9.8 CVE-2023-40743 EUVD-2023-2587GHSA-rmqp-9w4c-gc7w

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

Published Sep 5, 2023 · Updated Feb 13, 2025 · Assigned by apache

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.

Affected products

VendorProductAffectedFixed
Apache Software Foundation Apache Axis ≤ 1.3 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 axis 1.4-29 —
Debian 13 axis 1.4-29 —
Debian 12 axis 1.4-28+deb12u1 —
Debian 10 axis 1.4-28+deb10u1 DLA-3622-1
ReleasePackageFixed inAdvisory
Ubuntu 22.04 LTS axis 1.4-28+deb10u1build0.22.04.1 USN-6470-1
Ubuntu 20.04 LTS axis 1.4-28+deb10u1build0.20.04.1 USN-6470-1
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 18.04 LTS axis 1.4-25ubuntu0.1~esm1 USN-6470-1
Ubuntu Pro 16.04 LTS axis 1.4-24ubuntu0.1~esm1 USN-6470-1

Affected packages

EcosystemPackageAffectedFixedRecord
Maven axis:axis <= 1.4 — GHSA-rmqp-9w4c-gc7w
Maven org.apache.axis:axis <= 1.4 — GHSA-rmqp-9w4c-gc7w

Advisories 3

References