POC详情: 51b35add349472058c456563af9523e85cecda90

来源
关联漏洞
标题: Pallets Werkzeug 路径遍历漏洞 (CVE-2019-14322)
描述:Pallets Werkzeug是一款WSGI Web应用程序库。 Pallets Werkzeug 0.15.5之前版本中存在安全漏洞,该漏洞源于SharedDataMiddleware错误处理了Windows路径名称中的驱动程序名(例如:C:)。攻击者可利用该漏洞访问任意文件。
描述
PoC of CVE-2019-14322: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
介绍
# CVE-2019-14322-scanner

- A vulnerability was found in Pallets Werkzeug up to 0.15.4. It has been declared as critical. This vulnerability affects the function SharedDataMiddleware of the component Windows. The manipulation with an unknown input leads to a directory traversal vulnerability. The CWE definition for the vulnerability is CWE-22
- In Pallets Werkzeug before 0.15.5, SharedDataMiddleware mishandles drive names (such as C:) in Windows pathnames.
- Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

# Usage:

- This script reads c:/windows/win.ini as a proof of concept
- python3 CVE-2019-14322-scanner.py -l list_target.txt

# Published in:

- https://github.com/nomi-sec/PoC-in-GitHub#cve-2019-14322-2019-07-28

# Disclaimer:

- The script is for security analysis and research only, hence I would not be liable if it is been used for illicit activities
文件快照

[4.0K] /data/pocs/51b35add349472058c456563af9523e85cecda90 ├── [3.7K] CVE-2019-14322-scanner.py ├── [1.0K] LICENSE ├── [ 76] list_target.txt └── [ 900] README.md 0 directories, 4 files
神龙机器人已为您缓存
备注
    1. 建议优先通过来源进行访问。
    2. 如果因为来源失效或无法访问,请发送邮箱到 f.jinxu#gmail.com 索取本地快照(把 # 换成 @)。
    3. 神龙已为您对POC代码进行快照,为了长期维护,请考虑为本地POC付费,感谢您的支持。