🔍 CVE-2016-5387

8.1
CVSS Score
HIGH
2016-07-19
2026-06-17 00:49
✅ 완료

🇰🇷 한글 설명

Apache HTTP Server 2.4.23 이하 버전에서 HTTP_PROXY 환경 변수의 신뢰할 수 없는 클라이언트 데이터를 보호하지 않아 발생하는 취약점입니다. 공격자는 HTTP 요청의 Proxy 헤더를 조작하여 응용 프로그램의 아웃바운드 HTTP 트래픽을 임의의 프록시 서버로 리다이렉트할 수 있습니다(httpoxy 공격).

💡 쉬운 설명

Apache 웹 서버가 클라이언트로부터 받은 프록시 설정을 검증하지 않아, 공격자가 트래픽을 자신의 프록시 서버로 강제로 보낼 수 있습니다. 이를 통해 민감한 데이터(로그인 정보, API 키 등)를 탈취할 수 있습니다.

🇺🇸 원문 (English)

The Apache HTTP Server through 2.4.23 follows RFC 3875 section 4.1.18 and therefore does not protect applications from the presence of untrusted client data in the HTTP_PROXY environment variable, which might allow remote attackers to redirect an application's outbound HTTP traffic to an arbitrary proxy server via a crafted Proxy header in an HTTP request, aka an "httpoxy" issue. NOTE: the vendor states "This mitigation has been assigned the identifier CVE-2016-5387"; in other words, this is not a CVE ID for a vulnerability.

📍 영향받는 시스템

Apache HTTP Server 2.4.23 이하 버전

⚔️ 공격 벡터

HTTP 요청에 Proxy 헤더를 포함시켜 HTTP_PROXY 환경 변수를 조작하는 방식

🛡️ 대응 방법

Apache HTTP Server를 2.4.24 이상으로 업그레이드하거나, HTTP_PROXY 환경 변수를 필터링하도록 구성

🔧 검증 코드

Apache 버전이 2.4.24 이상이면 안전, 2.4.23 이하이면 취약함

Shell / Script
apachectl -v 2>/dev/null | grep -oP 'Apache/\K[0-9.]+' || httpd -v 2>/dev/null | grep -oP 'Apache/\K[0-9.]+'

📊 CVSS Vector String

CVSS Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

💻 영향받는 소프트웨어

Apache HTTP Server