vendor:
dirList
by:
John Page
7,5
CVSS
HIGH
Bypass File Upload / CMD Execution
434
CWE
Product Name: dirList
Affected Version From: v0.3.0
Affected Version To: v0.3.0
Patch Exists: NO
Related CWE: N/A
CPE: a:sourceforge.net:dirlist
Metasploit:
N/A
Other Scripts:
N/A
Tags: N/A
CVSS Metrics: N/A
Nuclei References:
N/A
Nuclei Metadata: N/A
Platforms Tested: N/A
2020
dirLIST File Upload Bypass / CMD Execution
When uploading 'Banned' file types dirLIST replies with a base64 encoded error message. However, appending a semicolon ';' to end of our PHP file will skirt the security check allowing us to upload a banned PHP file type, and our PHP file will be executed by server when accessed later.
Mitigation:
Ensure that the file types that are being uploaded are not banned and are properly validated.