CVE-2024-29196: phpMyFAQ Path Traversal in Attachments

Published Mar 25, 2024
·
Updated

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

2 affected componentsFixes available
composer/phpmyfaq/phpmyfaq=3.2.5
3.2.6
PhpMyFaq phpmyfaq=3.2.5

Event History

Mar 25, 2024
Advisory Published
via GitHub·07:35 PM
Mar 26, 2024
CVE Published
via MITRE·03:01 AM
Data Sourced
via MITRE·03:01 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·03:15 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

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.

2

How do I fix CVE-2024-29196?

To fix CVE-2024-29196, upgrade to phpMyFAQ version 3.2.6 or later.

3

Who is affected by CVE-2024-29196?

CVE-2024-29196 affects users of phpMyFAQ version 3.2.5.

4

What type of vulnerability is CVE-2024-29196?

CVE-2024-29196 is a Path Traversal vulnerability.

5

Can attackers exploit CVE-2024-29196 without admin rights?

No, attackers need admin rights to exploit CVE-2024-29196.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203