{"api_version":"1","generated_at":"2026-05-12T19:27:44+00:00","cve":"CVE-2023-40033","urls":{"html":"https://cve.report/CVE-2023-40033","api":"https://cve.report/api/cve/CVE-2023-40033.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2023-40033","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2023-40033"},"summary":{"title":"CVE-2023-40033","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 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.","state":"PUBLIC","assigner":"security-advisories@github.com","published_at":"2023-08-16 21:15:00","updated_at":"2023-08-25 18:10:00"},"problem_types":["CWE-918"],"metrics":[],"references":[{"url":"https://github.com/flarum/framework/security/advisories/GHSA-67c6-q4j4-hccg","name":"https://github.com/flarum/framework/security/advisories/GHSA-67c6-q4j4-hccg","refsource":"MISC","tags":[],"title":"LFI and Blind SSRF via Avatar upload · Advisory · flarum/framework · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/flarum/framework/commit/d1059c1cc79fe61f9538f3da55e8f42abbede570","name":"https://github.com/flarum/framework/commit/d1059c1cc79fe61f9538f3da55e8f42abbede570","refsource":"MISC","tags":[],"title":"fix: improve avatar upload functionality · flarum/framework@d1059c1 · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2023-40033","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-40033","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2023","cve_id":"40033","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"flarum","cpe5":"flarum","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2023-40033","qid":"994868","title":"PHP (Composer) Security Update for flarum/core (GHSA-67c6-q4j4-hccg)"}]},"source_records":{"cve_program":{"data_version":"4.0","data_type":"CVE","data_format":"MITRE","CVE_data_meta":{"ID":"CVE-2023-40033","ASSIGNER":"security-advisories@github.com","STATE":"PUBLIC"},"description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-918: Server-Side Request Forgery (SSRF)","cweId":"CWE-918"}]}]},"affects":{"vendor":{"vendor_data":[{"vendor_name":"flarum","product":{"product_data":[{"product_name":"framework","version":{"version_data":[{"version_affected":"=","version_value":"< 1.8.0"}]}}]}}]}},"references":{"reference_data":[{"url":"https://github.com/flarum/framework/security/advisories/GHSA-67c6-q4j4-hccg","refsource":"MISC","name":"https://github.com/flarum/framework/security/advisories/GHSA-67c6-q4j4-hccg"},{"url":"https://github.com/flarum/framework/commit/d1059c1cc79fe61f9538f3da55e8f42abbede570","refsource":"MISC","name":"https://github.com/flarum/framework/commit/d1059c1cc79fe61f9538f3da55e8f42abbede570"}]},"source":{"advisory":"GHSA-67c6-q4j4-hccg","discovery":"UNKNOWN"},"impact":{"cvss":[{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":7.1,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"LOW","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N","version":"3.1"}]}},"nvd":{"publishedDate":"2023-08-16 21:15:00","lastModifiedDate":"2023-08-25 18:10:00","problem_types":["CWE-918"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"LOW","availabilityImpact":"NONE","baseScore":7.1,"baseSeverity":"HIGH"},"exploitabilityScore":2.8,"impactScore":4.2}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:flarum:flarum:*:*:*:*:*:*:*:*","versionEndExcluding":"1.8.0","cpe_name":[]}]}]}},"legacy_mitre":{"record":null,"notes":[]}}}