NVD Vulnerability Detail
Search Exploit, PoC
CVE-2016-5387
Summary

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.

Publication Date July 19, 2016, 11 a.m.
Registration Date Jan. 26, 2021, 2:13 p.m.
Last Update Nov. 21, 2024, 11:54 a.m.
CVSS3.1 : HIGH
スコア 8.1
Vector CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
攻撃元区分(AV) ネットワーク
攻撃条件の複雑さ(AC)
攻撃に必要な特権レベル(PR) 不要
利用者の関与(UI) 不要
影響の想定範囲(S) 変更なし
機密性への影響(C)
完全性への影響(I)
可用性への影響(A)
CVSS2.0 : MEDIUM
Score 6.8
Vector AV:N/AC:M/Au:N/C:P/I:P/A:P
攻撃元区分(AV) ネットワーク
攻撃条件の複雑さ(AC)
攻撃前の認証要否(Au) 不要
機密性への影響(C)
完全性への影響(I)
可用性への影響(A)
Get all privileges. いいえ
Get user privileges いいえ
Get other privileges いいえ
User operation required いいえ
Affected software configurations
Configuration1 or higher or less more than less than
cpe:2.3:a:apache:http_server:*:*:*:*:*:*:*:* 2.4.1 2.4.23
cpe:2.3:a:apache:http_server:*:*:*:*:*:*:*:* 2.2.0 2.2.31
Configuration2 or higher or less more than less than
cpe:2.3:a:hp:system_management_homepage:*:*:*:*:*:*:*:* 7.5.5.0
Configuration3 or higher or less more than less than
cpe:2.3:a:oracle:enterprise_manager_ops_center:12.2.2:*:*:*:*:*:*:*
cpe:2.3:o:oracle:solaris:11.3:*:*:*:*:*:*:*
cpe:2.3:a:oracle:enterprise_manager_ops_center:12.3.2:*:*:*:*:*:*:*
cpe:2.3:o:oracle:linux:5:-:*:*:*:*:*:*
cpe:2.3:o:oracle:linux:6:-:*:*:*:*:*:*
cpe:2.3:o:oracle:linux:7:-:*:*:*:*:*:*
cpe:2.3:a:oracle:communications_user_data_repository:*:*:*:*:*:*:*:* 10.0.0 12.4
Configuration4 or higher or less more than less than
cpe:2.3:o:fedoraproject:fedora:24:*:*:*:*:*:*:*
cpe:2.3:o:fedoraproject:fedora:23:*:*:*:*:*:*:*
Configuration5 or higher or less more than less than
cpe:2.3:a:redhat:jboss_web_server:2.1.0:*:*:*:*:*:*:*
execution environment
1 cpe:2.3:o:redhat:enterprise_linux:6.0:*:*:*:*:*:*:*
2 cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:*
Configuration6 or higher or less more than less than
cpe:2.3:a:redhat:jboss_enterprise_web_server:2.0.0:*:*:*:*:*:*:*
cpe:2.3:a:redhat:jboss_enterprise_web_server:3.0.0:*:*:*:*:*:*:*
execution environment
1 cpe:2.3:o:redhat:enterprise_linux:6.0:*:*:*:*:*:*:*
Configuration7 or higher or less more than less than
cpe:2.3:a:redhat:jboss_enterprise_web_server:2.0.0:*:*:*:*:*:*:*
cpe:2.3:a:redhat:jboss_enterprise_web_server:3.0.0:*:*:*:*:*:*:*
execution environment
1 cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:*
Configuration8 or higher or less more than less than
cpe:2.3:a:redhat:jboss_core_services:1.0:*:*:*:*:*:*:*
execution environment
1 cpe:2.3:o:redhat:enterprise_linux:6.0:*:*:*:*:*:*:*
2 cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:*
Configuration9 or higher or less more than less than
cpe:2.3:o:redhat:enterprise_linux_desktop:7.0:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux_server_aus:7.2:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux_workstation:7.0:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux_server_tus:7.2:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux_server:7.0:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux_desktop:6.0:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux_server:6.0:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux_workstation:6.0:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux_server_tus:7.3:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux_server_aus:7.3:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux_server_aus:7.4:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux_eus:7.3:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux_eus:7.4:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux_eus:7.5:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux_server_tus:7.6:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux_server_aus:7.6:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux_eus:7.6:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux_eus:7.2:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux_server_aus:7.7:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux_server_tus:7.7:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux_eus:7.7:*:*:*:*:*:*:*
Configuration10 or higher or less more than less than
cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*
Configuration11 or higher or less more than less than
cpe:2.3:o:canonical:ubuntu_linux:15.10:*:*:*:*:*:*:*
cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:esm:*:*:*
cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:esm:*:*:*
cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:-:*:*:*
Configuration12 or higher or less more than less than
cpe:2.3:o:opensuse:leap:42.1:*:*:*:*:*:*:*
cpe:2.3:o:opensuse:opensuse:13.2:*:*:*:*:*:*:*
Related information, measures and tools
Common Vulnerabilities List

JVN Vulnerability Information
Apache HTTP Server における任意のプロキシサーバにアプリケーションのアウトバウンド HTTP トラフィックをリダイレクトされる脆弱性
Title Apache HTTP Server における任意のプロキシサーバにアプリケーションのアウトバウンド HTTP トラフィックをリダイレクトされる脆弱性
Summary

