All Projects → SasanLabs → owasp-zap-fileupload-addon

SasanLabs / owasp-zap-fileupload-addon

Licence: Apache-2.0 license
OWASP ZAP add-on for finding vulnerabilities in File Upload functionality.

Programming Languages

java
68154 projects - #9 most used programming language
HTML
75241 projects

Projects that are alternatives of or similar to owasp-zap-fileupload-addon

Zaproxy
The OWASP ZAP core project
Stars: ✭ 9,078 (+47678.95%)
Mutual labels:  zap, dast, zaproxy
aemscan
Adobe Experience Manager Vulnerability Scanner
Stars: ✭ 161 (+747.37%)
Mutual labels:  scanner
hakbot-origin-controller
Vendor-Neutral Security Tool Automation Controller (over REST)
Stars: ✭ 30 (+57.89%)
Mutual labels:  zap
golang-example-app
Example application
Stars: ✭ 138 (+626.32%)
Mutual labels:  zap
network-pipeline
Network traffic data pipeline for real-time predictions and building datasets for deep neural networks
Stars: ✭ 36 (+89.47%)
Mutual labels:  zap
PIP-Module-Scanner
Scans your Python project for all installed third party pip libraries that are used and generates a requirements.txt file based on it
Stars: ✭ 19 (+0%)
Mutual labels:  scanner
go2sky-plugins
The plugins of go2sky
Stars: ✭ 46 (+142.11%)
Mutual labels:  zap
cd
CloudDefense.ai is an automated web application security testing tool that audits your web applications by checking for vulnerabilities like SQL Injection, Cross-site scripting and other exploitable vulnerabilities.
Stars: ✭ 33 (+73.68%)
Mutual labels:  dast
Recon-X
Advanced Reconnaissance tool to enumerate attacking surface of the target.
Stars: ✭ 27 (+42.11%)
Mutual labels:  scanner
astam-correlator
Vulnerability consolidation and management tool, enhances scan results by merging different findings of the same weakness across multiple static/dynamic scans
Stars: ✭ 22 (+15.79%)
Mutual labels:  dast
Zap
Blazing fast, structured, leveled logging in Go.
Stars: ✭ 14,384 (+75605.26%)
Mutual labels:  zap
Go-Gin-Api
基于golang开源框架 gin封装的api框架
Stars: ✭ 42 (+121.05%)
Mutual labels:  zap
ZZYQRCode
a scanner for QRCode barCode 最好用的ios二维码、条形码,扫描、生成框架,支持闪光灯,从相册获取,扫描音效等,高仿微信,微博
Stars: ✭ 124 (+552.63%)
Mutual labels:  scanner
kube-owasp-zap
Owasp Zap chart for Kubernetes
Stars: ✭ 38 (+100%)
Mutual labels:  zap
Judge-Jury-and-Executable
A file system forensics analysis scanner and threat hunting tool. Scans file systems at the MFT and OS level and stores data in SQL, SQLite or CSV. Threats and data can be probed harnessing the power and syntax of SQL.
Stars: ✭ 66 (+247.37%)
Mutual labels:  scanner
public
util toolkit for go.golang 通用函数包
Stars: ✭ 135 (+610.53%)
Mutual labels:  zap
k3log
三大王日志,一款开箱即用且高效,快捷,安全的golang日志,基于uber zap
Stars: ✭ 32 (+68.42%)
Mutual labels:  zap
kube-knark
Open Source runtime tool which help to detect malware code execution and run time mis-configuration change on a kubernetes cluster
Stars: ✭ 32 (+68.42%)
Mutual labels:  scanner
sx
🖖 Fast, modern, easy-to-use network scanner
Stars: ✭ 1,267 (+6568.42%)
Mutual labels:  scanner
extrude
🕵️ Analyse binaries for missing security features, information disclosure and more...
Stars: ✭ 51 (+168.42%)
Mutual labels:  scanner

owasp-zap-fileupload-addon

License PRs Welcome Java CI with Gradle

This project contains the File Upload scan rule which is used to find the vulnerabilities in File Upload functionality.

Why this addon is needed

File upload is becoming a more and more essential part of any application, where the user is able to upload their photo, their CV, or a video showcasing a project they are working on. The application should be able to fend off bogus and malicious files in a way to keep the application and the users safe. Generally file upload functionality is quite complex to automate and has huge attack surface hence there is a need to automate the process and also secure it.

Configuration

File upload functionality generally has 2 endpoints, one from where file is uploaded and one from where file is retrieved. It is necessary to know both these endpoints. While Active Scanning an application, file upload endpoint is already known but retrieval endpoint is not known to the scan rule hence there are configuration details specific to the retrieval endpoint.

Under ZAP's Options dialog you will find a File Upload section as shown below: File Upload Options Panel

Explanation

For finding the URL to retrieve/view the uploaded file, here are some options:

  1. In some applications the URL to retrieve the uploaded file is static and doesn't change or only the file name is changed. For handling this type of configuration, options panel has Static Location Configuration where static URL is added into URI Regex field. URI Regex field also supports the dynamic file name by ${fileName}. parameter, for e.g. http://<baseurl>/${fileName}
  2. In some applications the URL to retrieve the uploaded file is present in the file upload request's response. For handling this type of configuration, options panel has Parse Http Response Configuration which has 2 parameters Start Identifier and End Identifier. These identifiers are used to locate the URL within the response.
  3. In some applications the URL to retrieve the uploaded file is present in the response of a different URL which is called a preflight request. E.g. Profile picture URL is part of profile page and hence we need to parse the response of the profile page to find the URL of the profile picture. For handling this type of configuration, the options panel has Dynamic Location Configuration which has a URI Regex and Parse Http Response Configuration which has Start Identifier, and End Identifier. So the File Upload add-on will invoke the URI mentioned in URI Regex and then parse the response using Start Identifier and End Identifier. URI Regex field also supports the dynamic file name by ${fileName}

For detailed information on FileUpload add-on's configuration see following video: OWASP ZAP FileUpload addon

Note:

This addon fires a lot of requests to the target application hence can impact the performance of the targeted application. So please run this addon in non-prod environment only.

Contributing guidelines

Contributing guidelines are same as ZAP.

Contact Us

For any Queries/Bugs or Enhancement please raise an issue in this repository or ask in OWASP ZAP Developer Group. For any other kind of issues please send an email to [email protected]

Special Thanks

This addon is highly inspired from Upload-Scanner and uses many concepts from Upload-Scanner extension.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].