Administrator-level code execution via unrestricted JNDI names
Published Feb 16, 2025 · Updated Mar 21, 2025
JNDI injection in Knowage Server before 8.1.30 allows remote authenticated users with Administrator access to execute code. The SpagoBI API's DataSourceResource postDataSource and putDataSource paths accept a JNDI name without requiring the java:comp/env/jdbc/ prefix, allowing resolution of an attacker-controlled LDAP reference. Administrator access and a crafted datasource test are required; successful exploitation executes commands in the server process and can read server files.
Summary
What happened
JNDI injection in Knowage Server before 8.1.30 allows remote authenticated users with Administrator access to execute code. The SpagoBI API's DataSourceResource postDataSource and putDataSource paths accept a JNDI name without requiring the java:comp/env/jdbc/ prefix, allowing resolution of an attacker-controlled LDAP reference. Administrator access and a crafted datasource test are required; successful exploitation executes commands in the server process and can read server files.
The record
- CVE
- CVE-2024-57971
- Published
- Feb 16, 2025
- Updated
- Mar 21, 2025
- Vendor
- Knowage Labs
- Product
- Knowage Server
- Classifications
- CWE-99, T1190
- Attack vector
- network
- Privileges
- admin
Timeline
How it unfolded
- Feb 16, 2025CVE publishedPublication date reported by the CVE source.
- Mar 21, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=0 <8.1.30
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- CVE-2024-57971 Knowage JNDI injection proof of conceptfunctional · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo