漏洞描述
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.
影响产品
修复建议
建议关注厂商安全公告,及时升级至已修复版本,并结合实际资产暴露情况采取缓解措施。
参考链接
github.comhttps://github.com/thorsten/phpMyFAQ/security/advisories/GHSA-289f-fq7w-6q2w↗www.phpmyfaq.dehttps://www.phpmyfaq.de↗nvd.nist.govhttp://nvd.nist.gov/vuln/detail/CVE-2026-46364↗github.comhttps://github.com/thorsten/phpMyFAQ/commit/b9f25109fddb38eee19987183798638d07943f92↗www.vulncheck.comhttps://www.vulncheck.com/advisories/phpmyfaq-sql-injection-via-user-agent-header-in-builtincaptcha↗