CVE-2014-3596
NoneCVSS
—
EPSS
9.2%
Published
Aug 27, 2014
CISA due date
—
Cloudanix analysis
Some software components may silently connect to fake servers instead of the real ones, allowing attackers to read or change information sent over the internet.
- Exploitation
- Remote Unauthenticated
- Attacker needs
- None
- Complexity
- Moderate
- Impact
- Data Exposure
- Component
- Library
- Class
- Cryptographic Weakness
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
The getCN function fails to enforce hostname matching against the CN or subjectAltName fields of an X.509 certificate, permitting a certificate with a subject name in a non-CN field to be accepted during SSL handshake.
Why it matters to the business
Organizations relying on affected packages face risk of undetected interception of sensitive data in transit, potential credential theft, and compliance violations from untrusted server connections.
How an attack unfolds
An attacker on the network path supplies a crafted certificate whose subject contains a valid-looking name outside the CN field; the client accepts the certificate due to the incomplete verification logic and proceeds with the TLS session, allowing decryption and modification of traffic.
How to fix it
Upgrade nri-memcached (Chainguard), nri-memcached (Wolfi), nri-memcached-compat (Chainguard), and nri-memcached-compat (Wolfi) to version 2.5.3-r1 or later; replace any embedded Axis 1.4 or earlier libraries with versions containing a complete hostname-verification fix.
How to confirm the fix worked
Confirm package versions match or exceed the listed fixed releases, then perform TLS connection tests using certificates whose subject names reside only in non-CN fields to verify rejection of mismatched hostnames.
Typical attack path
- Position as network man-in-the-middle
- Generate or obtain a certificate with subject name placed outside the CN field
- Intercept outbound TLS connections from the vulnerable client
- Present the spoofed certificate during the handshake
- Decrypt, inspect, or alter application data in transit
How to detect it
Search application and TLS library logs for handshake events involving certificates whose subject fields do not contain the expected hostname in the CN or subjectAltName; correlate with network flow records showing connections to unexpected endpoints.
What your security team should do
- Apply the listed package upgrades across all environments within the next maintenance window
- Audit dependency trees for any remaining Axis 1.4 or earlier instances
- Enable certificate pinning or strict hostname verification in application configuration where feasible
- Review outbound TLS logs for unexpected server certificates over the past 90 days
The record
The getCN function in Apache Axis 1.4 and earlier does not properly 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 a certificate with a subject that specifies a common name in a field that is not the CN field. NOTE: this issue exists because of an incomplete fix for CVE-2012-5784.
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-21 |
| Debian:11 | axis | 0 | 1.4-21 |
| Debian:12 | axis | 0 | 1.4-21 |
| Debian:13 | axis | 0 | 1.4-21 |
| Debian:6.0 | axis | 0 | 1.4-12+deb6u1 |
| Mageia:4 | axis | 0 | 1.4-24.1.mga4 |
| Red Hat:enterprise_linux:5::client | axis | 0 | 0:1.2.1-2jpp.8.el5_10 |
| Red Hat:enterprise_linux:5::client | axis-debuginfo | 0 | 0:1.2.1-2jpp.8.el5_10 |
| Red Hat:enterprise_linux:5::client | axis-javadoc | 0 | 0:1.2.1-2jpp.8.el5_10 |
| Red Hat:enterprise_linux:5::client | axis-manual | 0 | 0:1.2.1-2jpp.8.el5_10 |
| Red Hat:enterprise_linux:5::client_workstation | axis | 0 | 0:1.2.1-2jpp.8.el5_10 |
| Red Hat:enterprise_linux:5::client_workstation | axis-debuginfo | 0 | 0:1.2.1-2jpp.8.el5_10 |
| Red Hat:enterprise_linux:5::client_workstation | axis-javadoc | 0 | 0:1.2.1-2jpp.8.el5_10 |
| Red Hat:enterprise_linux:5::client_workstation | axis-manual | 0 | 0:1.2.1-2jpp.8.el5_10 |
| Red Hat:enterprise_linux:5::server | axis | 0 | 0:1.2.1-2jpp.8.el5_10 |
| Red Hat:enterprise_linux:5::server | axis-debuginfo | 0 | 0:1.2.1-2jpp.8.el5_10 |
| Red Hat:enterprise_linux:5::server | axis-javadoc | 0 | 0:1.2.1-2jpp.8.el5_10 |
| Red Hat:enterprise_linux:5::server | axis-manual | 0 | 0:1.2.1-2jpp.8.el5_10 |
| Red Hat:enterprise_linux:6::client | axis | 0 | 0:1.2.1-7.5.el6_5 |
| Red Hat:enterprise_linux:6::client | axis-javadoc | 0 | 0:1.2.1-7.5.el6_5 |
| Red Hat:enterprise_linux:6::client | axis-manual | 0 | 0:1.2.1-7.5.el6_5 |
| Red Hat:enterprise_linux:6::computenode | axis | 0 | 0:1.2.1-7.5.el6_5 |
| Red Hat:enterprise_linux:6::computenode | axis-javadoc | 0 | 0:1.2.1-7.5.el6_5 |
| Red Hat:enterprise_linux:6::computenode | axis-manual | 0 | 0:1.2.1-7.5.el6_5 |
| Red Hat:enterprise_linux:6::server | axis | 0 | 0:1.2.1-7.5.el6_5 |
| Red Hat:enterprise_linux:6::server | axis-javadoc | 0 | 0:1.2.1-7.5.el6_5 |
| Red Hat:enterprise_linux:6::server | axis-manual | 0 | 0:1.2.1-7.5.el6_5 |
| Red Hat:enterprise_linux:6::workstation | axis | 0 | 0:1.2.1-7.5.el6_5 |
| Red Hat:enterprise_linux:6::workstation | axis-javadoc | 0 | 0:1.2.1-7.5.el6_5 |
| Red Hat:enterprise_linux:6::workstation | axis-manual | 0 | 0:1.2.1-7.5.el6_5 |
| 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 |
| Ubuntu:14.04:LTS | axis | 0 | 1.4-20ubuntu3 |
| openSUSE:Leap 15.0 | axis | 0 | 1.4-lp150.9.1 |