CVE-2024-51499: MarkUs - Unrestricted File Upload
- Cve: CVE-2024-51499
- Name: MarkUs - Unrestricted File Upload
- Description: MarkUs is a web application for the submission and grading of student assignments. In versions prior to 2.4.8, an arbitrary file write vulnerability accessible via the update_files method of the SubmissionsController allows authenticated users (e.g. students) to write arbitrary files to any location on the web server MarkUs is running on (depending on the permissions of the underlying filesystem). e.g. This can lead to a delayed remote code execution in case an attacker is able to write a Ruby file into the config/initializers/ subfolder of the Ruby on Rails application. MarkUs v2.4.8 has addressed this issue. No known workarounds are available at the application level aside from upgrading.
- Impact: Authenticated users can write arbitrary files to the server, potentially leading to remote code execution or server compromise.
- Remediation: Upgrade to version 2.4.8 or later.
- Vulnerability type: unrestricted_file_upload
- Vulnerability impact: file_system_write, remote_code_execution
- Requirement type: logged_in
- Requirements: Attacker must be an authenticated user
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 8.8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.00716
- Epss percentile: 0.54706
- Assignee: [email protected]
- Published at: 2024-11-18T20:15:05Z
- Age in days: 736
- Modified at: 2026-06-17T08:05:48Z
- Patch available: yes
- References total: 2
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-51499
- Nvd status: analyzed
- 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-434 | Unrestricted Upload of File with Dangerous Type |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/MarkUsProject/Markus/pull/7026 | nvd | Patch |
| https://github.com/MarkUsProject/Markus/security/advisories/GHSA-j95p-7936-f75w | nvd | Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| markusproject:markus | < 2.4.8 | no | nvd | /v1/products/markusproject/markus |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| MarkUsProject/Markus | fix, pull, security_advisory | yes | /v1/repositories/MarkUsProject/Markus |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Authentication required: yes
- 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, exposed hosts