{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2023-40033","id":"CVE-2023-40033","title":"Server-Side Request Forgery via Avatar upload in flarum","description":"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 vulne","descriptionLong":"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.","published":"2023-08-16T20:34:11.445Z","updated":"2026-10-28T02:30:34.010833434Z","reserved":"2023-08-08T13:46:25.244Z","status":"Modified","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N","rating":"high","source":"GitHub_M"},"metrics":[{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N","rating":"high","source":"GitHub_M"},{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N","rating":"high","source":"github.com"},{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N","rating":"high","source":"NVD"},{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N","rating":"high","source":"OSV"},{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N","rating":"high","source":"GitHub"}],"rating":"high","products":["flarum framework"],"affectedProducts":[{"vendor":"flarum","product":"framework","defaultStatus":null,"versions":[{"version":"< 1.8.0","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"Packagist","name":"flarum/core","purl":"pkg:composer/flarum/core","ranges":["<1.8.0"],"fixed":["1.8.0"],"advisory":"GHSA-67c6-q4j4-hccg"},{"ecosystem":"Packagist","name":"flarum/framework","purl":"pkg:composer/flarum/framework","ranges":["<1.8.0"],"fixed":["1.8.0"],"advisory":"GHSA-67c6-q4j4-hccg"}],"cwes":["CWE-918","CWE-98"],"aliases":["GHSA-67c6-q4j4-hccg"],"references":[{"url":"https://github.com/flarum/framework/security/advisories/GHSA-67c6-q4j4-hccg","tags":["x_refsource_CONFIRM","x_transferred","Vendor Advisory","advisory","web"]},{"url":"https://github.com/flarum/framework/commit/d1059c1cc79fe61f9538f3da55e8f42abbede570","tags":["x_refsource_MISC","x_transferred","Patch","fix","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/40xxx/CVE-2023-40033.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-40033","tags":["advisory"]},{"url":"https://github.com/flarum/framework","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00504,"epssPercentile":0.43879,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2023-40033","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-40033","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2023-40033","ok":true,"note":"2 packages"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-67c6-q4j4-hccg","ok":true,"note":"GHSA-67c6-q4j4-hccg"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2023-40033","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}