目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1336

100%

CVE-2019-14322 PoC — Pallets Werkzeug 路径遍历漏洞

来源
关联漏洞
标题: Pallets Werkzeug 路径遍历漏洞 (CVE-2019-14322)
Description:Pallets Werkzeug是一款WSGI Web应用程序库。 Pallets Werkzeug 0.15.5之前版本中存在安全漏洞,该漏洞源于SharedDataMiddleware错误处理了Windows路径名称中的驱动程序名(例如:C:)。攻击者可利用该漏洞访问任意文件。
Description
Nmap NSE script to detect CVE-2019-14322 of Pallets Werkzeug path traversal via SharedDataMiddleware mishandles drive names (such as C:) in Windows pathnames
介绍
# http-vuln-cve2019-14322.nse

- Nmap NSE script to detect CVE-2019-14322 of Pallets Werkzeug path traversal via SharedDataMiddleware mishandles drive names (such as C:) in Windows pathnames

# Description

- CVE-2019-14322 - 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. 
- This script reads c:/windows/win.ini as a proof of concept.
- This vulnerability is running on (cpe:2.3:o:microsoft:windows:-:*:*:*:*:*:*:*, cpe:2.3:o:microsoft:windows:-:*:*:*:*:*:x64:*)


# Clone and Install

- git clone https://github.com/faisalfs10x/http-vuln-cve2019-14322.nse
- cd http-vuln-cve2019-14322.nse/
- sudo cp http-vuln-cve2019-14322.nse /usr/share/nmap/scripts/

# Usage
-----


    $ nmap --script http-vuln-cve2019-14322.nse -p <port> <target>

    PORT    STATE SERVICE
    443/tcp open  https
    | http-vuln-cve2019-14322: 
    |   VULNERABLE:
    |   Pallets Werkzeug path traversal via SharedDataMiddleware mishandles drive names (such as C:) in Windows pathnames
    |     State: VULNERABLE
    |     IDs:  CVE:CVE-2019-14322
    |       		
    |       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.
    |       This script reads c:/windows/win.ini as a proof of concept.
    |       This vulnerability is running on (cpe:2.3:o:microsoft:windows:-:*:*:*:*:*:*:*, cpe:2.3:o:microsoft:windows:-:*:*:*:*:*:x64:*)
    |       		
    |           
    |     Disclosure date: 2019-07-28
    |     References:
    |       https://www.cvedetails.com/cve/CVE-2019-14322/
    |       https://vuldb.com/?id.138886
    |       https://palletsprojects.com/blog/werkzeug-0-15-5-released/
    |_      https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-14322
    
    Nmap done: 1 IP address (1 host up) scanned in 0.48 seconds
    
    
 # Published in:

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

登录后查看神龙缓存的 POC 文件快照

登录查看
备注
    1. 建议优先通过来源进行访问。
    2. 本地 POC 快照面向订阅用户开放;当原始来源失效或无法访问时,本地镜像作为订阅权益的一部分提供。
    3. 持续抓取、验证、维护这份 POC 档案需要不少投入,因此本地快照已纳入付费订阅。您的订阅是让这份资料能继续走下去的关键,由衷感谢。 查看订阅方案 →