低危 nextcloud nextcloud_server 对输出编码和转义不恰当
CVE编号
CVE-2021-32679利用情况
暂无补丁情况
官方补丁披露时间
2021-07-12漏洞描述
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`.解决建议
建议您更新当前系统或软件至最新版,完成漏洞的修复。受影响软件情况
# | 类型 | 厂商 | 产品 | 版本 | 影响面 | ||||
1 | |||||||||
---|---|---|---|---|---|---|---|---|---|
运行在以下环境 | |||||||||
应用 | nextcloud | nextcloud_server | * | Up to (excluding) 19.0.13 | |||||
运行在以下环境 | |||||||||
应用 | nextcloud | nextcloud_server | * | From (including) 20.0.0 | Up to (excluding) 20.0.11 | ||||
运行在以下环境 | |||||||||
应用 | nextcloud | nextcloud_server | * | From (including) 21.0.0 | Up to (excluding) 21.0.3 | ||||
运行在以下环境 | |||||||||
系统 | fedora_33 | nextcloud | * | Up to (excluding) 19.0.13-1.fc33 | |||||
运行在以下环境 | |||||||||
系统 | fedora_33_Modular | nextcloud | * | Up to (excluding) nextcloud_21-3320210712182939.601d93de | |||||
运行在以下环境 | |||||||||
系统 | fedora_34 | nextcloud | * | Up to (excluding) 20.0.11-1.fc34 | |||||
运行在以下环境 | |||||||||
系统 | fedora_34_Modular | nextcloud | * | Up to (excluding) nextcloud_20-3420210712182853.058368ca | |||||
运行在以下环境 | |||||||||
系统 | fedora_Epel_8_Modular | nextcloud | * | Up to (excluding) nextcloud_21-820210712182939.9edba152 | |||||
运行在以下环境 | |||||||||
系统 | opensuse_Leap_15.2 | nextcloud | * | Up to (excluding) 20.0.11-bp153.2.3.1 | |||||
运行在以下环境 | |||||||||
系统 | opensuse_Leap_15.3 | nextcloud | * | Up to (excluding) 20.0.11-bp153.2.3.1 | |||||
- 攻击路径 本地
- 攻击复杂度 容易
- 权限要求 普通权限
- 影响范围 有限影响
- EXP成熟度 未验证
- 补丁情况 官方补丁
- 数据保密性 无影响
- 数据完整性 传输被破坏
- 服务器危害 DoS
- 全网数量 N/A
CWE-ID | 漏洞类型 |
CWE-116 | 对输出编码和转义不恰当 |
Exp相关链接

版权声明
本站原创文章转载请注明文章出处及链接,谢谢合作!
评论