Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-46364— phpMyFAQ - SQL Injection via User-Agent Header in BuiltinCaptcha

Quick assessment

Affected
thorsten phpmyfaq
Exploitation
Public or AI PoC available; prioritize validation
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

phpMyFAQ是Thorsten Rinne个人开发者的一个多语言、完全由数据库驱动的常见问题解答系统。 phpMyFAQ 4.1.2之前版本存在SQL注入漏洞,该漏洞源于BuiltinCaptcha::garbageCollector和BuiltinCaptcha::saveCaptcha方法将未清理的User-Agent标头插入DELETE和INSERT查询,可能导致未经身份验证的攻击者通过公共GET /api/captcha端点利用恶意User-Agent标头执行基于时间的盲SQL注入,提取用户凭

CVSS 9.8 · Critical EPSS 2.12% · P81

Public Exploits 1

Possible ATT&CK Techniques 1 AI

T1190 · Exploit Public-Facing Application

Affected Version Matrix 2

VendorProduct Version RangeStatus
thorsten phpmyfaq < 4.1.2 affected
4.1.2 unaffected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-46364

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
phpMyFAQ - SQL Injection via User-Agent Header in BuiltinCaptcha
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
SQL命令中使用的特殊元素转义处理不恰当(SQL注入)
Source: CVE Program / CVE List V5
Vulnerability Title
phpMyFAQ SQL注入漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
phpMyFAQ是Thorsten Rinne个人开发者的一个多语言、完全由数据库驱动的常见问题解答系统。 phpMyFAQ 4.1.2之前版本存在SQL注入漏洞,该漏洞源于BuiltinCaptcha::garbageCollector和BuiltinCaptcha::saveCaptcha方法将未清理的User-Agent标头插入DELETE和INSERT查询,可能导致未经身份验证的攻击者通过公共GET /api/captcha端点利用恶意User-Agent标头执行基于时间的盲SQL注入,提取用户凭
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
thorsten phpmyfaq 0 ~ 4.1.2 -

II. Public POCs for CVE-2026-46364

# POC Description Source Link Shenlong Link
1 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. https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2026/CVE-2026-46364.yaml POC Details
AI-Generated POC Premium
Qwen3.6-35B-A3B · 10361 chars
Pro+ exclusive includes:
Vulnerability reproduction recording (real sandbox build + trigger, exclusive)
In-depth vulnerability mechanism
Trigger conditions & impact
Full executable POC code
Exploit chain & mitigation
POC zip download
100+ AI POC generations per month

III. Intelligence Information for CVE-2026-46364

请登录查看更多情报信息。

Patches & Fixes for CVE-2026-46364 (1)

Vendor Advisories for CVE-2026-46364 (2)

Same Patch Batch · thorsten · 2026-05-15 · 13 CVEs total

CVE-2026-45010 9.1 CRITICAL phpMyFAQ - Unauthenticated Two-Factor Authentication Brute-Force via /admin/check Endpoint
CVE-2026-46367 7.6 HIGH phpMyFAQ - Stored XSS via Utils::parseUrl() in Comment Rendering
CVE-2026-46359 7.5 HIGH phpMyFAQ - SQL Injection in CurrentUser::setTokenData via Unescaped OAuth Token Fields
CVE-2026-46366 7.5 HIGH phpMyFAQ - Unauthenticated Information Disclosure via getIdFromSolutionId Permission Bypas
CVE-2026-46361 6.9 MEDIUM phpMyFAQ - Stored Cross-Site Scripting via raw Filter in search.twig
CVE-2026-45008 6.5 MEDIUM phpMyFAQ - Path Traversal in Client::deleteClientFolder via URL Parameter
CVE-2026-46362 6.5 MEDIUM phpMyFAQ - Authorization Bypass in Admin Pages via Non-Terminating Permission Check
CVE-2026-46360 5.4 MEDIUM phpMyFAQ - Stored XSS via Entity Decoding Depth Limit Bypass in SVG Sanitizer
CVE-2026-46363 5.4 MEDIUM phpMyFAQ - Stored XSS in FAQ Question/Answer via Encode-Decode Bypass
CVE-2026-46365 5.4 MEDIUM phpMyFAQ - Missing Authorization in Tag Deletion Endpoint
CVE-2026-45007 4.3 MEDIUM phpMyFAQ - Missing Permission Check on 12 Configuration API Endpoints Allows Information D
CVE-2026-45009 4.3 MEDIUM phpMyFAQ - Insufficient Authorization Check in Admin API Endpoints

IV. Related Vulnerabilities

V. Comments for CVE-2026-46364

No comments yet


Leave a comment