GHSL-2024-296: Deserialization of untrusted data in Kykms
Kykms uses an outdated version of the FastJSON library to parse user-supplied JSON, which is vulnerable to deserialization of untrusted data. An attacker could potentially achieve remote code execution by crafting a malicious JSON payload that exploits a gadget chain.
Originally disclosed on GitHub Security Lab
Kykms 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 FastJSON library (v1.2.75) that is vulnerable to deserialization attacks.
Impact
This issue may lead to Remote Code Execution in the worst case, but the report notes that a specific gadget chain was not provided at the time of reporting.
What the attacker needed
Attacker can send JSON to an endpoint; a gadget chain exists in dependencies
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 an old version of a Java library called FastJSON to read data sent by users. This old version has a known security flaw that lets an attacker send specially crafted data to run their own code on the server. The report explains that the library is outdated and dangerous.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.