Apache HTTP Server は、RFC 3875 セクション 4.1.18 に準拠する結果、HTTP_PROXY 環境変数の信頼できないクライアントデータの存在からアプリケーションを保護しないため、任意のプロキシサーバにアプリケーションのアウトバウンド HTTP トラフィックをリダイレクトされる脆弱性が存在します。 本脆弱性は、"httpoxy" の問題と呼ばれています。 なお、National Vulnerability Database (NVD) では、CWE-284、JVNVU#91485132 では、CWE-807 および CWE-454 として公開されています。 CWE-284: Improper Access Control http://cwe.mitre.org/data/definitions/284.html CWE-807: Reliance on Untrusted Inputs in a Security Decision http://cwe.mitre.org/data/definitions/807.html CWE-454: External Initialization of Trusted Variables or Data Stores http://cwe.mitre.org/data/definitions/454.html

Possible impacts 第三者により、HTTP リクエストの巧妙に細工された Proxy ヘッダを介して、任意のプロキシサーバにアプリケーションのアウトバウンド HTTP トラフィックをリダイレクトされる可能性があります。
Solution

ベンダより正式な対策が公開されています。ベンダ情報を参照して適切な対策を実施してください。

Publication Date July 18, 2016, midnight
Registration Date July 25, 2016, 2:23 p.m.
Last Update Feb. 20, 2017, 5:39 p.m.
Affected System
Apache Software Foundation
Apache HTTP Server 2.4.23 まで
日本電気
iStorage HSシリーズ V4.0 から V5.2
iStorage Tシリーズ T100A
iStorage Tシリーズ T700A
MailShooter 全バージョン
SimpWright V6
SimpWright V7
SpoolServerシリーズ ReportFiling Ver5.2 から 6.2
WebOTX Application Server Enterprise V9.3 から V9.4
WebOTX Application Server Express V9.3 から V9.4
WebOTX Application Server Standard V9.3 から V9.4
WebOTX Enterprise Edition V4.1 から V6.5
WebOTX Standard Edition V4.1 から V6.5
WebOTX Standard-J Edition V4.1 から V6.5
WebOTX Web Edition V4.1 から V6.5
WebOTX 開発環境 V6.1 から V6.5
WebOTX Application Server Enterprise V8.2 から V9.4
WebOTX Application Server Express V8.2 から V9.4
WebOTX Application Server Foundation V8.2 から V8.5
WebOTX Application Server Standard V8.2 から V9.4
WebOTX Application Server Standard-J Edition V7.1 から V8.1
WebOTX Application Server Web Edition V7.1 から V8.1
WebOTX Developer (with Developer's Studio) V8.2 から V9.4
WebOTX Developer V7.1 から V8.1
WebOTX Enterprise Service Bus V6.4 から V9.3
WebOTX Portal V8.2 から V9.3
WebOTX SIP Application Server Standard Edition V7.1 から V8.1
富士通
Interstage Application Framework Suite 
Interstage Application Server 
Interstage Apworks 
Interstage Business Application Server 
Interstage Job Workload Server 
Interstage Studio 
Interstage Web Server 
Interstage Web Server Express 
Systemwalker Resource Coordinator 
日立
Cosminexus Application Server Enterprise Version 6
Cosminexus Application Server Standard Version 6
Cosminexus Application Server Version 5 
Cosminexus Developer Light Version 6 
Cosminexus Developer Professional Version 6 
Cosminexus Developer Standard Version 6 
Cosminexus Developer Version 5 
Cosminexus HTTP Server 
Cosminexus Primary Server Base Version 6
Cosminexus Primary Server Version 6
Hitachi Application Server 
Hitachi Application Server for Developers 
Hitachi Web Server 
Hitachi Web Server - Custom Edition
Hitachi Web Server - Security Enhancement
uCosminexus Application Server 
uCosminexus Application Server (64)
uCosminexus Application Server -R
uCosminexus Application Server Express
uCosminexus Application Server Enterprise 
uCosminexus Application Server Smart Edition 
uCosminexus Application Server Standard 
uCosminexus Application Server Standard -R
uCosminexus Developer 
uCosminexus Developer 01
uCosminexus Developer Professional
uCosminexus Developer Professional for Plug-in
uCosminexus Developer Light 
uCosminexus Developer Standard 
uCosminexus Primary Server Base
uCosminexus Primary Server Base(64)
uCosminexus Service Architect 
uCosminexus Service Platform 
uCosminexus Service Platform (64)
uCosminexus Service Platform - Messaging
Fedora Project
Fedora 23
Fedora 24
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
その他
Change Log
No Changed Details Date of change
0 [2016年07月25日]
  掲載
[2016年08月22日]
  影響を受けるシステム:ベンダ情報の追加に伴い内容を更新
  ベンダ情報:日立 (HS16-020) を追加
  ベンダ情報:Fedora Project (FEDORA-2016-9fd9bfab9e) を追加
  ベンダ情報:Fedora Project (FEDORA-2016-df0726ae26) を追加
[2016年09月07日]
  影響を受けるシステム:ベンダ情報の追加に伴い内容を更新
  ベンダ情報:富士通 (Interstage HTTP Server/ Interstage HTTP Server 2.2: CGI利用時にProxyヘッダの値を環境変数HTTP_PROXYに設定する脆弱性(CVE-2016-5387)) を追加
[2016年11月09日]
  影響を受けるシステム:ベンダ情報の追加に伴い内容を更新
  ベンダ情報:日本電気 (NV16-020) を追加
[2017年02月20日]
  影響を受けるシステム:ベンダ情報の追加に伴い内容を更新
  ベンダ情報:日本電気 (NV17-004) を追加
  参考情報:JVN (JVNVU#99304449) を追加
Feb. 17, 2018, 10:37 a.m.
1 [2023年06月29日]
  影響を受けるシステム:ベンダ情報 日本電気 (NV17-004) の更新に伴い内容を更新
June 29, 2023, 9:55 a.m.