What’s Vulnerable › Vulnerabilities

CVE-2024-51743: Arbitrary File Write leading up to remote code execution (instructor accounts)

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 in the update/upload/create file methods in Controllers allows authenticated instructors 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.

Affected products

How to fix

Upgrade to a fixed version: MarkUsProject Markus 2.4.8. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-51743 or the next vulnerability affects your stack