ghsa-6648-6g96-mg35
Vulnerability from github
Summary
phpMyFAQ's user removal page allows an attacker to spoof another user's detail, and in turn make a compelling phishing case for removing another user's account.
Details
phpMyFAQ's user removal page allows an attacker to spoof another user's detail, and in turn make a compelling phishing case for removing another user's account. Whilst the front-end of this page doesn't allow changing the form details, an attacker can utilize a proxy to intercept this request and submit other data. Upon submitting this form, an email is sent to the administrator informing them that this user wants to delete their account. An administrator has no way of telling the difference between the actual user wishing to delete their account or the attacker issuing this for an account they do not control.
PoC
We are logged in as hacker
and visit /user/request-removal
. This brings us to the following page. We are not able to change the username
, Your name
and Your email address
fields on this page.
However, we intercept this request using a proxy tool such as BurpSuite.
We can now edit the request before sending it. We change the fields mentioned above to the details of another user, and send the request.
This results in the following email being sent to the administrator. For them, it looks like the victim wants to delete their account.
Impact
The impact of this vulnerability is that administrators cannot trust the emails sent by the platform. An attacker can easily make a compelling case to perform phishing and get victim accounts deleted.
{ "affected": [ { "package": { "ecosystem": "Packagist", "name": "phpmyfaq/phpmyfaq" }, "ranges": [ { "events": [ { "introduced": "0" }, { "fixed": "3.2.5" } ], "type": "ECOSYSTEM" } ] } ], "aliases": [ "CVE-2024-22202" ], "database_specific": { "cwe_ids": [ "CWE-284" ], "github_reviewed": true, "github_reviewed_at": "2024-02-05T20:20:40Z", "nvd_published_at": "2024-02-05T20:15:55Z", "severity": "MODERATE" }, "details": "### Summary\nphpMyFAQ\u0027s user removal page allows an attacker to spoof another user\u0027s detail, and in turn make a compelling phishing case for removing another user\u0027s account.\n\n### Details\nphpMyFAQ\u0027s user removal page allows an attacker to spoof another user\u0027s detail, and in turn make a compelling phishing case for removing another user\u0027s account. Whilst the front-end of this page doesn\u0027t allow changing the form details, an attacker can utilize a proxy to intercept this request and submit other data. Upon submitting this form, an email is sent to the administrator informing them that this user wants to delete their account. An administrator has no way of telling the difference between the actual user wishing to delete their account or the attacker issuing this for an account they do not control.\n\n### PoC\nWe are logged in as `hacker` and visit `/user/request-removal`. This brings us to the following page. We are not able to change the `username`, `Your name` and `Your email address` fields on this page.\n\n\nHowever, we intercept this request using a proxy tool such as BurpSuite.\n\n\nWe can now edit the request before sending it. We change the fields mentioned above to the details of another user, and send the request.\n\n\nThis results in the following email being sent to the administrator. For them, it looks like the victim wants to delete their account.\n\n\n### Impact\nThe impact of this vulnerability is that administrators cannot trust the emails sent by the platform. An attacker can easily make a compelling case to perform phishing and get victim accounts deleted.\n", "id": "GHSA-6648-6g96-mg35", "modified": "2024-02-05T23:05:03Z", "published": "2024-02-05T20:20:40Z", "references": [ { "type": "WEB", "url": "https://github.com/thorsten/phpMyFAQ/security/advisories/GHSA-6648-6g96-mg35" }, { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-22202" }, { "type": "WEB", "url": "https://github.com/thorsten/phpMyFAQ/commit/1348dcecdaec5a5714ad567c16429432417b534d" }, { "type": "PACKAGE", "url": "https://github.com/thorsten/phpMyFAQ" }, { "type": "WEB", "url": "https://www.phpmyfaq.de/security/advisory-2024-02-05" } ], "schema_version": "1.4.0", "severity": [ { "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H", "type": "CVSS_V3" } ], "summary": "phpMyFAQ User Removal Page Allows Spoofing Of User Details" }
Sightings
Author | Source | Type | Date |
---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.