Skip to content

Modification of: PoC of CVE-2019-14322: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

License

Notifications You must be signed in to change notification settings

sergiovks/CVE-2019-14322

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CVE-2019-14322

Modification of faisalfs10x exploit: PoC of CVE-2019-14322: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Description

  • 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').

  • It also affects "Odoo", a suite of business management software and it uses Pallets Werkzeug as a core component. Therefore, Odoo is vulnerable to local file inclusion vulnerability inherited from Werkzeug.

Usage

This script reads a few windows directories as a proof of concept.

python3 CVE-2019-14322.py -l list_target.txt

image

Or uses a wordlist instead of using the default directories.

python3 CVE-2019-14322.py -l list_target.txt -w wordlist.txt

Published in:

Disclaimer:

The script is for security analysis and research only, hence I would not be liable if it is been used for illicit activities.

About

Modification of: PoC of CVE-2019-14322: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages