phpMyFAQ SQL Injection at "Save News"
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- SQL injection
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-89.
Summary
phpMyFAQ is an open source FAQ web application for PHP 8.1+ and MySQL, PostgreSQL and other databases. A SQL injection vulnerability has been discovered in the the "Add News" functionality due to improper escaping of the email address. This allows any authenticated user with the rights to add/edit FAQ news to exploit this vulnerability to exfiltrate data, take over accounts and in some cases, even achieve RCE. The vulnerable field lies in the `authorEmail` field which uses PHP's `FILTER_VALIDATE_EMAIL` filter. This filter is insufficient in protecting against SQL injection attacks and should still be properly escaped. However, in this version of phpMyFAQ (3.2.5), this field is not escaped properly can be used together with other fields to fully exploit the SQL injection vulnerability. This vulnerability is fixed in 3.2.6.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| thorsten | phpMyFAQ | 3.2.5 | — | No fix listed | CNA |
| — | phpmyfaq/phpmyfaq (Packagist) | 3.2.5 to before 3.2.6 | 3.2.6 | Patch available | GHSA-qgxx-4xv5-6hcw |
- phpMyFAQ Vendorthorsten Affected 3.2.5 Fixed in — No fix listed CNA
- phpmyfaq/phpmyfaq (Packagist) Vendor— Affected 3.2.5 to before 3.2.6 Fixed in 3.2.6 Patch available GHSA-qgxx-4xv5-6hcw
Remediation
- Fix · GHSA-qgxx-4xv5-6hcw phpmyfaq/phpmyfaq (Packagist) Fixed in 3.2.6 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2024-27299
- 2026-10-03 Alias added: GHSA-qgxx-4xv5-6hcw
References
Exploit 2
More thorsten Phpmyfaq vulnerabilities
- TI-2023-00296 Improper Authentication in thorsten/phpmyfaq CVSS 3.1CRITICAL 9.8
- TI-2026-53313 phpMyFAQ 3.1.0 through 4.1.6 Authentication Bypass via LDAP CVSS 4.0HIGH 8.8
- TI-2025-37331 phpMyFAQ duplicate email registration allows multiple accounts with the same email CVSS 3.1CRITICAL 9.8
- TI-2024-36257 phpMyFAQ Generates an Error Message Containing Sensitive Information if database server is not available CVSS 3.1HIGH 8.6
- TI-2023-03720 Improper Neutralization of Formula Elements in a CSV File in thorsten/phpmyfaq CVSS 3.1CRITICAL 9.8
- TI-2023-00749 Command Injection in thorsten/phpmyfaq CVSS 3.1CRITICAL 9.8
Sources
- CVE-2024-27299 · CVE Program
- CVE-2024-27299 · NVD
- FIRST EPSS
- GHSA-qgxx-4xv5-6hcw · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences