CVE-2024-28107
PHP vulnerability analysis and mitigation

Overview

phpMyFAQ, an open source FAQ web application for PHP 8.1+ and MySQL/PostgreSQL, was found to contain a SQL injection vulnerability (CVE-2024-28107) in version 3.2.5. The vulnerability was discovered in the insertentry & saveentry functions when modifying records, specifically due to improper escaping of email addresses. The issue was fixed in version 3.2.6 (GitHub Advisory).

Technical details

The vulnerability is classified as CWE-89 (SQL Injection) with a CVSS v3.1 base score of 8.8 (HIGH), having a vector string of CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H. The issue stems from insufficient escaping of email address values in the insertentry and saveentry functions, allowing for SQL injection attacks through manipulated email parameters (GitHub Advisory).

Impact

The vulnerability allows authenticated users with FAQ editing rights to execute malicious SQL queries, potentially leading to data exfiltration, account takeover, and in some cases, remote code execution (RCE). Attackers can exploit this to read sensitive data from the database, compromise user credentials, and potentially execute arbitrary commands on the server (GitHub Advisory).

Exploitability

The vulnerability is exploitable by authenticated users with rights to add/edit FAQ entries. Proof of Concept exploits have been demonstrated using both the insertentry and saveentry endpoints, where manipulated email and notes parameters can be used to execute SQL commands such as pg_sleep(5) to verify the injection (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been patched in phpMyFAQ version 3.2.6. The fix involves proper escaping of values in the affected functions, as demonstrated in the patch commit (GitHub Patch).

Additional resources


SourceThis report was generated using AI

Related PHP vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-46670CRITICAL9.8
  • PHP logoPHP
  • yeswiki/yeswiki
NoYesAug 11, 2026
GHSA-wg23-69c2-gjc8CRITICAL9.1
  • PHP logoPHP
  • craftcms/cms
NoYesAug 07, 2026
CVE-2026-71488HIGH7.5
  • PHP logoPHP
  • commonmark
NoYesAug 06, 2026
CVE-2026-62996MEDIUM6.9
  • PHP logoPHP
  • smarty/smarty
NoYesAug 07, 2026
CVE-2026-62992MEDIUM6.9
  • PHP logoPHP
  • smarty/smarty
NoYesAug 07, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management