Vulnerabilities · 2019 · Fasterxml
CVE-2019-12086
Fasterxml Jackson-databind vulnerability
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.
Affected products
Jackson-databind, Debian Linux. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Fasterxml Jackson-databind runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/FasterXML/jackson-databind/issues/2326 · Patch
- www.oracle.com/technetwork/security-advisory/cpujul2019-5072835.html · Patch
- www.oracle.com/technetwork/security-advisory/cpuoct2019-5072832.html · Patch
- russiansecurity.expert/2016/04/20/mysql-connect-file-read/ · Exploit
- www.securityfocus.com/bid/109227 · Third Party Advisory
- access.redhat.com/errata/RHSA-2019:2858 · Third Party Advisory
- access.redhat.com/errata/RHSA-2019:2935 · Third Party Advisory
- access.redhat.com/errata/RHSA-2019:2936 · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2019-12086
- cve.org/CVERecord?id=CVE-2019-12086
More vulnerabilities in Fasterxml products
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.