PT-2024-2390 · Phpmyfaq · Phpmyfaq

Kevinnivekkevin

·

Published

2024-03-25

·

Updated

2025-01-09

·

CVE-2024-28105

CVSS v2.0

8.3

High

VectorAV:N/AC:L/Au:M/C:C/I:C/A:C
Name of the Vulnerable Software and Affected Versions phpMyFAQ versions prior to 3.2.6
Description The category image upload function in phpMyFAQ is vulnerable to manipulation of the Content-type and lang parameters, allowing attackers to upload malicious files with a .php extension, potentially leading to remote code execution (RCE) on the system. Attackers can upload malicious files containing executable code, allowing them to take control of the vulnerable system, execute arbitrary commands, steal sensitive data, disrupt services, and potentially escalate their privileges.
Recommendations For versions prior to 3.2.6, update to version 3.2.6 to resolve the issue. As a temporary workaround, consider restricting access to the category image upload function to minimize the risk of exploitation. Additionally, forcing the getFileExtension function to return one of the allowed mimetypes instead of an empty string can help prevent the uploaded file from being executed as a PHP file.

Exploit

Fix

RCE

Unrestricted File Upload

Weakness Enumeration

Related Identifiers

BDU:2024-02342
CVE-2024-28105
GHSA-PWH2-FPFR-X5GF

Affected Products

Phpmyfaq