CVE-2024-29196: phpMyFAQ Path Traversal in Attachments
Summary There is a Path Traversal vulnerability in Attachments that allows attackers with admin rights to upload malicious files to other locations of the web root.
PoC 1. In settings, the attachment location is vulnerable to path traversal and can be set to e.g ..\hacked !image
2. When the above is set, attachments files are now uploaded to e.g C:\Apps\XAMPP\htdocs\hacked instead of C:\Apps\XAMPP\htdocs\phpmyfaq\attachments
3. Verify this by uploading an attachment and see that the "hacked" directory is now created in the web root folder with the attachment file inside. !image !image
Impact Attackers can potentially upload malicious files outside the specified directory.
Other sources
phpMyFAQ is an open source FAQ web application for PHP 8.1+ and MySQL, PostgreSQL and other databases. There is a Path Traversal vulnerability in Attachments that allows attackers with admin rights to upload malicious files to other locations of the web root. This vulnerability is fixed in 3.2.6.
— NVD
Affected Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2024-29196?
CVE-2024-29196 is classified as a high severity vulnerability due to its potential to allow unauthorized file uploads.
How do I fix CVE-2024-29196?
To fix CVE-2024-29196, upgrade to phpMyFAQ version 3.2.6 or later.
Who is affected by CVE-2024-29196?
CVE-2024-29196 affects users of phpMyFAQ version 3.2.5.
What type of vulnerability is CVE-2024-29196?
CVE-2024-29196 is a Path Traversal vulnerability.
Can attackers exploit CVE-2024-29196 without admin rights?
No, attackers need admin rights to exploit CVE-2024-29196.