(0Day) GPT Academic stream_daas Deserialization of Untrusted Data Remote Code Execution Vulnerability
The stream_daas function in GPT Academic deserialises data received from a DAAS server without validating it. An attacker who controls or compromises a malicious DAAS server could run arbitrary code on the affected installation, potentially as root.
Originally disclosed on Zero Day Initiative
This vulnerability allows remote attackers to execute arbitrary code on affected installations of GPT Academic. Interaction with a malicious DAAS server is required to exploit this vulnerability but attack vectors may vary depending on the implementation.
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 stream_daas function deserialises data from a remote DAAS server without validating or restricting what object types it accepts.
Impact
An attacker could execute arbitrary code in the context of root, but exploitation requires interaction with a malicious DAAS server.
What the attacker needed
Interaction with a malicious DAAS server
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.
Deserialisation is when a program turns stored or transmitted data back into live objects. If that data comes from someone else and is not checked, the program can be tricked into building objects that run code. Here the data comes from a DAAS server, so whoever controls that server can potentially run commands on the victim's machine.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.