CVE-2024-55889: phpMyFAQ Vulnerable to Unintended File Download Triggered by Embedded Frames

Published Dec 13, 2024
·
Updated

Summary A vulnerability exists in the FAQ Record component where a privileged attacker can trigger a file download on a victim's machine upon page visit by embedding it in an <iframe> element without user interaction or explicit consent.

Details In http://localhost/admin/index.php?action=editentry&id=20&lang=en, where a FAQ record is either created or edited, an attacker can insert an iframe, as "source code", pointing to a prior "malicious" attachment that the attacker has uploaded via FAQ "new attachment" upload, such that any page visits to this FAQ will trigger an automated download (from the edit screen, download is automated; from the faq page view as a normal user, depending on the browser, a pop up confirmation may be presented before the actual download. Firebox browser, for instance, does not require any interactions). !image

PoC

1. create a new FAQ record and upload a "malicious" file - in my case, I uploaded an eicar file. take note of the uri, ie <p><iframe "index.php?action=attachment&amp;id=2" !image

3. in the FAQ record, insert a "source code" blob using the "< >" button 4. insert in the following snippet: <p><iframe src="index.php?action=attachment&amp;id=2"></iframe></p> and save FAQ record 5. once the edit page reloads, the malicious code will be downloaded onto the local machine without user interaction: !image

(uploaded a POC for easy demonstration: https://roy.demo.phpmyfaq.de/admin/index.php?action=editentry&id=20&lang=en although a fresh installation overwrites this demo instance every 24 hours)

(as a logged in normal user, visit: https://roy.demo.phpmyfaq.de/content/1/20/en/20.html)

Impact Malicious code or binaries could be dropped on visitors' machines when visiting the FAQ platform. Take a worm or ransomware for instance.

Other sources

phpMyFAQ is an open source FAQ web application. Prior to version 3.2.10, a vulnerability exists in the FAQ Record component where a privileged attacker can trigger a file download on a victim's machine upon page visit by embedding it in an <iframe> element without user interaction or explicit consent. Version 3.2.10 fixes the issue.

MITRE

Affected Software

2 affected componentsFixes available
composer/thorsten/phpmyfaq<3.2.10
3.2.10
PhpMyFaq phpmyfaq<3.2.10

Event History

Dec 13, 2024
CVE Published
via MITRE·01:44 PM
Data Sourced
via MITRE·01:44 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·02:15 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·02:15 PM
RemedyAffected Software
Advisory Published
via GitHub·08:36 PM
Apr 16, 2025
Exploit Published
12:00 AM
Known Exploited
09:51 AM

Frequently Asked Questions

1

What is the severity of CVE-2024-55889?

CVE-2024-55889 is considered a high-severity vulnerability due to its potential for exploitation by privileged attackers.

2

How do I fix CVE-2024-55889?

To fix CVE-2024-55889, upgrade to version 3.2.10 or later of the thorsten/phpmyfaq package.

3

What type of attack does CVE-2024-55889 enable?

CVE-2024-55889 enables attackers to trigger unwanted file downloads on a victim's machine through an embedded <iframe>.

4

Who is affected by CVE-2024-55889?

Users running versions of thorsten/phpmyfaq below 3.2.10 are affected by CVE-2024-55889.

5

Is user interaction required for CVE-2024-55889 to be exploited?

No, CVE-2024-55889 can be exploited without user interaction or explicit consent.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203