#VU65369 Deserialization of Untrusted Data in Fastjson


Published: 2023-03-02

Vulnerability identifier: #VU65369

Vulnerability risk: High

CVSSv3.1: 8.8 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P/RL:O/RC:C]

CVE-ID: CVE-2022-25845

CWE-ID: CWE-502

Exploitation vector: Network

Exploit availability: Yes

Vulnerable software:
Fastjson
Web applications / JS libraries

Vendor:

Description

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to insecure input validation when processing serialized data. A remote attacker can pass specially crafted data to the application and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.

Mitigation
Install updates from vendor's website.

Vulnerable software versions


External links
http://www.ddosi.org/fastjson-poc/
http://github.com/alibaba/fastjson/commit/8f3410f81cbd437f7c459f8868445d50ad301f15
http://github.com/alibaba/fastjson/releases/tag/1.2.83
http://github.com/alibaba/fastjson/commit/35db4adad70c32089542f23c272def1ad920a60d
http://github.com/alibaba/fastjson/wiki/security_update_20220523
http://snyk.io/vuln/SNYK-JAVA-COMALIBABA-2859222


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability. However, proof of concept for this vulnerability is available.


Latest bulletins with this vulnerability