CVE-2024-51499 MarkUs Arbitrary File Write leading up to remote code execution (student accounts)
Authenticated students can write arbitrary files to the server, potentially achieving remote code execution by placing malicious scripts in application directories.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2024-51499?
CVE-2024-51499 is a high-severity vulnerability in MarkUsProject Markus, published on 18 Nov 2024. Any signed-in user can exploit it over the network, with no action from the victim.
Official 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.
Weakness: CWE-434
Which versions are affected by CVE-2024-51499?
It affects 1 product.
Products include Markusproject Markus.
How do I fix CVE-2024-51499?
No fix has been published for CVE-2024-51499 yet. Limit exposure of the affected software until one is available.
Is CVE-2024-51499 being exploited?
There is no known exploitation of CVE-2024-51499 in the wild and no public exploit code.
Other vulnerabilities in MarkUsProject Markus
- CVE-2026-25057 Zip Slip in MarkUs config upload allowing RCE
- CVE-2026-28405 MarkUs: Stored XSS in Submission HTML Preview Enables Instructor-Context Actions
- CVE-2024-51743 Arbitrary File Write leading up to remote code execution (instructor accounts)
- CVE-2026-25962 MarkUs: Zip bomb in config upload enables DoS
- CVE-2026-24900 MarkUs has a submission-view IDOR exposes all student submissions
Sources
Also known as GHSA-j95p-7936-f75w.