requarks wiki.js 对路径名的限制不恰当(路径遍历)

admin 2023-11-30 15:51:21 Ali_nvd 来源:ZONE.CI 全球网 0 阅读模式
requarks wiki.js 对路径名的限制不恰当(路径遍历)

CVE编号

CVE-2021-43800

利用情况

暂无

补丁情况

N/A

披露时间

2021-12-07
漏洞描述
Wiki.js is a wiki app built on Node.js. Prior to version 2.5.254, directory traversal outside of Wiki.js context is possible when a storage module with local asset cache fetching is enabled on a Windows host. A malicious user can potentially read any file on the file system by crafting a special URL that allows for directory traversal. This is only possible on a Wiki.js server running on Windows, when a storage module implementing local asset cache (e.g Local File System or Git) is enabled and that no web application firewall solution (e.g. cloudflare) strips potentially malicious URLs. Commit number 414033de9dff66a327e3f3243234852f468a9d85 fixes this vulnerability by sanitizing the path before it is passed on to the storage module. The sanitization step removes any windows directory traversal sequences from the path. As a workaround, disable any storage module with local asset caching capabilities (Local File System, Git).
解决建议
建议您更新当前系统或软件至最新版,完成漏洞的修复。
参考链接
https://github.com/Requarks/wiki/commit/414033de9dff66a327e3f3243234852f468a9d85
https://github.com/Requarks/wiki/releases/tag/2.5.254
https://github.com/Requarks/wiki/security/advisories/GHSA-r363-73gj-6j25
受影响软件情况
# 类型 厂商 产品 版本 影响面
1
运行在以下环境
应用 requarks wiki.js * Up to (excluding) 2.5.245
CVSS3评分 7.5
  • 攻击路径 网络
  • 攻击复杂度 低
  • 权限要求 无
  • 影响范围 未更改
  • 用户交互 无
  • 可用性 无
  • 保密性 高
  • 完整性 无
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
CWE-ID 漏洞类型
CWE-22 对路径名的限制不恰当(路径遍历)
- avd.aliyun.com
weinxin
版权声明
本站原创文章转载请注明文章出处及链接,谢谢合作!
N/A Ali_nvd

N/A

N/ACVE编号 CVE-2024-9120利用情况 暂无补丁情况 N/A披露时间 2024-09-23漏洞描述Use after free in Dawn
评论:0   参与:  0