Description
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.
Remediation
References
Related Vulnerabilities
Apache Traffic Server NULL Pointer Dereference Vulnerability (CVE-2026-58161)
Plone CMS CVE-2017-1000483 Vulnerability (CVE-2017-1000483)
WordPress Plugin WP Visitor Statistics (Real Time Traffic) Unspecified Vulnerability (4.8)
Ruby Use of Externally-Controlled Format String Vulnerability (CVE-2018-8778)
MediaWiki Missing Authorization Vulnerability (CVE-2019-12470)