CVE-2026-46359
7.5thorsten · phpMyFAQ
phpMyFAQ is susceptible to a SQL injection vulnerability via unescaped OAuth token fields, potentially allowing for arbitrary command execution.
Executive summary
An SQL injection vulnerability in phpMyFAQ allows remote attackers to compromise the underlying database, leading to potential total system impact.
Vulnerability
This vulnerability (CWE-89) occurs due to improper neutralization of special elements in SQL commands within the currentUser->setTokenData function when processing unescaped OAuth token fields.
Business impact
This SQL injection vulnerability permits an attacker to manipulate database queries, potentially leading to unauthorized data access, modification, or total system compromise. The CVSS score of 7.5 underscores the critical nature of this flaw, as it allows for high technical impact on the confidentiality, integrity, and availability of the application.
Remediation
Immediate Action: Upgrade to phpMyFAQ version 4.1.2 or later to incorporate the necessary input sanitization fixes.
Proactive Monitoring: Inspect database logs for abnormal SQL syntax or unexpected query structures that suggest injection attempts.
Compensating Controls: Utilize a Web Application Firewall (WAF) configured with SQL injection protection rules to block malicious payloads targeting OAuth token fields.
Exploitation status
Public Exploit Available: No (Exploit_available: false)
Analyst recommendation
SQL injection is a severe security flaw that can lead to complete database compromise. Security teams must ensure all instances of phpMyFAQ are updated to version 4.1.2 immediately to neutralize this threat and prevent potential data breaches.