{"id":"CVE-2023-40033","published":"2023-08-16T20:34:11Z","modified":"2024-10-02T16:00:40Z","title":"Server-Side Request Forgery via Avatar upload in flarum","vendor":"flarum","product":"framework","tier":"tail","description":{"text":"Flarum is an open source forum software. Flarum is affected by a vulnerability that allows an attacker to conduct a Blind Server-Side Request Forgery (SSRF) attack or disclose any file on the server, even with a basic user account on any Flarum forum. By uploading a file containing a URL and spoofing the MIME type, an attacker can manipulate the application to execute unintended actions. The vulnerability is due to the behavior of the `intervention/image` package, which attempts to interpret the supplied file contents as a URL, which then fetches its contents. This allows an attacker to exploit the vulnerability to perform SSRF attacks, disclose local file contents, or conduct a blind oracle attack. This has been patched in Flarum version 1.8.0. Users are advised to upgrade. Users unable to upgrade may disable PHP's `allow_url_fopen` which will prevent the fetching of external files via URLs as a temporary workaround for the SSRF aspect of the vulnerability.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.1,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00504,"percentile":0.44021,"provenance":"source"},"cwes":[{"id":"CWE-918","name":"Server-Side Request Forgery"}],"references":[{"url":"https://github.com/flarum/framework/security/advisories/GHSA-67c6-q4j4-hccg","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/flarum/framework/commit/d1059c1cc79fe61f9538f3da55e8f42abbede570","tags":["x_refsource_MISC"]}],"priority":{"score":13.8,"factors":[{"name":"EPSS percentile","points":8.8},{"name":"CVSS severity","points":4.97}]},"vendorSlug":"flarum","affectedVersions":[{"vendor":"flarum","product":"framework","versions":["< 1.8.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-10-02T15:56:22.975991Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"flarum/core","vulnerableRanges":["<1.8.0"],"patched":["1.8.0"],"from":["GHSA-67c6-q4j4-hccg"],"provenance":"source"},{"ecosystem":"Packagist","package":"flarum/framework","vulnerableRanges":["<1.8.0"],"patched":["1.8.0"],"from":["GHSA-67c6-q4j4-hccg"],"provenance":"source"}],"summary":{"text":"Flarum, the open source forum software's framework, contains a Server-Side Request Forgery flaw in its avatar upload handling, where the intervention/image package interprets an uploaded file's contents as a URL and fetches it. An attacker with a basic user account over the network, and no user interaction, can upload a file containing a URL with a spoofed MIME type to perform blind SSRF, disclose local file contents, or run a blind oracle attack.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:40:15Z"},"euvd":{"id":"EUVD-2023-2223","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2023-22488","published":"2023-01-12","fixed":"1.6.3","kev":false},{"cve":"CVE-2023-22489","published":"2023-01-13","fixed":"1.6.3","kev":false},{"cve":"CVE-2023-27577","published":"2023-03-10","fixed":"1.7.0","kev":false,"link":{"from":"CVE-2023-27577","to":"CVE-2023-40033","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:flarum/core","fromFixed":"1.7.0","toFixed":"1.8.0","daysApart":159}]}},{"cve":"CVE-2023-40033","published":"2023-08-16","fixed":"1.8.0","kev":false},{"cve":"CVE-2024-21641","published":"2024-01-05","fixed":"1.8.5","kev":false,"link":{"from":"CVE-2023-40033","to":"CVE-2024-21641","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:flarum/core","fromFixed":"1.8.0","toFixed":"1.8.5","daysApart":142},{"kind":"version-step","provenance":"source","package":"Packagist:flarum/framework","fromFixed":"1.8.0","toFixed":"1.8.5","daysApart":142}]}},{"cve":"CVE-2025-27794","published":"2025-03-12","fixed":"1.8.10","kev":false},{"cve":"CVE-2026-41887","published":"2026-05-08","fixed":"2.0.0-rc.1","kev":false}],"package":"Packagist:flarum/core"}}