CVE-2021-32679: Filenames not escaped by default in controllers using DownloadResponse
nextcloud · security-advisories
Vendor fix available · Affected: nextcloud security-advisories · Exploitation: possible (1 to 10%)
Not in CyberSIXT coverage yet: no article names this CVE. This page shows the public record.
Higher than 72% of scored CVEs
DescriptionCVE.org
Nextcloud Server is a Nextcloud package that handles data storage. In versions prior to 19.0.13, 20.0.11, and 21.0.3, filenames where not escaped by default in controllers using `DownloadResponse`. When a user-supplied filename was passed unsanitized into a `DownloadResponse`, this could be used to trick users into downloading malicious files with a benign file extension. This would show in UI behaviours where Nextcloud applications would display a benign file extension (e.g. JPEG), but the file will actually be downloaded with an executable file extension. The vulnerability is patched in versions 19.0.13, 20.0.11, and 21.0.3. Administrators of Nextcloud instances do not have a workaround available, but developers of Nextcloud apps may manually escape the file name before passing it into `DownloadResponse`.
Affected products1
From the CVE record. A product or version that is not listed is unknown, not unaffected.
- nextcloud · security-advisories< 19.0.13; >= 20.0.0, < 20.0.11; >= 21.0.0, < 21.0.3
On the Atlas
Every published CVE is on the CyberSIXT Atlas, grouped by weakness, vendor and month.
- Exploitation
- Possible (1 to 10%). EPSS between 1% and 10%.
- CISA KEV
- Not listed
- Public check
- No public nuclei template
- Vendor
- nextcloud
- Published
- July 2021
- Bounty reports
- 1 disclosed on HackerOne
Disclosed bug bounty reports about CVE-2021-32679
The reports on HackerOne that name this CVE, with HackerOne's own outcome. Titles and metadata only.
- Download of file with arbitrary extension via injection into attachment headerNextcloud · 2021 · medium severityValid
CoverageNo articles yet
No CyberSIXT article names CVE-2021-32679 yet, so there is no coverage timeline, action brief or change log for it. Everything on this page comes from the public CVE record, CISA KEV, EPSS and the nuclei template index. Search the archive or see the CVEs in the news.
References
- NVD entrynvd.nist.gov
- CVE recordcve.org
- Weakness CWE-116cwe.mitre.org
- Vendor advisorylists.fedoraproject.org
- Vendor advisorylists.fedoraproject.org
- Vendor advisorysecurity.gentoo.org
- github.com/nextcloud/security-advisories/security/advisories/GHSgithub.com
- github.com/nextcloud/server/pull/27354github.com
- hackerone.com/reports/1215263hackerone.com