phpMyFAQ
phpMyFAQ - SQL Injection via User-Agent Header in BuiltinCaptcha
phpMyFAQ before 4.1.2 contains an unauthenticated SQL injection vulnerability in BuiltinCaptcha::garbageCollector() and BuiltinCaptcha::saveCaptcha() methods that interpolate unsanitized User-Agent headers into DELETE and INSERT queries. Unauthenticated attackers can exploit the public GET /api/captcha endpoint by crafting malicious User-Agent headers to perform time-based blind SQL injection, extracting sensitive data including user credentials, admin tokens, and SMTP credentials from the database.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 4.1.2
Fixed in 4.1.2
Mitigation
Upgrade phpmyfaq to 4.1.2 or later.
References
Timeline
Days relative to CVE publicationFirst public PoC 20 days after publication; not in CISA KEV. First PoC: nuclei template: phpMyFAQ <= 4.1.1 - SQL Injection (nuclei template, 4 Jun 2026).
PoC repositories
Found on GitHub.No PoC repositories found yet.
Other public exploits
Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.| Source | Title | Published | Found by us |
|---|---|---|---|
| nuclei template | nuclei template: phpMyFAQ <= 4.1.1 - SQL Injection | 4 Jun 2026 | 14 Nov 2026 |