|
| 1 | +# ZAP API Scan Rules Configuration |
| 2 | + |
| 3 | +# CWE-22: Path Traversal |
| 4 | +6 WARN (Path Traversal - Active/release) |
| 5 | + |
| 6 | +# CWE-78: OS Command Injection |
| 7 | +10048 WARN (Remote Code Execution - Shell Shock - Active/beta) |
| 8 | +40045 IGNORE (Spring4Shell - Active/beta) |
| 9 | +40048 IGNORE (Remote Code Execution - CVE-2021-44228 - Active/beta) |
| 10 | +90020 WARN (Remote OS Command Injection - Active/release) |
| 11 | +90037 IGNORE (Server Side Template Injection - Active/beta) |
| 12 | + |
| 13 | +# CWE-79: Cross-Site Scripting (XSS) |
| 14 | +40012 WARN (Cross Site Scripting (Reflected) - Active/release) |
| 15 | +40026 IGNORE (Cross Site Scripting (DOM Based) - Active/release) |
| 16 | +40031 IGNORE (Cross Site Scripting (Persistent) - Active/release) |
| 17 | + |
| 18 | +# CWE-89: SQL Injection |
| 19 | +40018 WARN (SQL Injection - Active/release) |
| 20 | +40019 WARN (SQL Injection - MySQL - Active/beta) |
| 21 | +40020 WARN (SQL Injection - Hypersonic SQL - Active/beta) |
| 22 | +40021 WARN (SQL Injection - Oracle - Active/beta) |
| 23 | +40022 WARN (SQL Injection - PostgreSQL - Active/beta) |
| 24 | +40027 IGNORE (SQL Injection - SQLite - Active/beta) |
| 25 | + |
| 26 | +# CWE-94: Code Injection |
| 27 | +40028 WARN (ELMAH Information Leak - Active/beta) |
| 28 | +40032 IGNORE (.htaccess Information Leak - Active/beta) |
| 29 | +90019 WARN (Server Side Code Injection - Active/release) |
| 30 | + |
| 31 | +# CWE-113: CRLF Injection |
| 32 | +40003 WARN (CRLF Injection - Active/release) |
| 33 | + |
| 34 | +# CWE-117: Log Injection |
| 35 | +40043 IGNORE (Log4Shell - Active/beta) |
| 36 | +40047 IGNORE (CORS Header - Active/beta) |
| 37 | + |
| 38 | +# CWE-352: CSRF |
| 39 | +20012 WARN (Anti CSRF Tokens Scanner - Active/beta) |
| 40 | + |
| 41 | +# CWE-601: Open Redirect |
| 42 | +20019 WARN (External Redirect - Active/release) |
| 43 | + |
| 44 | +# CWE-611: XXE |
| 45 | +90023 WARN (XML External Entity Attack - Active/beta) |
| 46 | + |
| 47 | +# CWE-643: XPath Injection |
| 48 | +90021 WARN (XPath Injection - Active/beta) |
| 49 | + |
| 50 | +# CWE-917: Expression Language Injection |
| 51 | +90025 WARN (Expression Language Injection - Active/beta) |
| 52 | + |
| 53 | +# CWE-918: SSRF |
| 54 | +40046 IGNORE (SSRF - Active/beta) |
| 55 | + |
| 56 | +# CWE-943: NoSQL Injection |
| 57 | +40033 IGNORE (NoSQL Injection - MongoDB - Active/beta) |
| 58 | +90039 IGNORE (NoSQL Injection - Active/beta) |
| 59 | + |
| 60 | +# CWE-1336: Prototype Pollution |
| 61 | +90035 IGNORE (Prototype Pollution - Active/beta) |
| 62 | +90036 IGNORE (Prototype Pollution (Client Side) - Active/beta) |
| 63 | + |
| 64 | +# Additional passive scan rules to ignore |
| 65 | +90003 IGNORE (Sub Resource Integrity Attribute Missing - Passive/release) |
| 66 | +90004 IGNORE (Insufficient Site Isolation Against Spectre Vulnerability - Passive/release) |
| 67 | + |
| 68 | +# Disable all other active scan rules not listed above |
| 69 | +0 IGNORE (Directory Browsing - Active/release) |
| 70 | +2 IGNORE (Private IP Disclosure - Passive/release) |
| 71 | +3 IGNORE (Session ID in URL Rewrite - Passive/release) |
| 72 | +7 IGNORE (Remote File Inclusion - Active/release) |
| 73 | +10010 IGNORE (Cookie No HttpOnly Flag - Passive/release) |
| 74 | +10011 IGNORE (Cookie Without Secure Flag - Passive/release) |
| 75 | +10012 IGNORE (Password Autocomplete in Browser - Passive/release) |
| 76 | +10015 IGNORE (Incomplete or No Cache-control and Pragma HTTP Header Set - Passive/release) |
| 77 | +10016 IGNORE (Web Browser XSS Protection Not Enabled - Passive/release) |
| 78 | +10017 IGNORE (Cross-Domain JavaScript Source File Inclusion - Passive/release) |
| 79 | +10019 IGNORE (Content-Type Header Missing - Passive/release) |
| 80 | +10020 IGNORE (X-Frame-Options Header Scanner - Passive/release) |
| 81 | +10021 IGNORE (X-Content-Type-Options Header Missing - Passive/release) |
| 82 | +10023 IGNORE (Information Disclosure - Debug Error Messages - Passive/beta) |
| 83 | +10024 IGNORE (Information Disclosure - Sensitive Informations in URL - Passive/beta) |
| 84 | +10025 IGNORE (Information Disclosure - Sensitive Information in HTTP Referrer Header - Passive/beta) |
| 85 | +10026 IGNORE (HTTP Parameter Override - Passive/beta) |
| 86 | +10027 IGNORE (Information Disclosure - Suspicious Comments - Passive/beta) |
| 87 | +10032 IGNORE (Viewstate Scanner - Passive/beta) |
| 88 | +10040 IGNORE (Secure Pages Include Mixed Content - Passive/release) |
| 89 | +10045 IGNORE (Source Code Disclosure - /WEB-INF folder - Active/beta) |
| 90 | +10095 IGNORE (Backup File Disclosure - Active/beta) |
| 91 | +10105 IGNORE (Weak Authentication Method - Passive/beta) |
| 92 | +10202 IGNORE (Absence of Anti-CSRF Tokens - Passive/beta) |
| 93 | +20014 IGNORE (HTTP Parameter Pollution scanner - Active/beta) |
| 94 | +20015 IGNORE (Heartbleed OpenSSL Vulnerability - Active/beta) |
| 95 | +20016 IGNORE (Cross-Domain Misconfiguration - Active/beta) |
| 96 | +20017 IGNORE (Source Code Disclosure - CVE-2012-1823 - Active/beta) |
| 97 | +20018 IGNORE (Remote Code Execution - CVE-2012-1823 - Active/beta) |
| 98 | +30001 IGNORE (Buffer Overflow - Active/release) |
| 99 | +30002 IGNORE (Format String Error - Active/release) |
| 100 | +30003 IGNORE (Integer Overflow Error - Active/beta) |
| 101 | +40008 IGNORE (Parameter Tampering - Active/release) |
| 102 | +40009 IGNORE (Server Side Include - Active/release) |
| 103 | +40013 IGNORE (Session Fixation - Active/beta) |
| 104 | +40014 IGNORE (Cross Site Scripting (Persistent) - Active/release) |
| 105 | +40016 IGNORE (Cross Site Scripting (Persistent) - Prime - Active/release) |
| 106 | +40017 IGNORE (Cross Site Scripting (Persistent) - Spider - Active/release) |
| 107 | +40023 IGNORE (Possible Username Enumeration - Active/beta) |
| 108 | +42 IGNORE (Source Code Disclosure - SVN - Active/beta) |
| 109 | +50000 IGNORE (Script Active Scan Rules - Active/release) |
| 110 | +50001 IGNORE (Script Passive Scan Rules - Passive/release) |
| 111 | +90001 IGNORE (Insecure JSF ViewState - Passive/beta) |
| 112 | +90011 IGNORE (Charset Mismatch - Passive/beta) |
| 113 | +90022 IGNORE (Application Error Disclosure - Passive/release) |
| 114 | +90024 IGNORE (Generic Padding Oracle - Active/beta) |
| 115 | +90026 IGNORE (SOAP Action Spoofing - Active/alpha) |
| 116 | +90028 IGNORE (Insecure HTTP Method - Active/beta) |
| 117 | +90029 IGNORE (SOAP XML Injection - Active/alpha) |
| 118 | +90030 IGNORE (WSDL File Passive Scanner - Passive/alpha) |
| 119 | +90033 IGNORE (Loosely Scoped Cookie - Passive/beta) |
0 commit comments