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-12086

Description

A Polymorphic Typing issue was discovered in FasterXML jackson-databind 2.x before 2.9.9. When Default Typing is enabled (either globally or for a specific property) for an externally exposed JSON endpoint, the service has the mysql-connector-java jar (8.0.14 or earlier) in the classpath, and an attacker can host a crafted MySQL server reachable by the victim, an attacker can send a crafted JSON message that allows them to read arbitrary local files on the server. This occurs because of missing com.mysql.cj.jdbc.admin.MiniAdmin validation.

POC

Reference

- https://medium.com/%40cowtowncoder/on-jackson-cves-dont-panic-here-is-what-you-need-to-know-54cd0d6e8062

- https://medium.com/@cowtowncoder/on-jackson-cves-dont-panic-here-is-what-you-need-to-know-54cd0d6e8062

- https://www.oracle.com/security-alerts/cpuApr2021.html

- https://www.oracle.com/security-alerts/cpuapr2020.html

- https://www.oracle.com/security-alerts/cpuapr2022.html

- https://www.oracle.com/security-alerts/cpujan2020.html

- https://www.oracle.com/security-alerts/cpujul2020.html

- https://www.oracle.com/security-alerts/cpuoct2020.html

- https://www.oracle.com/technetwork/security-advisory/cpujul2019-5072835.html

- https://www.oracle.com/technetwork/security-advisory/cpuoct2019-5072832.html

Github

- https://github.com/0xT11/CVE-POC

- https://github.com/A-TPL-Bench/LibHunter

- https://github.com/ARPSyndicate/cvemon

- https://github.com/Al1ex/CVE-2019-12086

- https://github.com/Anonymous-Phunter/PHunter

- https://github.com/CGCL-codes/LibHunter

- https://github.com/CGCL-codes/PHunter

- https://github.com/JAYANTH-ORG/test-maven-repo

- https://github.com/LibHunter/LibHunter

- https://github.com/SimoLin/CVE-2019-12086-jackson-databind-file-read

- https://github.com/SugarP1g/LearningSecurity

- https://github.com/codeplutos/CVE-2019-12086-jackson-databind-file-read

- https://github.com/developer3000S/PoC-in-GitHub

- https://github.com/galimba/Jackson-deserialization-PoC

- https://github.com/hectorgie/PoC-in-GitHub

- https://github.com/ilmari666/cybsec

- https://github.com/kiwitcms/junit-plugin

- https://github.com/klarna/kco_rest_java

- https://github.com/lp008/Hack-readme

- https://github.com/migupl/poc-yaas-server

- https://github.com/motoyasu-saburi/CVE-2019-12086-jackson-databind-file-read

- https://github.com/seal-community/patches