ftp-srv_project ftp-srv 对路径名的限制不恰当(路径遍历)

admin 2023-12-01 16:21:06 Ali_nvd 来源:ZONE.CI 全球网 0 阅读模式
低危 ftp-srv_project ftp-srv 对路径名的限制不恰当(路径遍历)

CVE编号

CVE-2020-26299

利用情况

暂无

补丁情况

官方补丁

披露时间

2021-02-11
漏洞描述
ftp-srv is an open-source FTP server designed to be simple yet configurable. In ftp-srv before version 4.4.0 there is a path-traversal vulnerability. Clients of FTP servers utilizing ftp-srv hosted on Windows machines can escape the FTP user's defined root folder using the expected FTP commands, for example, CWD and UPDR. When windows separators exist within the path (`\`), `path.resolve` leaves the upper pointers intact and allows the user to move beyond the root folder defined for that user. We did not take that into account when creating the path resolve function. The issue is patched in version 4.4.0 (commit 457b859450a37cba10ff3c431eb4aa67771122e3).
解决建议
建议您更新当前系统或软件至最新版,完成漏洞的修复。
参考链接
https://github.com/autovance/ftp-srv/commit/457b859450a37cba10ff3c431eb4aa67771122e3
https://github.com/autovance/ftp-srv/issues/167
https://github.com/autovance/ftp-srv/issues/225
https://github.com/autovance/ftp-srv/pull/224
https://github.com/autovance/ftp-srv/security/advisories/GHSA-pmw4-jgxx-pcq9
https://www.npmjs.com/package/ftp-srv
受影响软件情况
# 类型 厂商 产品 版本 影响面
1
运行在以下环境
应用 ftp-srv_project ftp-srv * Up to (excluding) 4.4.0
阿里云评分 2.8
  • 攻击路径 远程
  • 攻击复杂度 容易
  • 权限要求 普通权限
  • 影响范围 全局影响
  • EXP成熟度 N/A
  • 补丁情况 官方补丁
  • 数据保密性 数据泄露
  • 数据完整性 传输被破坏
  • 服务器危害 无影响
  • 全网数量 N/A
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