{"id":"CVE-2021-46398","published":"2022-02-04T15:05:05Z","modified":"2024-08-04T05:02:11Z","title":"A Cross-Site Request Forgery vulnerability exists in Filebrowser < 2.18.0 that allows attackers to create a backdoor…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.06717,"percentile":0.94017,"provenance":"source"},"cwes":[],"references":[{"url":"https://github.com/filebrowser/filebrowser/commit/74b7cd8e81840537a8206317344f118093153e8d","tags":["x_refsource_MISC"]},{"url":"https://febin0x4e4a.blogspot.com/2022/01/critical-csrf-in-filebrowser.html","tags":["x_refsource_MISC"]},{"url":"https://febin0x4e4a.wordpress.com/2022/01/19/critical-csrf-in-filebrowser/","tags":["x_refsource_MISC"]},{"url":"https://systemweakness.com/critical-csrf-to-rce-in-filebrowser-865a3c34b8e7","tags":["x_refsource_MISC"]},{"url":"http://packetstormsecurity.com/files/165885/FileBrowser-2.17.2-Code-Execution-Cross-Site-Request-Forgery.html","tags":["x_refsource_MISC"]},{"url":"https://febinj.medium.com/critical-csrf-to-rce-in-filebrowser-865a3c34b8e7","tags":["x_refsource_MISC"]}],"priority":{"score":23.8,"factors":[{"name":"EPSS percentile","points":18.8},{"name":"Public exploit code","points":5.0}]},"exploitSources":{"exploitdb":{"count":1,"earliest":"2022-02-08"},"pocGithub":{"count":2,"skipped":0,"earliest":"2022-03-22","earliestUrl":"https://github.com/febinrev/CVE-2021-46398_Chamilo-LMS-RCE","repos":[{"name":"febinrev/CVE-2021-46398_Chamilo-LMS-RCE","url":"https://github.com/febinrev/CVE-2021-46398_Chamilo-LMS-RCE","stars":5,"created":"2022-03-22"},{"name":"LalieA/CVE-2021-46398","url":"https://github.com/LalieA/CVE-2021-46398","stars":0,"created":"2023-01-03"}]},"first":{"date":"2022-02-08","source":"Exploit-DB","url":"https://www.exploit-db.com/exploits/50717"},"provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/filebrowser/filebrowser/v2","vulnerableRanges":["<2.18.0"],"patched":["2.18.0"],"from":["GHSA-72wf-hwcq-65h9","GO-2022-0563"],"provenance":"source"}],"summary":{"text":"The flaw is a Cross-Site Request Forgery vulnerability in Filebrowser versions before 2.18.0. An attacker can use a malicious HTML page sent to a victim to create a backdoor user with admin privileges, gaining filesystem access and, since an admin can run commands through FileBrowser, remote code execution, provided an authenticated administrator visits that page.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:01:24Z"},"euvd":{"id":"EUVD-2022-0876","exploited":false,"provenance":"source"},"exploits":[{"id":50717,"url":"https://www.exploit-db.com/exploits/50717","title":"FileBrowser 2.17.2 - Cross-Site Request Forgery (CSRF) / Remote Code Execution (RCE)","date":"2022-02-08","verified":false,"provenance":"source"}],"exploitRefs":["http://packetstormsecurity.com/files/165885/FileBrowser-2.17.2-Code-Execution-Cross-Site-Request-Forgery.html"],"lineage":{"familyId":"fam-filebrowser-cve-2021-46398","children":[{"from":"CVE-2021-46398","to":"CVE-2025-52903","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["http/commands.go"],"commits":["https://github.com/filebrowser/filebrowser/commit/74b7cd8e81840537a8206317344f118093153e8d","https://github.com/filebrowser/filebrowser/commit/4d830f707fc4314741fd431e70c2ce50cd5a3108"],"basis":"shared function","functions":["withUser"]}]},{"from":"CVE-2021-46398","to":"CVE-2025-52995","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["http/commands.go"],"commits":["https://github.com/filebrowser/filebrowser/commit/74b7cd8e81840537a8206317344f118093153e8d","https://github.com/filebrowser/filebrowser/commit/4d830f707fc4314741fd431e70c2ce50cd5a3108"],"basis":"shared function","functions":["withUser"]}]}]}}