In Midori Browser 0.5.11 (on Windows 10), Content Security Policy (CSP) is not applied correctly to all parts of multipart content sent with the multipart/x-mixed-replace MIME type. This could result in script running where CSP should have blocked it, allowing for cross-site scripting (XSS) and other attacks when the product renders the content as HTML. Remediating this would also need to consider the polyglot case, e.g., a file that is a valid GIF image and also valid JavaScript.
References
Link | Resource |
---|---|
https://blog.mozilla.org/security/2016/08/26/mitigating-mime-confusion-attacks-in-firefox/ | Third Party Advisory |
https://portswigger.net/research/bypassing-csp-using-polyglot-jpegs | Exploit Third Party Advisory |
https://github.com/V1n1v131r4/MIME-Confusion-Attack-on-Midori-Browser/blob/master/README.md | Exploit Third Party Advisory |
Configurations
Configuration 1 (hide)
AND |
|
Information
Published : 2019-12-20 08:15
Updated : 2020-01-14 09:13
NVD link : CVE-2019-19916
Mitre link : CVE-2019-19916
JSON object : View
CWE
CWE-79
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Products Affected
midori-browser
- midori
microsoft
- windows_10