CVE-2024-28107: phpMyFAQ SQL injections at insertentry & saveentry
8.8
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.55473%
CWE
Published
3/25/2024
Updated
3/25/2024
KEV Status
No
Technology
PHP
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
phpmyfaq/phpmyfaq | composer | = 3.2.5 | 3.2.6 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from missing escaping of email and notes fields in SQL query construction. The commit diff shows these fields were added to SQL queries without proper escaping in both create() and update() methods of the Faq class. These methods handle insertentry and saveentry actions respectively, as they are responsible for building and executing the SQL queries that were shown vulnerable in the PoCs. The direct use of user-controlled input (email and notes) without escaping makes these functions the injection points.