CVE-2021-46398 json
Cross-Site Request Forgery in Filebrowser
published 2022-02-04 4 y ago modified 2026-06-17 4 mo ago also GHSA-72wf-hwcq-65h9 , GO-2022-0563 , EUVD-2022-0876
- cvss
- 8.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 6.7%
- EPSS 6.7% chance of exploitation in 30 days, percentile 93%
- public exploits
- 1
- Exploit-DB
Summary
A Cross-Site Request Forgery vulnerability exists in Filebrowser < 2.18.0 that allows attackers to create a backdoor user with admin privilege and get access to the filesystem via a malicious HTML webpage that is sent to the victim. An admin can run commands using the FileBrowser and hence it leads to RCE.
Patch / fix
- go github.com/filebrowser/filebrowser/v2 2.18.0
- filebrowser filebrowser 2.18.0
Timeline
- Published
- First public exploit (EDB-50717)
Exploit prediction
6.72% chance of exploitation in the next 30 days, higher than 93% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- EDB-50717 FileBrowser 2.17.2 - Cross Site Request Forgery (CSRF) to Remote Code Execution (RCE) webapps, 2022-02-08
- febin0x4e4a.blogspot.com https://febin0x4e4a.blogspot.com/2022/01/critical-csrf-in-filebrowser.html referenced PoC, tagged "exploit" by a source, unverified
- febin0x4e4a.wordpress.com https://febin0x4e4a.wordpress.com/2022/01/19/critical-csrf-in-filebrowser/ referenced PoC, tagged "exploit" by a source, unverified
- systemweakness.com https://systemweakness.com/critical-csrf-to-rce-in-filebrowser-865a3c34b8e7 referenced PoC, tagged "exploit" by a source, unverified
- packetstormsecurity.com http://packetstormsecurity.com/files/165885/FileBrowser-2.17.2-Code-Execution-Cross-Site-Request-Forgery.html referenced PoC, tagged "exploit" by a source, unverified
- febinj.medium.com https://febinj.medium.com/critical-csrf-to-rce-in-filebrowser-865a3c34b8e7 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
| GitHub | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/filebrowser/filebrowser/v2 | <2.18.0 |
2.18.0 |
Classification
- Weakness
-
- CWE-352 Cross-Site Request Forgery
References
-
github.com
/filebrowser/filebrowser/commit/74b7cd8e81840537a8206317344f118093153e8d
web, patch, third-party-advisory
-
febin0x4e4a.blogspot.com
/2022/01/critical-csrf-in-filebrowser.html
web, exploit, third-party-advisory
-
febin0x4e4a.wordpress.com
/2022/01/19/critical-csrf-in-filebrowser/
exploit, third-party-advisory
-
systemweakness.com
/critical-csrf-to-rce-in-filebrowser-865a3c34b8e7
web, exploit, third-party-advisory
-
packetstormsecurity.com
/files/165885/FileBrowser-2.17.2-Code-Execution-Cross-Site-Request-Forgery.html
web, exploit, third-party-advisory, vdb-entry
-
febinj.medium.com
/critical-csrf-to-rce-in-filebrowser-865a3c34b8e7
web, exploit, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2021-46398
advisory
-
github.com
/filebrowser/filebrowser/issues/1621
web
-
febin0x4e4a.wordpress.com
/2022/01/19/critical-csrf-in-filebrowser
web
-
github.com
/filebrowser/filebrowser
web
-
pkg.go.dev
/vuln/GO-2022-0563
web
Sources
- CVE List CVE-2021-46398
- GitHub Advisory GHSA-72wf-hwcq-65h9
- NVD CVE-2021-46398
- OSV GO-2022-0563
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.