Description
phpMyFAQ before 4.1.7 contains a SQL injection vulnerability in the glossary create and update endpoints caused by truncating an escaped string before embedding it in a SQL literal. Authenticated users with glossary add or edit permissions can craft a payload with a dangling backslash to escape the closing quote and inject arbitrary SQL commands to read sensitive database information.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| thorsten | phpMyFAQ | < 4.1.7 | 4.1.7 |
References
- GitHub Security Advisory (GHSA-79h3-6hxj-g98h) vendor-advisory
- VulnCheck Advisory: phpMyFAQ before 4.1.7 SQL Injection via Glossary third-party-advisory