Cloudanix VulnDB

CVE-2012-5784

None

CVSS

—

EPSS

5.7%

Published

Nov 4, 2012

CISA due date

—

Cloudanix analysis

Monitor only SSVC: Track

A missing check in older software allowed attackers to secretly read or alter data traveling between systems by using a fake security certificate that the software would accept anyway.

Exploit Available
Exploitation
Remote Unauthenticated
Attacker needs
None
Complexity
Moderate
Impact
Data Exposure
Component
Library
Class
Improper Input Validation
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

The component fails to validate that the presented X.509 certificate's Common Name or subjectAltName matches the expected server hostname, permitting an attacker-supplied certificate to be accepted during TLS handshakes.

Why it matters to the business

Organizations using the affected Chainguard MySQL packages risk interception of database traffic and credentials, increasing the chance of data exposure or unauthorized access until packages are updated to the fixed 8.0.38-r0 releases.

How an attack unfolds

An attacker places themselves on the network path between a client using the vulnerable Axis SOAP stack and the intended server, then supplies a valid certificate whose subject does not match the hostname; because no hostname check occurs the client completes the TLS session and sends sensitive data over the attacker-controlled connection.

How to fix it

Upgrade mysql-8.0, mysql-8.0-dev, mysql-8.0-oci-entrypoint, mysql-8.0-oci-entrypoint-compat, and mysql-8.0-client packages to version 8.0.38-r0 or later; disable or replace any remaining Axis 1.4 or earlier SOAP clients; enforce certificate hostname verification at the JVM or application level where possible.

How to confirm the fix worked

Confirm package versions match the fixed releases, run TLS connection tests with a deliberately mismatched hostname certificate and verify rejection, and review application logs for any Axis SSL-related configuration overrides.

Typical attack path

  1. Obtain a publicly trusted certificate for any domain
  2. Position as a network intermediary via ARP spoofing, DNS poisoning, or compromised router
  3. Relay the TLS handshake and present the mismatched certificate
  4. Decrypt and inspect or modify traffic once the client accepts the session

How to detect it

Examine application and TLS handshake logs for unexpected certificate subjects, monitor for connections that bypass hostname verification warnings, and review historical network captures around the time of any known Axis-based SOAP calls.

What your security team should do

  • Immediately schedule upgrades to the 8.0.38-r0 fixed packages across all environments
  • Scan source and dependency trees for any remaining Apache Axis 1.4 or earlier usage
  • Add runtime TLS hostname verification tests to CI/CD pipelines
  • Review network paths for MySQL and SOAP traffic for possible interception points

The record

Apache Axis 1.4 and earlier, as used in PayPal Payments Pro, PayPal Mass Pay, PayPal Transactional Information SOAP, the Java Message Service implementation in Apache ActiveMQ, and other products, does not verify that the server hostname matches a domain name in the subject's Common Name (CN) or subjectAltName field of the X.509 certificate, which allows man-in-the-middle attackers to spoof SSL servers via an arbitrary valid certificate.

Affected packages

Ecosystem Package Introduced Fixed
Maven axis:axis 0 No fix
Maven org.apache.axis:axis 0 No fix
Debian:10 axis 0 1.4-16.1
Debian:11 axis 0 1.4-16.1
Debian:12 axis 0 1.4-16.1
Debian:13 axis 0 1.4-16.1
Debian:14 axis 0 1.4-16.1
Debian:6.0 axis 0 1.4-12+deb6u1
Mageia:2 axis 0 1.4-6.1.mga2
Red Hat:developer_toolset:2.1::el6 devtoolset-2-axis 0 0:1.4-23.el6
Red Hat:enterprise_linux:5::server axis 0 0:1.2.1-2jpp.7.el5_9
Red Hat:enterprise_linux:5::server axis-debuginfo 0 0:1.2.1-2jpp.7.el5_9
Red Hat:enterprise_linux:5::server axis-javadoc 0 0:1.2.1-2jpp.7.el5_9
Red Hat:enterprise_linux:5::server axis-manual 0 0:1.2.1-2jpp.7.el5_9
Red Hat:enterprise_linux:6::client axis 0 0:1.2.1-7.3.el6_3
Red Hat:enterprise_linux:6::client axis-javadoc 0 0:1.2.1-7.3.el6_3
Red Hat:enterprise_linux:6::client axis-manual 0 0:1.2.1-7.3.el6_3
Red Hat:enterprise_linux:6::computenode axis 0 0:1.2.1-7.3.el6_3
Red Hat:enterprise_linux:6::computenode axis-javadoc 0 0:1.2.1-7.3.el6_3
Red Hat:enterprise_linux:6::computenode axis-manual 0 0:1.2.1-7.3.el6_3
Red Hat:enterprise_linux:6::server axis 0 0:1.2.1-7.3.el6_3
Red Hat:enterprise_linux:6::server axis-javadoc 0 0:1.2.1-7.3.el6_3
Red Hat:enterprise_linux:6::server axis-manual 0 0:1.2.1-7.3.el6_3
Red Hat:enterprise_linux:6::workstation axis 0 0:1.2.1-7.3.el6_3
Red Hat:enterprise_linux:6::workstation axis-javadoc 0 0:1.2.1-7.3.el6_3
Red Hat:enterprise_linux:6::workstation axis-manual 0 0:1.2.1-7.3.el6_3
Red Hat:rhev_manager:3 jasperreports-server-pro 0 0:5.5.0-4.el6ev
SUSE:Linux Enterprise Module for Basesystem 15 axis 0 1.4-5.8.1
SUSE:Linux Enterprise Module for Basesystem 15 SP1 axis 0 1.4-5.8.1
SUSE:Linux Enterprise Server 12 SP3 axis 0 1.4-290.6.1
SUSE:Linux Enterprise Server 12 SP4 axis 0 1.4-290.6.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP3 axis 0 1.4-290.6.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP4 axis 0 1.4-290.6.1
openSUSE:Leap 15.0 axis 0 1.4-lp150.9.1

Related vulnerabilities