Vulnerability · Published Feb 4, 2022 · Assigned by mitre
CVE-2021-46398
High 8.8
In plain English
A high-severity security flaw in the github.com/filebrowser/filebrowser/v2 package (Go). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 6.7% (higher than 94% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | github.com/filebrowser/filebrowser/v2 | 2.18.0 | GHSA-72wf-hwcq-65h9 |
| Go | github.com/filebrowser/filebrowser/v2 | 2.18.0 | GO-2022-0563 |
Affected products (as reported)
References
- https://github.com/filebrowser/filebrowser/commit/74b7cd8e81840537a8206317344f118093153e8d x_refsource_MISC
- https://febin0x4e4a.blogspot.com/2022/01/critical-csrf-in-filebrowser.html x_refsource_MISC
- https://febin0x4e4a.wordpress.com/2022/01/19/critical-csrf-in-filebrowser/ x_refsource_MISC
- https://systemweakness.com/critical-csrf-to-rce-in-filebrowser-865a3c34b8e7 x_refsource_MISC
- http://packetstormsecurity.com/files/165885/FileBrowser-2.17.2-Code-Execution-Cross-Site-Request-Forgery.html x_refsource_MISC
- https://febinj.medium.com/critical-csrf-to-rce-in-filebrowser-865a3c34b8e7 x_refsource_MISC