Vulnerability · Published Nov 18, 2024 · Assigned by GitHub_M
CVE-2024-51743Arbitrary File Write leading up to remote code execution (instructor accounts)
High 8.8
In plain English
A high-severity unrestricted file upload in Markus from MarkUsProject. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.7% (higher than 55% of all known vulnerabilities).
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 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 (as reported)
| Vendor | Product | Versions |
|---|---|---|
| MarkUsProject | Markus | < 2.4.8 |
Weakness: CWE-434 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
References
- https://github.com/MarkUsProject/Markus/security/advisories/GHSA-hwgg-qvjx-572x x_refsource_CONFIRM
- https://github.com/MarkUsProject/Markus/pull/7026 x_refsource_MISC