CVE-2025-24372: CKAN - Unrestricted File Upload
- Cve: CVE-2025-24372
- Name: CKAN - Unrestricted File Upload
- Description: CKAN is an open-source DMS (data management system) for powering data hubs and data portals. Using a specially crafted file, a user could potentially upload a file containing code that when executed could send arbitrary requests to the server. If that file was opened by an administrator, it could lead to escalation of privileges of the original submitter or other malicious actions. Users must have been registered to the site to exploit this vulnerability. This vulnerability has been fixed in CKAN 2.10.7 and 2.11.2. Users are advised to upgrade. On versions prior to CKAN 2.10.7 and 2.11.2, site maintainers can restrict the file types supported for uploading using the `ckan.upload.user.mimetypes` / `ckan.upload.user.types` and `ckan.upload.group.mimetypes` / `ckan.upload.group.types` config options. To entirely disable file uploads users can use: `ckan.upload.user.types = none`
- Impact: Attackers can execute arbitrary code on the server, potentially leading to full system compromise or privilege escalation.
- Remediation: Upgrade to CKAN 2.10.7 or 2.11.2, or restrict supported file types using configuration options.
- Vulnerability type: unrestricted_file_upload
- Vulnerability impact: remote_code_execution, privilege_escalation
- Requirement type: logged_in
- Requirements: Attacker must be a registered user and upload a malicious file
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.3
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N
- Epss score: 0.00469
- Epss percentile: 0.41411
- Assignee: [email protected]
- Published at: 2025-02-05T19:15:46Z
- Age in days: 657
- Modified at: 2026-06-17T08:58:55Z
- Patch available: yes
- References total: 6
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2025-24372
- Nvd status: deferred
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation |
References
Same in every row:
- Source: nvd
- Tags:
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| okfn:ckan | >= 2.11.0, < 2.11.2; < 2.10.7 | no | cna_alias_text | /v1/products/okfn/ckan |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| ckan/ckan | commit, fix, package, security_advisory | yes | /v1/repositories/ckan/ckan |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Authentication required: yes
- Exposed hosts: 207
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports