Skip to content

CVE-2023-40033 Server-Side Request Forgery via Avatar upload in flarum

HighCVSS 7.1 EPSS 0.50%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial
Technology
PHP

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.

Upgrade path

4 packages: 3 fixed.

PackageAffectedFixed inStatus
flarum framework(Packagist) < 1.8.0; = v0.1.0-beta; = v0.1.0-beta.2; = v0.1.0-beta.3 +38 more 1.8.0 Fixed
flarum/core(Packagist) < 1.8.0; = v0.1.0-beta; = v0.1.0-beta.2; = v0.1.0-beta.3 +40 more 1.8.0 Fixed
flarum/flarum < 1.8.0 1.8.0 Fixed
flarum framework = < 1.8.0 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
flarum/core(Packagist) < 1.8.0 1.8.0
flarum/core(Packagist) = v0.1.0-beta No fix listed
flarum/core(Packagist) = v0.1.0-beta.10 No fix listed
flarum/core(Packagist) = v0.1.0-beta.11 No fix listed
flarum/core(Packagist) = v0.1.0-beta.11.1 No fix listed
flarum/core(Packagist) = v0.1.0-beta.12 No fix listed
flarum/core(Packagist) = v0.1.0-beta.13 No fix listed
flarum/core(Packagist) = v0.1.0-beta.14 No fix listed
flarum/core(Packagist) = v0.1.0-beta.14.1 No fix listed
flarum/core(Packagist) = v0.1.0-beta.15 No fix listed
flarum/core(Packagist) = v0.1.0-beta.16 No fix listed
flarum/core(Packagist) = v0.1.0-beta.2 No fix listed
flarum/core(Packagist) = v0.1.0-beta.3 No fix listed
flarum/core(Packagist) = v0.1.0-beta.4 No fix listed
flarum/core(Packagist) = v0.1.0-beta.5 No fix listed
flarum/core(Packagist) = v0.1.0-beta.6 No fix listed
flarum/core(Packagist) = v0.1.0-beta.7 No fix listed
flarum/core(Packagist) = v0.1.0-beta.7.1 No fix listed
flarum/core(Packagist) = v0.1.0-beta.7.2 No fix listed
flarum/core(Packagist) = v0.1.0-beta.8 No fix listed
flarum/core(Packagist) = v0.1.0-beta.8.1 No fix listed
flarum/core(Packagist) = v0.1.0-beta.8.2 No fix listed
flarum/core(Packagist) = v0.1.0-beta.9 No fix listed
flarum/core(Packagist) = v1.0.0 No fix listed
flarum/core(Packagist) = v1.0.1 No fix listed
Show 63 more
ProductAffected versionsFixed in
flarum/core(Packagist) = v1.0.2 No fix listed
flarum/core(Packagist) = v1.0.3 No fix listed
flarum/core(Packagist) = v1.0.4 No fix listed
flarum/core(Packagist) = v1.1.0 No fix listed
flarum/core(Packagist) = v1.1.1 No fix listed
flarum/core(Packagist) = v1.2.0 No fix listed
flarum/core(Packagist) = v1.2.1 No fix listed
flarum/core(Packagist) = v1.3.0 No fix listed
flarum/core(Packagist) = v1.3.1 No fix listed
flarum/core(Packagist) = v1.4.0 No fix listed
flarum/core(Packagist) = v1.4.1 No fix listed
flarum/core(Packagist) = v1.5.0 No fix listed
flarum/core(Packagist) = v1.6.0 No fix listed
flarum/core(Packagist) = v1.6.1 No fix listed
flarum/core(Packagist) = v1.6.2 No fix listed
flarum/core(Packagist) = v1.6.3 No fix listed
flarum/core(Packagist) = v1.7.0 No fix listed
flarum/core(Packagist) = v1.7.1 No fix listed
flarum/core(Packagist) = v1.7.2 No fix listed
flarum framework(Packagist) < 1.8.0 1.8.0
flarum framework(Packagist) = v0.1.0-beta No fix listed
flarum framework(Packagist) = v0.1.0-beta.10 No fix listed
flarum framework(Packagist) = v0.1.0-beta.11 No fix listed
flarum framework(Packagist) = v0.1.0-beta.11.1 No fix listed
flarum framework(Packagist) = v0.1.0-beta.12 No fix listed
flarum framework(Packagist) = v0.1.0-beta.13 No fix listed
flarum framework(Packagist) = v0.1.0-beta.14 No fix listed
flarum framework(Packagist) = v0.1.0-beta.14.1 No fix listed
flarum framework(Packagist) = v0.1.0-beta.15 No fix listed
flarum framework(Packagist) = v0.1.0-beta.16 No fix listed
flarum framework(Packagist) = v0.1.0-beta.2 No fix listed
flarum framework(Packagist) = v0.1.0-beta.3 No fix listed
flarum framework(Packagist) = v0.1.0-beta.4 No fix listed
flarum framework(Packagist) = v0.1.0-beta.5 No fix listed
flarum framework(Packagist) = v0.1.0-beta.6 No fix listed
flarum framework(Packagist) = v0.1.0-beta.7 No fix listed
flarum framework(Packagist) = v0.1.0-beta.7.1 No fix listed
flarum framework(Packagist) = v0.1.0-beta.7.2 No fix listed
flarum framework(Packagist) = v0.1.0-beta.8 No fix listed
flarum framework(Packagist) = v0.1.0-beta.8.1 No fix listed
flarum framework(Packagist) = v0.1.0-beta.8.2 No fix listed
flarum framework(Packagist) = v0.1.0-beta.9 No fix listed
flarum framework(Packagist) = v1.0.0 No fix listed
flarum framework(Packagist) = v1.0.1 No fix listed
flarum framework(Packagist) = v1.0.2 No fix listed
flarum framework(Packagist) = v1.0.3 No fix listed
flarum framework(Packagist) = v1.0.4 No fix listed
flarum framework(Packagist) = v1.1.0 No fix listed
flarum framework(Packagist) = v1.1.1 No fix listed
flarum framework(Packagist) = v1.2.0 No fix listed
flarum framework(Packagist) = v1.2.1 No fix listed
flarum framework(Packagist) = v1.3.0 No fix listed
flarum framework(Packagist) = v1.3.1 No fix listed
flarum framework(Packagist) = v1.4.0 No fix listed
flarum framework(Packagist) = v1.5.0 No fix listed
flarum framework(Packagist) = v1.6.0 No fix listed
flarum framework(Packagist) = v1.6.1 No fix listed
flarum framework(Packagist) = v1.6.2 No fix listed
flarum framework(Packagist) = v1.6.3 No fix listed
flarum framework(Packagist) = v1.7.0 No fix listed
flarum framework(Packagist) = v1.7.1 No fix listed
flarum framework = < 1.8.0 No fix listed
flarum/flarum < 1.8.0 1.8.0

References