PT-2024-34876 · Unknown+1 · Ruby On Rails+1

David-Yz-Liu

+1

·

Published

2024-11-18

·

Updated

2025-09-04

·

CVE-2024-51743

CVSS v3.1

8.8

High

VectorAV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions MarkUs versions prior to 2.4.8
Description The issue is related to an arbitrary file write vulnerability in the update/upload/create file methods in Controllers, allowing authenticated instructors to write arbitrary files to any location on the web server, depending on the permissions of the underlying filesystem. This can lead to delayed remote code execution if an attacker can write a Ruby file into the config/initializers/ subfolder of the Ruby on Rails application.
Recommendations For MarkUs versions prior to 2.4.8, upgrade to version 2.4.8 to address the issue. As a temporary workaround, consider restricting access to the update/upload/create file methods in Controllers to minimize the risk of exploitation. Avoid using the vulnerable file upload functionality until the issue is resolved.

Exploit

Fix

RCE

Unrestricted File Upload

Weakness Enumeration

Related Identifiers

CVE-2024-51743
GHSA-HWGG-QVJX-572X

Affected Products

Markus
Ruby On Rails