GHSL-2023-238_GHSL-2023-244: unauthenticated remote code execution (RCE) and other vulnerabilities in ngrinder - CVE-2024-28211, CVE-2024-28212, CVE-2024-28213, CVE-2024-28214, CVE-2024-28215, CVE-2024-28216
Several vulnerabilities were found in ngrinder, including two unauthenticated remote code execution flaws via JNDI/RMI and unsafe YAML deserialisation, plus broken access controls and a denial-of-service issue. An attacker could execute arbitrary commands, view sensitive data, or disrupt service.
Several vulnerabilities were discovered in the ngrinder web application from Naver. Two of the vulnerabilities were unauthenticated remote code execution (RCE) vulnerabilities, others were due to improper access controls.
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
Impact
This may lead to unauthenticated remote code execution, information disclosure, and denial of service.
What the attacker needed
No authentication required; Attacker controls an RMI server; Network access to ngrinder
The fix
The issues were fixed in version 3.5.9, though one issue was deemed not a vulnerability.
How it was found
- Start a malicious RMI registry that serves a gadget.
- Send a GET request to the /monitor/api/state endpoint with the ip parameter pointing to the malicious RMI server.
- Verify that the command executed by checking for the created file.
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.
This report describes multiple security holes in a web application called ngrinder. Some let an attacker run their own commands on the server without logging in, which is very serious. Others let unauthorised people see or change data they shouldn't, or overload the server so it stops working.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.