Page MenuHomePhabricator

Prevent Phame blogs from using invalid skins
ClosedPublic

Authored by epriestley on Dec 15 2014, 6:26 PM.
Tags
None
Referenced Files
F13090386: D10992.diff
Thu, Apr 25, 2:21 AM
Unknown Object (File)
Sat, Apr 6, 3:01 PM
Unknown Object (File)
Thu, Apr 4, 8:46 AM
Unknown Object (File)
Thu, Apr 4, 5:23 AM
Unknown Object (File)
Mar 5 2024, 6:50 AM
Unknown Object (File)
Feb 15 2024, 11:56 PM
Unknown Object (File)
Jan 24 2024, 9:27 PM
Unknown Object (File)
Jan 15 2024, 10:34 PM
Subscribers

Details

Reviewers
btrahan
Commits
Restricted Diffusion Commit
rP2037979142cb: Prevent Phame blogs from using invalid skins
Summary

Via HackerOne. An attacker with access to both Phame and the filesystem could potentially load a skin that lives outside of the configured skin directories, because we had insufficient checks on the actual skin at load time.

Test Plan

Attempted to build a blog with an invalid skin; got an exception instead of a mis-load of a sketchy skin.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

epriestley retitled this revision from to Prevent Phame blogs from using invalid skins.
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.Dec 15 2014, 6:41 PM
This revision was automatically updated to reflect the committed changes.