Page MenuHomePhabricator

Improve protection against SSRF attacks
ClosedPublic

Authored by epriestley on Mar 25 2015, 12:49 AM.
Tags
None
Referenced Files
F18812326: D12151.id29209.diff
Mon, Oct 20, 8:37 AM
F18701115: D12151.diff
Sat, Sep 27, 5:28 PM
F18697124: D12151.diff
Sat, Sep 27, 8:54 AM
F18600543: D12151.diff
Sep 13 2025, 9:59 AM
F18505225: D12151.id.diff
Sep 5 2025, 12:30 AM
F18496853: D12151.diff
Sep 4 2025, 5:45 PM
F18090418: D12151.id29213.diff
Aug 6 2025, 3:45 PM
F17877630: D12151.id.diff
Jul 28 2025, 7:45 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
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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.