CVE-2024-28106: phpMyFAQ Stored XSS at FAQ News Content
Summary By manipulating the news parameter in a POST request, an attacker can inject malicious JavaScript code. Upon browsing to the compromised news page, the XSS payload triggers.
PoC 1. Edit a FAQ news, intercept the request and modify the news parameter in the POST body with the following payload: %3cscript%3ealert('xssContent')%3c%2fscript%3e 2. Browse to the particular news page and the XSS should pop up. !image
Impact This allows an attacker to execute arbitrary client side JavaScript within the context of another user's phpMyFAQ session
Other sources
phpMyFAQ is an open source FAQ web application for PHP 8.1+ and MySQL, PostgreSQL and other databases. By manipulating the news parameter in a POST request, an attacker can inject malicious JavaScript code. Upon browsing to the compromised news page, the XSS payload triggers. This vulnerability is fixed in 3.2.6.
— MITRE
Affected Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2024-28106?
CVE-2024-28106 has a medium severity level due to its potential for cross-site scripting (XSS) attacks.
How do I fix CVE-2024-28106?
To fix CVE-2024-28106, upgrade to phpMyFAQ version 3.2.6 or later.
What is the impact of CVE-2024-28106?
The impact of CVE-2024-28106 allows attackers to execute arbitrary JavaScript in the context of the user's browser session.
Which versions of phpMyFAQ are affected by CVE-2024-28106?
CVE-2024-28106 affects phpMyFAQ version 3.2.5 and earlier.
Can CVE-2024-28106 be exploited remotely?
Yes, CVE-2024-28106 can be exploited remotely by manipulating request parameters.