fastjson deserialization RCE Vulnerability

Description: fastjson is well-written in a high-performance Java language features JSON library.

Vulnerability reasons: fastjson json parsing process, the supports used to instantiate a autoType a specific class, and to fill their attribute values json. JDK classes and comes com.sun.org.apache.xalan.internal.xsltc.trax.TemplatesImplin a private attribute _bytecodes, which is part of the method performs Java bytecode value included.

Vulnerabilities conditions:

  1. Fastjson target site using json parsing library
  2. When set to resolve Feature.SupportNonPublicField, or does not support incoming private property
  3. Jdk used in the presence of the target TemplatesImplclass

Guess you like

Origin www.cnblogs.com/zpchcbd/p/11697706.html