CVE-2024-51499
published high CVSS 4.0 · 7.1MarkUs Arbitrary File Write leading up to remote code execution (student accounts)
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| MarkUsProject | — | Markus< 2.4.8 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 7.1 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| MarkUsProject | Markus | < 2.4.8 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-434 CWE-434: Unrestricted Upload of File with Dangerous Type
References
2Provider assertions
2GitHub_M · cna
MarkUs Arbitrary File Write leading up to remote code execution (student accounts)
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- b9b6899ed0bafa897a5d157ab857f028f87a84f8b4e562e4c73c14cdbe54711f
- Ingested
- 23 Sep 2026, 08:30:23 UTC
- Source record
- Official CVE record