CVE-2021-3906: BookStack - Unrestricted File Upload
- Cve: CVE-2021-3906
- Name: BookStack - Unrestricted File Upload
- Description: bookstack is vulnerable to Unrestricted Upload of File with Dangerous Type
- Impact: Attackers can upload malicious files, potentially leading to remote code execution or server compromise.
- Remediation: Update to the latest version of BookStack that addresses this vulnerability or apply security patches provided by the vendor.
- Vulnerability type: unrestricted_file_upload
- Vulnerability impact: remote_code_execution, file_system_write
- Requirement type: none
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 6.5
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
- Epss score: 0.00668
- Epss percentile: 0.52853
- Assignee: [email protected]
- Published at: 2021-10-27T22:15:07Z
- Age in days: 1854
- Modified at: 2026-06-17T04:05:58Z
- Patch available: yes
- Public exploits total: 1
- References total: 2
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-3906
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-434 | Unrestricted Upload of File with Dangerous Type |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://huntr.dev/bounties/f115bdf5-c06b-4627-a6fa-ba6904a43ba3 | nvd | 2021-10-27 |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/bookstackapp/bookstack/commit/64937ab826b56d086af9ecea532510d37520ebc8 | nvd | Patch, Third Party Advisory |
| https://huntr.dev/bounties/f115bdf5-c06b-4627-a6fa-ba6904a43ba3 | nvd | Exploit, Issue Tracking, Patch, Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| bookstackapp:bookstack | < 21.10.1 | no | nvd | /v1/products/bookstackapp/bookstack |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| BookStackApp/BookStack | commit, fix | yes | /v1/repositories/BookStackApp/BookStack |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2021-10-27
- Remote: yes
- Authentication required: yes
- Exposed hosts: 847
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports