CVE-2022-25581: Classcms - Unrestricted File Upload
- Cve: CVE-2022-25581
- Name: Classcms - Unrestricted File Upload
- Description: Classcms v2.5 and below contains an arbitrary file upload via the component \class\classupload. This vulnerability allows attackers to execute code injection via a crafted .txt file.
- Impact: Attackers can execute arbitrary code on the server, leading to full system compromise.
- Remediation: Update to the latest version of Classcms or apply security patches that restrict file upload types and validate uploads.
- Vulnerability type: unrestricted_file_upload
- Vulnerability impact: remote_code_execution, file_system_write
- Requirement type: user_interaction
- Requirements: Attacker needs to upload malicious files
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.8
- Cvss vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- Epss score: 0.01176
- Epss percentile: 0.68378
- Assignee: [email protected]
- Published at: 2022-03-18T23:15:07Z
- Age in days: 1712
- Modified at: 2026-06-17T04:33:43Z
- Public exploits total: 2
- References total: 1
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2022-25581
- Nvd status: modified
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-434 | Unrestricted Upload of File with Dangerous Type |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/k0xx11/Vulscve/blob/master/classcms2.5-rce.md | nvd | 2022-03-18 |
| https://github.com/wooluo/CVE-2022-25581 | poc-in-github | 2025-06-24 |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/k0xx11/Vulscve/blob/master/classcms2.5-rce.md | nvd | Exploit, Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| classcms:classcms | <= 2.5 | no | nvd | /v1/products/classcms/classcms |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 2
- Public exploit first date: 2022-03-18
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, remote, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts