Description (CNA)
phpMyFAQ before 4.1.9 contains an SQL injection vulnerability in PdoMysql::escape(), which escapes single quotes with backslashes that are treated literally when MySQL or MariaDB runs in NO_BACKSLASH_ESCAPES mode. Unauthenticated attackers can send a Unicode right single quotation mark in the search parameter of api/autocomplete, which is normalized to an ASCII quote, to read credentials and configuration secrets, modify records, or drop tables.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| thorsten / phpMyFAQ | affected 0 before 4.1.9; unaffected 4.1.9; affected 4.2.0-alpha before 4.2.0-beta; unaffected 4.2.0-beta |
CWE
CWE-89
References
- https://github.com/thorsten/phpMyFAQ/security/advisories/GHSA-98p2-cg7p-h385
- https://www.vulncheck.com/advisories/phpmyfaq-before-4.1.9-sql-injection-via-api-autocomplete-search-endpoint
ADP enrichment
No English description supplied.