CVE-2024-29179: phpMyFAQ Stored Cross-site Scripting at File Attachments
4.3
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.37834%
CWE
Published
3/25/2024
Updated
3/25/2024
KEV Status
No
Technology
PHP
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:L/I:L/A:L
| Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
|---|---|---|---|
| phpmyfaq/phpmyfaq | composer | = 3.2.5 | 3.2.6 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from two key mechanisms: 1) File storage logic that uses MD5 hashes for filenames/paths without preserving extensions, allowing bypass of .html checks. 2) Content-Type handling that defaults to HTML when no extension exists. The first function enables payload storage and predictable access, while the second enables dangerous content execution. These components are fundamental to the described attack flow of uploading extensionless .html files and having them rendered as active content.