Bug 1824460 (CVE-2016-1000107)

Summary: CVE-2016-1000107 erlang: allow remote attackers to redirect an application's outbound HTTP traffic to an arbitrary proxy serve
Product: [Other] Security Response Reporter: Dhananjay Arunesh <darunesh>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: akarol, apevec, cmeyers, dbecker, dmetzger, gblomqui, gmainwar, gmccullo, gtanzill, jeckersb, jfrey, jhardy, jjoyce, jschluet, kbasil, lemenkov, lhh, lpeer, mabashia, mburns, notting, obarenbo, plemenko, rhbugs, rjones, roliveri, rpetrell, sclewis, simaishi, slinaber, smallamp, smcdonal, s
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in the Inets application in Erlang version 22.1 and possibly earlier, where it follows RFC 3875 section 4.1.18 and does not protect applications from the presence of untrusted client data in the HTTP_PROXY environment variable. This flaw allows remote attackers to redirect an application's outbound HTTP traffic to an arbitrary proxy server via a crafted Proxy header in an HTTP request.
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-04-18 04:31:50 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1824463, 1824461    
Bug Blocks: 1824464    

Description Dhananjay Arunesh 2020-04-16 09:32:46 UTC
A vulnerability was found in inets in Erlang possibly 22.1 and earlier 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.

Reference:
http://www.openwall.com/lists/oss-security/2016/07/18/6
https://httpoxy.org/
https://bugs.erlang.org/browse/ERL-198

Comment 1 Dhananjay Arunesh 2020-04-16 09:33:33 UTC
Created erlang tracking bugs for this issue:

Affects: fedora-all [bug 1824461]

Comment 2 Dhananjay Arunesh 2020-04-16 09:34:39 UTC
Created erlang tracking bugs for this issue:

Affects: epel-8 [bug 1824463]

Comment 5 Product Security DevOps Team 2020-04-18 04:31:50 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2016-1000107

Comment 6 Nick Tait 2020-04-20 17:27:01 UTC
Statement:

Red Hat CloudFroms 5.10 ship affected Erlang package, however, CloudFroms uses it as a dependency for Ansible Tower and do not expose it anywhere in product. Furthermore, Ansible Tower does not pass environment variables to RabbitMQ or Erlang which makes it not affected.

Red Hat OpenStack Platform ships the affected Erlang package, however it is only used as a dependency for RabbitMQ and is not exposed outside the management network. As this network is tightly-regulated to OpenStack administrators, the risk for abuse is significantly reduced.