CVE-2024-29179
PHP vulnerability analysis and mitigation

Overview

phpMyFAQ, an open source FAQ web application for PHP 8.1+ and MySQL/PostgreSQL, was found to contain a stored XSS vulnerability (CVE-2024-29179) in version 3.2.5. The vulnerability was discovered and disclosed on March 25, 2024, affecting the file attachment functionality of the application (GitHub Advisory).

Technical details

The vulnerability stems from improper file handling where attachments uploaded without an extension are rendered as HTML by default. The application fails to properly validate these files, allowing JavaScript code execution. The file path of uploaded attachments is predictable as it's constructed using substrings of the file's MD5 hash, making it easier for attackers to locate and exploit uploaded malicious files. The vulnerability has been assigned a CVSS v3.0 base score of 4.3 (Medium) with vector string CVSS:3.0/AV:N/AC:L/PR:H/UI:R/S:U/C:L/I:L/A:L (NVD).

Impact

The vulnerability allows attackers with administrative privileges to execute arbitrary client-side JavaScript within the context of other users' phpMyFAQ sessions. This could lead to unauthorized access to user data and potential manipulation of the application's functionality (GitHub Advisory).

Exploitability

The vulnerability requires an attacker to have administrative privileges and user interaction for successful exploitation. The predictable nature of the file path (based on MD5 hash) makes it easier for attackers to locate uploaded malicious files. For example, if a file has an MD5 hash of '38fff51cb7248a06d6142c6bdf846831', its URL would be constructed as '/attachments/38fff/51cb7/248a0/6d6142c6bdf846831' (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been patched in version 3.2.6 of phpMyFAQ (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Related PHP vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-59989CRITICAL9.2
  • PHP logoPHP
  • phalcon/cphalcon
NoYesAug 21, 2026
CVE-2026-63135HIGH8.2
  • PHP logoPHP
  • yourls/yourls
NoYesAug 21, 2026
GHSA-p2ch-c2c3-4xm5MEDIUM6.1
  • PHP logoPHP
  • winter/wn-backend-module
NoYesAug 20, 2026
GHSA-8hgv-xc77-jmcrMEDIUM5.1
  • PHP logoPHP
  • getgrav/grav
NoYesAug 21, 2026
GHSA-hq84-x37p-j6q5MEDIUM4.5
  • PHP logoPHP
  • winter/wn-backend-module
NoYesAug 20, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management