Cloudanix VulnDB

CVE-2011-1498

None

CVSS

—

EPSS

6.7%

Published

Jul 7, 2011

CISA due date

—

Cloudanix analysis

Monitor only SSVC: Track

An outdated web request library could leak secret login details meant only for a company's proxy server, sending them instead to any website the application contacts.

Exploitation
Remote Unauthenticated
Attacker needs
None
Complexity
Moderate
Impact
Data Exposure
Component
Library
Class
Information Disclosure
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

The vulnerable HttpClient includes the Proxy-Authorization header containing proxy credentials in requests forwarded to the origin server instead of restricting it to the proxy.

Why it matters to the business

Organizations risk disclosure of proxy server credentials to external web servers, which could enable attackers to reuse those credentials against internal proxy infrastructure or pivot further into the network.

How an attack unfolds

An attacker hosts a web server configured to log all incoming request headers. A victim application using the vulnerable client makes an outbound request through an authenticating proxy to the attacker's server; the proxy credentials are sent in the Proxy-Authorization header and captured in the attacker's logs.

How to fix it

Upgrade Apache HttpClient to version 4.1.1 or later and verify that all transitive dependencies have been updated.

How to confirm the fix worked

Inspect application dependency manifests and runtime classpaths to confirm HttpClient 4.1.1 or newer is present; perform functional tests with an authenticating proxy and inspect captured traffic to ensure the header is absent from origin requests.

Typical attack path

  1. Host a malicious origin server that records HTTP request headers
  2. Cause a target application to issue a request through an authenticating proxy to the malicious server
  3. Extract and reuse captured proxy credentials from server logs

How to detect it

Search web server access and error logs for the presence of Proxy-Authorization headers on requests originating from internal clients; review application dependency reports and process listings for older HttpClient versions.

  • Proxy-Authorization: Basic
  • Proxy-Authorization header present in origin server request logs
  • org.apache.httpcomponents:httpclient:4.1

What your security team should do

  • Immediately upgrade all Apache HttpClient instances to 4.1.1 or newer
  • Review and rotate any proxy credentials that may have been exposed
  • Add dependency scanning to CI pipelines to prevent reintroduction of vulnerable versions

The record

Apache HttpClient 4.x before 4.1.1 in Apache HttpComponents, when used with an authenticating proxy server, sends the Proxy-Authorization header to the origin server, which allows remote web servers to obtain sensitive information by logging this header.

Affected packages

Ecosystem Package Introduced Fixed
Maven org.apache.httpcomponents:httpclient 4.0.0 4.1.1
Debian:11 httpcomponents-client 0 4.1.1-1
Debian:12 httpcomponents-client 0 4.1.1-1
Debian:13 httpcomponents-client 0 4.1.1-1
maven org.apache.httpcomponents/httpclient 4.0.0 4.1.1

Related vulnerabilities