Page MenuHomePhabricator

Improve protection against SSRF attacks
ClosedPublic

Authored by epriestley on Mar 25 2015, 12:49 AM.
Tags
None
Referenced Files
F19426709: D12151.id29209.diff
Sun, Dec 28, 5:29 AM
F18942029: D12151.id29209.diff
Nov 11 2025, 11:32 AM
F18853878: D12151.id.diff
Oct 31 2025, 8:14 PM
F18850525: D12151.diff
Oct 30 2025, 5:37 PM
F18843876: D12151.diff
Oct 29 2025, 1:35 AM
F18829342: D12151.diff
Oct 24 2025, 9:18 PM
F18812326: D12151.id29209.diff
Oct 20 2025, 8:37 AM
F18701115: D12151.diff
Sep 27 2025, 5:28 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.