HNHacker News
TopNewBestAskShowJobs

aegarbutt

10 karma · joined September 26, 2016

[ my public key: https://keybase.io/aegarbutt; my proof: https://keybase.io/aegarbutt/sigs/aBxwB4smze7cjdIH-H-Jy_BirJ2F7PVjOeOEKsWKJ7Y ]
submissionscomments
aegarbutt··on Signal-desktop HTML tag injection advisory
Or I just expose my malicious share to the Internet. No mounting step necessary.

file://<Evil-IP>/evil.js

aegarbutt··on Signal-desktop HTML tag injection advisory
The CSP policy was 'self'. The problem is that all file:// URIs share an origin in Electron.

So, 'self' is ALL file:// URIs.

aegarbutt··on Remote zero-click JavaScript code execution on Signal desktop
For reference: https://github.com/electron/electron/issues/5151
aegarbutt··on Remote zero-click JavaScript code execution on Signal desktop
If I remember correctly, on Windows you can reference file://<IP-Address>/path/to/file

Thanks SMB / UNC Paths.

aegarbutt··on Remote zero-click JavaScript code execution on Signal desktop
In Electron, all file:/// URIs share an origin. Using `script-src: 'self'` isn't much of a boundary.
aegarbutt··on Reshaping web defenses with strict Content Security Policy
They really missed an opportunity to have their URL be https://evaluate-csp.withgoogle.com

Rolls off the tongue better than https://csp-evaluator.withgoogle.com.