Cloudanix VulnDB

CVE-2013-4366

Critical · 9.8

CVSS

9.8

EPSS

3.3%

Published

Oct 30, 2017

CISA due date

—

Cloudanix analysis

Schedule a fix SSVC: Track

A bug in code that checks website identities during secure connections could let attackers secretly read or alter data sent between systems.

Exploitation
Remote Unauthenticated
Attacker needs
None
Complexity
Low
Impact
Full Compromise
Component
Library
Class
Improper Input Validation
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

The flaw allows a null X509HostnameVerifier to be used during TLS hostname verification, enabling acceptance of certificates that do not match the requested host.

Why it matters to the business

Attackers can intercept encrypted traffic to affected systems, risking data exposure or unauthorized access across any products relying on the vulnerable client code.

How an attack unfolds

An attacker performs a man-in-the-middle position on the network and supplies a certificate for an incorrect hostname; because the verifier object is null, the client skips validation and establishes the connection.

How to fix it

Upgrade to a fixed version: ffmpeg (Debian:11/12/13) 7:4.0.2-1 or ffmpeg GIT commit 2aa9047486dbff12d9e040f917e5f799ed2fd78b; rebuild any dependent applications against the corrected library.

How to confirm the fix worked

Confirm package versions match the fixed releases listed above and review code paths that construct HttpClientBuilder to ensure a non-null verifier is always supplied.

Typical attack path

  1. Position as network man-in-the-middle
  2. Respond to client TLS handshake with mismatched certificate
  3. Trigger HTTPS request from vulnerable client library
  4. Bypass hostname check due to missing verifier
  5. Decrypt or modify traffic undetected

How to detect it

Review application and TLS proxy logs for connections that completed with hostname mismatches; inspect source or dependency trees for the vulnerable HttpClientBuilder usage.

What your security team should do

  • Apply the listed fixed versions within the next maintenance window
  • Scan all build pipelines and containers for the affected ffmpeg packages
  • Add dependency checks to CI to prevent reintroduction of vulnerable versions

The record

http/impl/client/HttpClientBuilder.java in Apache HttpClient 4.3.x before 4.3.1 does not ensure that X509HostnameVerifier is not null, which allows attackers to have unspecified impact via vectors involving hostname verification.

Affected packages

Ecosystem Package Introduced Fixed
Maven org.apache.httpcomponents:httpclient 4.3 4.3.1
Debian:11 httpcomponents-client 0 4.3.2-1
Debian:12 httpcomponents-client 0 4.3.2-1
Debian:13 httpcomponents-client 0 4.3.2-1
Debian:14 httpcomponents-client 0 4.3.2-1
Ubuntu:14.04:LTS httpcomponents-client 0 4.3.3-1
Ubuntu:16.04:LTS httpcomponents-client 0 4.5.1-1
maven org.apache.httpcomponents/httpclient 4.3 4.3.1

Related vulnerabilities