GHSL-2024-282: Deserialization of untrusted data in KCenter
KCenter enables the autoType setting in the fastjson library, which allows deserialization of untrusted data. An attacker could exploit this to create objects of arbitrary classes and potentially achieve remote code execution.
Originally disclosed on GitHub Security Lab
KCenter is affected by a Deserialization of Untrusted Data vulnerability due to the usage of the alibaba/fastjson library with the autoType setting enabled.
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 application explicitly enables the autoType feature in fastjson, which is disabled by default for security reasons, allowing attackers to instantiate arbitrary classes.
Impact
This issue may lead to Remote Code Execution in the worst case, though no specific gadget chain was provided at the time of reporting.
What the attacker needed
Attacker can send JSON to an 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 uses a library to convert JSON data into Java objects. By turning on a risky feature called autoType, it lets attackers specify any class to be created, which can lead to serious consequences like running malicious code.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.