xmpp-http-upload_project xmpp-http-upload 对路径名的限制不恰当(路径遍历)

admin 2023-12-01 19:05:37 Ali_nvd 来源:ZONE.CI 全球网 0 阅读模式
低危 xmpp-http-upload_project xmpp-http-upload 对路径名的限制不恰当(路径遍历)

CVE编号

CVE-2020-15239

利用情况

暂无

补丁情况

官方补丁

披露时间

2020-10-07
漏洞描述
In xmpp-http-upload before version 0.4.0, when the GET method is attacked, attackers can read files which have a `.data` suffix and which are accompanied by a JSON file with the `.meta` suffix. This can lead to Information Disclosure and in some shared-hosting scenarios also to circumvention of authentication or other limitations on the outbound (GET) traffic. For example, in a scenario where a single server has multiple instances of the application running (with separate DATA_ROOT settings), an attacker who has knowledge about the directory structure is able to read files from any other instance to which the process has read access. If instances have individual authentication (for example, HTTP authentication via a reverse proxy, source IP based filtering) or other restrictions (such as quotas), attackers may circumvent those limits in such a scenario by using the Directory Traversal to retrieve data from the other instances. If the associated XMPP server (or anyone knowing the SECRET_KEY) is malicious, they can write files outside the DATA_ROOT. The files which are written are constrained to have the `.meta` and the `.data` suffixes; the `.meta` file will contain the JSON with the Content-Type of the original request and the `.data` file will contain the payload. The issue is patched in version 0.4.0.
解决建议
建议您更新当前系统或软件至最新版,完成漏洞的修复。
参考链接
https://github.com/horazont/xmpp-http-upload/commit/82056540191e89f0cd697c81f...
https://github.com/horazont/xmpp-http-upload/pull/12
https://github.com/horazont/xmpp-http-upload/security/advisories/GHSA-hwv5-w8gm-fq9f
https://pypi.org/project/xmpp-http-upload/
受影响软件情况
# 类型 厂商 产品 版本 影响面
1
运行在以下环境
应用 xmpp-http-upload_project xmpp-http-upload * Up to (excluding) 0.4.0
阿里云评分 3.5
  • 攻击路径 本地
  • 攻击复杂度 困难
  • 权限要求 管控权限
  • 影响范围 有限影响
  • EXP成熟度 未验证
  • 补丁情况 官方补丁
  • 数据保密性 无影响
  • 数据完整性 无影响
  • 服务器危害 无影响
  • 全网数量 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