Page MenuHomePhabricator

Blanket reject request which may have been poisoned by a "Proxy" header to mitigate the httpoxy vulnerability
ClosedPublic

Authored by epriestley on Jul 22 2016, 12:25 AM.
Tags
None
Referenced Files
F19881283: D16318.diff
Wed, Mar 18, 10:10 PM
F19825939: D16318.id39240.diff
Sun, Mar 8, 4:00 PM
F19821184: D16318.id39239.diff
Fri, Mar 6, 7:26 PM
F19810589: D16318.diff
Tue, Mar 3, 8:34 PM
F19710467: D16318.id39239.diff
Feb 11 2026, 4:46 PM
F19532861: D16318.id39239.diff
Jan 20 2026, 1:56 PM
F19529060: D16318.id39239.diff
Jan 19 2026, 1:55 PM
F19510787: D16318.id39239.diff
Jan 11 2026, 3:12 PM
Subscribers
None

Details

Summary

See accompanying discussion in T11359.

As far as I can tell we aren't vulnerable, but subprocesses could be (now, or in the future). Reject any request which may have a Proxy: header.

This will also do a false-positive reject if HTTP_PROXY is defined in the environment, but this is likely a misconfiguration (cURL does not read it). I'll provide guidance on this.

Test Plan
  • Made requests using curl -H Proxy:..., got rejected.
  • Made normal requests, got normal pages.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

epriestley retitled this revision from to Blanket reject request which may have been poisoned by a "Proxy" header to mitigate the httpoxy vulnerability.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added reviewers: chad, avivey.
avivey edited edge metadata.

lgtm

This revision is now accepted and ready to land.Jul 22 2016, 2:39 AM
This revision was automatically updated to reflect the committed changes.