Description
phpMyFAQ before 4.1.6 fails to validate path traversal sequences in the existing_image field during category updates, allowing authenticated attackers to delete arbitrary files by exploiting insufficient sanitization in Image::delete(). Attackers can delete the database.php configuration file to disable the installation gate and access the public setup wizard to create new superadmin accounts.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| thorsten | phpMyFAQ | < 4.1.6 | 4.1.6 |
References
- GitHub Security Advisory (GHSA-mh9w-5hr8-3272) vendor-advisory
- VulnCheck Advisory: phpMyFAQ before 4.1.6 Path Traversal via category image deletion third-party-advisory