8335b1
8335b1
https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2016-5387
8335b1
8335b1
--- httpd-2.4.6/server/util_script.c.cve5387
8335b1
+++ httpd-2.4.6/server/util_script.c
8335b1
@@ -190,6 +190,10 @@
8335b1
             continue;
8335b1
         }
8335b1
 #endif
8335b1
+        else if (!strcasecmp(hdrs[i].key, "Proxy")) {
8335b1
+            /* Don't pass through HTTP_PROXY */
8335b1
+            continue;
8335b1
+        }
8335b1
         else
8335b1
             add_unless_null(e, http2env(r, hdrs[i].key), hdrs[i].val);
8335b1
     }