Skip to content
CVE PROGRAM SOURCE RECORD9.3 Critical

CVE-2026-46364

phpMyFAQ - SQL Injection via User-Agent Header in BuiltinCaptcha

Description

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 products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

thorsten phpmyfaq

Default version status: unaffected

  • 0 to < 4.1.2affected
  • 4.1.2unaffected

References