GHSL-2024-300: Deserialization of untrusted data in Vlife
Vlife uses the outdated alibaba/fastjson library to parse user-supplied JSON, which is vulnerable to deserialization of untrusted data. An attacker could exploit this to achieve remote code execution in the worst case by crafting a malicious JSON payload.
Originally disclosed on GitHub Security Lab
Vlife is affected by a Deserialization of Untrusted Data vulnerability due to the usage of the outdated version of alibaba/fastjson library.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the use of an outdated version of the alibaba/fastjson library that allows autoType and is vulnerable to deserialization attacks.
Impact
This issue may lead to Remote Code Execution in the worst case.
What the attacker needed
Attacker can send JSON to the authentication endpoint
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
The application takes JSON data from users and converts it into Java objects using an old library called fastjson. This library has a known flaw where an attacker can include special instructions in the JSON to make the server run harmful code. In the worst case, this could let the attacker take full control of the server.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.