Recently, two remote code execution vulnerabilities (CVE-2020-9547 and CVE-2020-9548) were fixed in jackson-databind. By using two components (ibatis-sqlmap and anteros-core) to bypass the blacklist restriction, attackers could exploit these vulnerabilities to cause remote code execution on the victim’s machine.
In addition, Fastjson, when using ibatis-sqlmap and anteros-core components and enabling the AutoType function (this function is disabled by default), is also vulnerable to the preceding vulnerabilities.
Jackson-databind 2.x <= 126.96.36.199
Jackson-databind > 188.8.131.52
Jackson-databind has released a new version to fix the preceding vulnerabilities. Affected users are advised to upgrade as soon as possible.
In addition, Fastjson users can disable the AutoType function for risk aversion. Also, they are advised to upgrade the JDK to the latest version.
Users can disable the AutoType function in either of the following ways:
Method 1: 1. Find the following code in the source code and delete it: ParserConfig.getGlobalInstance().setAutoTypeSupport(true);
Method 2: When enabling Fastjson on a Java virtual machine, remember not to add the following parameter: -Dfastjson.parser.autoTypeSupport=true:
This advisory is only used to describe a potential risk. NSFOCUS does not provide any commitment or promise on this advisory. NSFOCUS and the author will not bear any liability for any direct and/or indirect consequences and losses caused by transmitting and/or using this advisory. NSFOCUS reserves all the rights to modify and interpret this advisory. Please include this statement paragraph when reproducing or transferring this advisory. Do not modify this advisory, add/delete any information to/from it, or use this advisory for commercial purposes without permission from NSFOCUS.
NSFOCUS IB is a wholly owned subsidiary of NSFOCUS, an enterprise application and network security provider, with operations in the Americas, Europe, the Middle East, Southeast Asia and Japan. NSFOCUS IB has a proven track record of combatting the increasingly complex cyber threat landscape through the construction and implementation of multi-layered defense systems. The company’s Intelligent Hybrid Security strategy utilizes both cloud and on-premises security platforms, built on a foundation of real-time global threat intelligence, to provide unified, multi-layer protection from advanced cyber threats.
For more information about NSFOCUS, please visit:
NSFOCUS, NSFOCUS IB, and NSFOCUS, INC. are trademarks or registered trademarks of NSFOCUS, Inc. All other names and trademarks are property of their respective firms.