Remote Code Execution Vulnerability of Fastjson
On July 12, 2019, the Emergency Response Center detected that the open-source component Fastjson had a remote code execution vulnerability. This vulnerability is an extension of the deserialization vulnerability of Fastjson 1.2.24 detected in 2017 and can be directly used to obtain server permissions, causing serious damage.
Affected Versions
Versions earlier than Fastjson 1.2.51
Mitigation Version
Fastjson 1.2.51 or later
Official Solution
Upgrade Fastjson to 1.2.51 or the latest 1.2.58 version.
Mitigation
The built-in protection rules of Huawei Cloud WAF can defend against this vulnerability. The procedure is as follows:
- Buy WAF.
- Add the website domain name to WAF and connect it to WAF. For details, see Adding a Domain Name.
- In the Basic Web Protection configuration area, set Mode to Block. For details, see Configuring Basic Web Protection Rules.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.