Entreprise d'experts en Sécurité Informatique : Audits et conseils en cybersécurité
Entreprise française de cybersécurité depuis 2004
☎ 03 60 47 09 81 - info@securiteinfo.com


CVE-2019-19916

Description

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.

POC

Reference

- https://github.com/V1n1v131r4/MIME-Confusion-Attack-on-Midori-Browser/blob/master/README.md

- https://portswigger.net/research/bypassing-csp-using-polyglot-jpegs

Github

- https://github.com/V1n1v131r4/Bypass-CSP-against-MIME-Confusion-Attack

- https://github.com/V1n1v131r4/MIME-Confusion-Attack-on-Midori-Browser

- https://github.com/V1n1v131r4/My-CVEs