Skip to content

CVE-2024-51499 MarkUs Arbitrary File Write leading up to remote code execution (student accounts)

HighCVSS 7.1 EPSS 0.72%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial

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.

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
MarkUsProject Markus < 2.4.8; = < 2.4.8 2.4.8 Fixed

Affected products

ProductAffected versionsFixed in
MarkUsProject Markus = < 2.4.8 No fix listed
MarkUsProject Markus < 2.4.8 2.4.8

References