Description (CNA)
phpMyFAQ is an open source FAQ web application. Prior to version 4.1.1, the searchCustomPages() method in phpmyfaq/src/phpMyFAQ/Search.php uses real_escape_string() (via escape()) to sanitize the search term before embedding it in LIKE clauses. However, real_escape_string() does not escape SQL LIKE metacharacters % (match any sequence) and _ (match any single character). An unauthenticated attacker can inject these wildcards into search queries, causing them to match unintended records — including content that was not meant to be surfaced — resulting in information disclosure. This issue has been patched in version 4.1.1.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| thorsten / phpMyFAQ | affected < 4.1.1 |
CWE
CWE-943
References
- https://github.com/thorsten/phpMyFAQ/security/advisories/GHSA-gcp9-5jc8-976x
- https://github.com/thorsten/phpMyFAQ/releases/tag/4.1.1
ADP enrichment
No English description supplied.
No references supplied.