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.
Details
Details
- Reviewers
btrahan - Commits
- Restricted Diffusion Commit
rP2037979142cb: Prevent Phame blogs from using invalid skins
Attempted to build a blog with an invalid skin; got an exception instead of a mis-load of a sketchy skin.
Diff Detail
Diff Detail
- Repository
- rP Phabricator
- Lint
Lint Not Applicable - Unit
Tests Not Applicable