CVE-2024-51499CWE-434

MarkUs Arbitrary File Write leading up to remote code execution (student accounts)

High · published November 18, 2024

CVSS v4.0
7.1
EPSS
1%
Percentile
53.3
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v4.0
7.1 · HIGH
Vector
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
EPSS
0.00716 · 53.3th percentile
Weakness
CWE-434 · Unrestricted Upload of File with Dangerous Type
Published
2024-11-18T19:52Z
EPSS history
Timeline
  • 18 NOV 19:52Z
    MarkUs Arbitrary File Write leading up to remote code execution (student accounts)
    cvelistv5