Page MenuHomePhabricator

Improve protection against SSRF attacks
ClosedPublic

Authored by epriestley on Mar 25 2015, 12:49 AM.
Tags
None
Referenced Files
F14411568: D12151.diff
Tue, Dec 24, 11:20 AM
Unknown Object (File)
Tue, Dec 17, 9:43 PM
Unknown Object (File)
Tue, Dec 17, 2:12 PM
Unknown Object (File)
Mon, Dec 9, 2:44 PM
Unknown Object (File)
Mon, Dec 9, 5:49 AM
Unknown Object (File)
Thu, Dec 5, 4:16 AM
Unknown Object (File)
Sun, Dec 1, 9:38 AM
Unknown Object (File)
Wed, Nov 27, 4:15 PM
Subscribers

Details

Summary

Ref T6755. This improves our resistance to SSRF attacks:

  • Follow redirects manually and verify each component of the redirect chain.
  • Handle authentication provider profile picture fetches more strictly.
Test Plan
  • Tried to download macros from various URIs which issued redirects, etc.
  • Downloaded an actual macro.
  • Went through external account workflow.

Diff Detail

Repository
rP Phabricator
Branch
redirectmore
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 4968
Build 4986: [Placeholder Plan] Wait for 30 Seconds

Event Timeline

epriestley retitled this revision from to Improve protection against SSRF attacks.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: btrahan.
btrahan edited edge metadata.
This revision is now accepted and ready to land.Mar 25 2015, 1:37 AM
This revision was automatically updated to reflect the committed changes.