aegarbutt
Re:Signal-desktop HTML tag injection advisory
on Tuesday May 15, 2018 @11:41AM (#17074795)
Or I just expose my malicious share to the Internet. No mounting step necessary.
file://<Evil-IP>/evil.js
Re:Signal-desktop HTML tag injection advisory
on Tuesday May 15, 2018 @11:39AM (#17074772)
The CSP policy was 'self'. The problem is that all file:// URIs share an origin in Electron.
So, 'self' is ALL file:// URIs.
Re:Remote zero-click JavaScript code execution on Signal desktop
on Friday May 11, 2018 @07:45PM (#17051528)
For reference: https://github.com/electron/electron/issues/5151
Re:Remote zero-click JavaScript code execution on Signal desktop
on Friday May 11, 2018 @07:41PM (#17051509)
If I remember correctly, on Windows you can reference file://<IP-Address>/path/to/file
Thanks SMB / UNC Paths.
Re:Remote zero-click JavaScript code execution on Signal desktop
on Friday May 11, 2018 @07:26PM (#17051434)
In Electron, all file:/// URIs share an origin. Using `script-src: 'self'` isn't much of a boundary.
Re:Reshaping web defenses with strict Content Security Policy
on Monday September 26, 2016 @04:19PM (#12585187)
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.