CVE-2024-29179
published 2024-03-25CVE-2024-29179: phpMyFAQ is an open source FAQ web application for PHP 8.1+ and MySQL, PostgreSQL and other databases. An attacker with admin privileges can upload an…
PriorityP419medium4.8CVSS 3.1
AVNACLPRHUIRSCCLILAN
EPSS
0.51%
39.5th percentile
phpMyFAQ is an open source FAQ web application for PHP 8.1+ and MySQL, PostgreSQL and other databases. An attacker with admin privileges can upload an attachment containing JS code without extension and the application will render it as HTML which allows for XSS attacks.
Affected
3 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| phpmyfaq | phpmyfaq | — | — |
| phpmyfaq | phpmyfaq | >= 3.2.5 < 3.2.6 | 3.2.6 |
| thorsten | phpmyfaq | — | — |
CVSS provenance
nvdv3.14.8MEDIUMCVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N
nvdv3.04.3MEDIUMCVSS:3.0/AV:N/AC:L/PR:H/UI:R/S:U/C:L/I:L/A:L
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
phpMyFAQ Stored Cross-site Scripting at File Attachments
ghsa·2024-03-25
CVE-2024-29179 [MEDIUM] CWE-79 phpMyFAQ Stored Cross-site Scripting at File Attachments
phpMyFAQ Stored Cross-site Scripting at File Attachments
### Summary
An attacker with admin privileges can upload an attachment containing JS code without extension and the application will render it as HTML which allows for XSS attacks.
### Details
When attachments are uploaded without an extension, the application renders it as HTML by default. Therefore allowing attackers to upload .html files containing javascript code to perform XSS attacks. The direct file path to the uploaded attachment is also easily obtainable as it is made up of substrings of the file's MD5 hashes.
### PoC
1. Admin users can upload attachments containing XSS payloads in files without extensions to bypass the .html extension check.
2. Since the path of the uploaded file is built entirely on the file’s MD5 has
OSV
phpMyFAQ Stored Cross-site Scripting at File Attachments
osv·2024-03-25
CVE-2024-29179 [MEDIUM] phpMyFAQ Stored Cross-site Scripting at File Attachments
phpMyFAQ Stored Cross-site Scripting at File Attachments
### Summary
An attacker with admin privileges can upload an attachment containing JS code without extension and the application will render it as HTML which allows for XSS attacks.
### Details
When attachments are uploaded without an extension, the application renders it as HTML by default. Therefore allowing attackers to upload .html files containing javascript code to perform XSS attacks. The direct file path to the uploaded attachment is also easily obtainable as it is made up of substrings of the file's MD5 hashes.
### PoC
1. Admin users can upload attachments containing XSS payloads in files without extensions to bypass the .html extension check.
2. Since the path of the uploaded file is built entirely on the file’s MD5 has
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
2024-03-25
Published