ghsa-9hhf-xmcw-r3xg
Vulnerability from github
Summary
The 'sharing FAQ' functionality allows any unauthenticated actor to misuse the phpMyFAQ application to send arbitrary emails to a large range of targets.
Details
The phpMyFAQ application has a functionality where anyone can share a FAQ item to others. The front-end of this functionality allows any phpMyFAQ articles to be shared with 5 email addresses. The application will then send these 5 emails. However, there are no controls over what link and content are shared. Furthermore, any unauthenticated actor can perform this action. There is a CAPTCHA in place, however the amount of people you email with a single request is not limited to 5 by the backend. An attacker can thus solve a single CAPTCHA and send thousands of emails at once.
PoC
We send the following form and capture the request.
We now change the body to contain 50 email addresses instead of just 1, and send the request. The attacker can also change the body of the email to any phishing message.
Below are the logs of the email server, proving that all these emails were sent.
An attacker can also change the link that is sent in these emails. Making phishing even more possible.
Impact
An attacker can utilize the target application's email server to send phishing messages. This can get the server on a blacklist, causing all emails to end up in spam. It can also lead to reputational damages.
{ "affected": [ { "package": { "ecosystem": "Packagist", "name": "phpmyfaq/phpmyfaq" }, "ranges": [ { "events": [ { "introduced": "0" }, { "fixed": "3.2.5" } ], "type": "ECOSYSTEM" } ] } ], "aliases": [ "CVE-2024-22208" ], "database_specific": { "cwe_ids": [ "CWE-863" ], "github_reviewed": true, "github_reviewed_at": "2024-02-05T20:21:25Z", "nvd_published_at": "2024-02-05T21:15:11Z", "severity": "MODERATE" }, "details": "### Summary\nThe \u0027sharing FAQ\u0027 functionality allows any unauthenticated actor to misuse the phpMyFAQ application to send arbitrary emails to a large range of targets.\n\n### Details\nThe phpMyFAQ application has a functionality where anyone can share a FAQ item to others. The front-end of this functionality allows any phpMyFAQ articles to be shared with 5 email addresses. The application will then send these 5 emails. However, there are no controls over what link and content are shared. Furthermore, any unauthenticated actor can perform this action. There is a CAPTCHA in place, however the amount of people you email with a single request is not limited to 5 by the backend. An attacker can thus solve a single CAPTCHA and send thousands of emails at once. \n\n### PoC\nWe send the following form and capture the request.\n\n\nWe now change the body to contain 50 email addresses instead of just 1, and send the request. The attacker can also change the body of the email to any phishing message.\n\n\nBelow are the logs of the email server, proving that all these emails were sent.\n\n\nAn attacker can also change the link that is sent in these emails. Making phishing even more possible.\n\n\n### Impact\nAn attacker can utilize the target application\u0027s email server to send phishing messages. This can get the server on a blacklist, causing all emails to end up in spam. It can also lead to reputational damages.\n", "id": "GHSA-9hhf-xmcw-r3xg", "modified": "2024-02-05T23:05:22Z", "published": "2024-02-05T20:21:25Z", "references": [ { "type": "WEB", "url": "https://github.com/thorsten/phpMyFAQ/security/advisories/GHSA-9hhf-xmcw-r3xg" }, { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-22208" }, { "type": "WEB", "url": "https://github.com/thorsten/phpMyFAQ/commit/a34d94ab7b1be9256a9ef898f18ea6bfb63f6f1e" }, { "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:N/UI:N/S:U/C:N/I:L/A:L", "type": "CVSS_V3" } ], "summary": "phpMyFAQ sharing FAQ functionality can easily be abused for phishing purposes" }
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.