CVE-2024-25723: ZenML ZenML Server - Improper Authentication
- Template: CVE-2024-25723
- Name: ZenML ZenML Server - Improper Authentication
- Description: ZenML Server in the ZenML machine learning package before 0.46.7 for Python allows remote privilege escalation because the /api/v1/users/{user_name_or_id}/activate REST API endpoint allows access on the basis of a valid username along with a new password in the request body.
- Impact: Successful exploitation could lead to unauthorized access to sensitive data.
- Remediation: Implement proper authentication mechanisms and ensure access controls are correctly configured.
- Severity: critical
- Authors: David Botelho Mariano
- Tags: cve, cve2024, passive, auth-bypass, zenml, vuln
- References: https://www.zenml.io/blog/critical-security-update-for-zenml-users, https://github.com/zenml-io/zenml, https://github.com/zenml-io/zenml/compare/0.42.1...0.42.2, https://github.com/zenml-io/zenml/compare/0.43.0...0.43.1, https://github.com/zenml-io/zenml/compare/0.44.3...0.44.4
- Cves: CVE-2024-25723
- Verified: yes
- Max requests: 1
- Directory: http/cves
- Path: http/cves/2024/CVE-2024-25723.yaml
- Digest: 490a0046304402204349d58e48160119e799fed4781274fefff59b11b67f4c918e6159db03bf703c022068ea656277f0495e01251111a3fb39de95abf82fc9658b94821f4f5731bdc8d6
- Created at: 2024-06-03T08:56:15Z
- Updated at: 2026-11-21T02:03:58Z
- Age in days: 904
- Template url: https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2024/CVE-2024-25723.yaml
- Checked, none or zero: products
Classification
- Epss score: 0.70785
- Epss percentile: 0.99412
- Checked, none or zero: cwe
- Not known: cvss score, cvss vector, cpe
Metadata
- Fofa-query: body="ZenML"
- Max-request: 1
- Shodan-query: http.favicon.hash:-2028554187
- Verified: yes
Labels
- Name: ZenML Server - Privilege Escalation
- Impact: Attackers can escalate privileges remotely, potentially gaining administrative access and control over the system.
- Remediation: Update to version 0.46.7 or later.
- Vulnerability type: broken_access_control
- Vulnerability impact: privilege_escalation
- Requirement type: logged_in
- Requirements: Attacker needs valid username and password
- Labels source: projectdiscovery
- From cve: CVE-2024-25723
```yaml
id: CVE-2024-25723
info:
name: ZenML ZenML Server - Improper Authentication
author: David Botelho Mariano
severity: critical
description: |
ZenML Server in the ZenML machine learning package before 0.46.7 for Python allows remote privilege escalation because the /api/v1/users/{user_name_or_id}/activate REST API endpoint allows access on the basis of a valid username along with a new password in the request body.
impact: |
Successful exploitation could lead to unauthorized access to sensitive data.
remediation: |
Implement proper authentication mechanisms and ensure access controls are correctly configured.
reference:
- https://www.zenml.io/blog/critical-security-update-for-zenml-users
- https://github.com/zenml-io/zenml
- https://github.com/zenml-io/zenml/compare/0.42.1...0.42.2
- https://github.com/zenml-io/zenml/compare/0.43.0...0.43.1
- https://github.com/zenml-io/zenml/compare/0.44.3...0.44.4
classification:
epss-score: 0.70785
epss-percentile: 0.99412
metadata:
verified: true
max-request: 1
shodan-query: http.favicon.hash:-2028554187
fofa-query: body="ZenML"
tags: cve,cve2024,passive,auth-bypass,zenml,vuln
http:
- method: GET
path:
- "{{BaseURL}}/api/v1/info"
matchers:
- type: dsl
dsl:
- "compare_versions(version, '< 0.46.7')"
- "!contains_any(version, '0.44.4', '0.43.1', '0.42.2')"
- "contains_all(body, 'deployment_type', 'database_type')"
condition: and
extractors:
- type: regex
part: body
group: 1
name: version
regex:
- '"version":"(.*?)"'
internal: true
digest: 490a0046304402204349d58e48160119e799fed4781274fefff59b11b67f4c918e6159db03bf703c022068ea656277f0495e01251111a3fb39de95abf82fc9658b94821f4f5731bdc8d6:922c64590222798bb761d5b6d8e72950
```