CVE-2024-28105
published 2024-03-25CVE-2024-28105: phpMyFAQ is an open source FAQ web application for PHP 8.1+ and MySQL, PostgreSQL and other databases. The category image upload function in phpmyfaq is…
PriorityP344high7.2CVSS 3.1
AVNACLPRHUINSUCHIHAH
EPSS
1.48%
70.6th percentile
phpMyFAQ is an open source FAQ web application for PHP 8.1+ and MySQL, PostgreSQL and other databases. 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. This vulnerability is fixed in 3.2.6.
Affected
3 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| phpmyfaq | phpmyfaq | — | — |
| phpmyfaq | phpmyfaq | >= 3.2.5 < 3.2.6 | 3.2.6 |
| thorsten | phpmyfaq | — | — |
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.
OSV
phpMyFAQ's File Upload Bypass at Category Image Leads to RCE
osv·2024-03-25
CVE-2024-28105 [HIGH] phpMyFAQ's File Upload Bypass at Category Image Leads to RCE
phpMyFAQ's File Upload Bypass at Category Image Leads to RCE
### Summary
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.
### Details
In the file upload function of the category image, the `Content-type` can be manipulated to return an empty string for the extension and the `lang` parameter can be set to `.php.` to allow an attacker to save a file as `.PHP`. This allows the uploading of web shells which could lead to RCE on phpmyfaq.
### PoC
1. Generate a fake .GIF file that contains a php command using the tool `gifsicle`
a. Cmd: `gifsicle " > output.php.gif`
b. The contents of t
GHSA
phpMyFAQ's File Upload Bypass at Category Image Leads to RCE
ghsa·2024-03-25
CVE-2024-28105 [HIGH] CWE-434 phpMyFAQ's File Upload Bypass at Category Image Leads to RCE
phpMyFAQ's File Upload Bypass at Category Image Leads to RCE
### Summary
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.
### Details
In the file upload function of the category image, the `Content-type` can be manipulated to return an empty string for the extension and the `lang` parameter can be set to `.php.` to allow an attacker to save a file as `.PHP`. This allows the uploading of web shells which could lead to RCE on phpmyfaq.
### PoC
1. Generate a fake .GIF file that contains a php command using the tool `gifsicle`
a. Cmd: `gifsicle " > output.php.gif`
b. The contents of t
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
https://github.com/thorsten/phpMyFAQ/commit/9136883776af67dfdb0e8cf14f5e0ca22bf4f2e7https://github.com/thorsten/phpMyFAQ/security/advisories/GHSA-pwh2-fpfr-x5gfhttps://github.com/thorsten/phpMyFAQ/commit/9136883776af67dfdb0e8cf14f5e0ca22bf4f2e7https://github.com/thorsten/phpMyFAQ/security/advisories/GHSA-pwh2-fpfr-x5gf
2024-03-25
Published