CVE-2024-55889: Thorsten/phpmyfaq Thorsten/phpmyfaq Unintended File Download Triggered Vulnerability
MODERATECVE-2024-55889 is a MODERATE (CVSS 4.9) thorsten/phpmyfaq unintended file download triggered vulnerability (CWE-451: User Interface (UI) Misrepresentation of Critical Information) affecting Thorsten/phpmyfaq libraries in the Packagist ecosystem. The issue involves thorsten/phpmyfaq unintended file download triggered by embedded frames. Remediation is available by upgrading affected packages to version 3.2.10.
CVE-2024-55889 at a Glance
Security Impact
CVSS: 4.9
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N).
How to Fix CVE-2024-55889
To remediate this vulnerability, upgrade all affected Thorsten/phpmyfaq dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade thorsten/phpmyfaq to 3.2.10
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for thorsten/phpmyfaq
How to Check if You Are Affected
To determine whether your application is affected by CVE-2024-55889, inspect your project dependencies for Thorsten/phpmyfaq:
inspect dependencies for thorsten/phpmyfaq
Analyze the terminal output to locate any version of Thorsten/phpmyfaq in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 3.2.10), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-451: User Interface (UI) Misrepresentation of Critical Information, where the user interface (ui) does not properly represent critical information to the user, allowing the information - or its source - to be obscured or spoofed. this is often a component in phishing attacks. In Thorsten/phpmyfaq, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2024-55889 Affected Thorsten/phpmyfaq Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
thorsten/phpmyfaq
|
Packagist |
< 3.2.10
|
3.2.10
|
References
Frequently Asked Questions
What is CVE-2024-55889?
Which Thorsten/phpmyfaq versions are affected?
What version fixes CVE-2024-55889?
Is thorsten/phpmyfaq affected?
What is the CVSS score of CVE-2024-55889?
What CWE is associated with CVE-2024-55889?
How can I check Packagist dependencies for CVE-2024-55889?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-m3r7-8gw7-qwvc",
"modified" : "2025-08-14T22:16:40Z",
"published" : "2024-12-13T20:36:08Z",
"aliases" : [ "CVE-2024-55889" ],
"summary" : "thorsten/phpmyfaq Unintended File Download Triggered by Embedded Frames",
"details" : "### Summary\nA 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. \n\n### Details\nIn 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).\n\n\n### PoC\n\n1. 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&id=2\"\n\n\n3. in the FAQ record, insert a \"source code\" blob using the \"< >\" button\n4. insert in the following snippet: <p><iframe src=\"index.php?action=attachment&id=2\"></iframe></p> and save FAQ record\n5. once the edit page reloads, the malicious code will be downloaded onto the local machine without user interaction:\n\n\n(uploaded a POC for easy demonstration: https://roy.demo.phpmyfaq.de/admin/index.php?action=editentry&id=20&lang=en\nalthough a fresh installation overwrites this demo instance every 24 hours)\n\n(as a logged in normal user, visit: https://roy.demo.phpmyfaq.de/content/1/20/en/20.html)\n\n### Impact\nMalicious code or binaries could be dropped on visitors' machines when visiting the FAQ platform. Take a worm or ransomware for instance.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "thorsten/phpmyfaq"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "3.2.10"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/thorsten/phpMyFAQ/security/advisories/GHSA-m3r7-8gw7-qwvc"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-55889"
}, {
"type" : "WEB",
"url" : "https://github.com/thorsten/phpMyFAQ/commit/fa0f7368dc3288eedb1915def64ef8fb270f711d"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/thorsten/phpMyFAQ"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-451" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2024-12-13T20:36:08Z",
"nvd_published_at" : "2024-12-13T14:15:22Z"
}
}