From 647109c0ff66b72f7ec3de3f6d73f00cae910c4c Mon Sep 17 00:00:00 2001 From: Emmanuel Gautier Date: Sun, 15 Nov 2026 22:55:12 +0100 Subject: [PATCH] fix: align cvss scores with their vectors --- docs/checks/accesscontrol.mdx | 4 ++-- docs/checks/caching.mdx | 6 +++--- docs/checks/disclosure.mdx | 8 ++++---- docs/checks/headers.mdx | 12 ++++++------ docs/checks/headertrust.mdx | 16 ++++++++-------- docs/checks/protocol.mdx | 2 +- docs/checks/ratelimit.mdx | 6 +++--- docs/checks/smuggling.mdx | 2 +- docs/checks/ssrf.mdx | 4 ++-- docs/checks/tls.mdx | 8 ++++---- docs/checks/waf.mdx | 6 +++--- go.mod | 2 +- go.sum | 2 ++ .../accesscontrol/method_bypass/check.yaml | 2 +- .../checks/accesscontrol/path_bypass/check.yaml | 2 +- .../caching/authenticated_caching/check.yaml | 2 +- proxy/checks/caching/cache_deception/check.yaml | 2 +- proxy/checks/caching/vary_consistency/check.yaml | 2 +- .../checks/disclosure/config_exposure/check.yaml | 2 +- .../disclosure/directory_listing/check.yaml | 2 +- .../disclosure/exposed_management/check.yaml | 2 +- .../checks/disclosure/verbose_errors/check.yaml | 2 +- .../headers/content_type_options/check.yaml | 2 +- proxy/checks/headers/cookie_flags/check.yaml | 2 +- proxy/checks/headers/cors/check.yaml | 2 +- proxy/checks/headers/csp/check.yaml | 2 +- proxy/checks/headers/frame_options/check.yaml | 2 +- proxy/checks/headers/server_banner/check.yaml | 2 +- proxy/checks/headertrust/acl_bypass/check.yaml | 2 +- .../headertrust/forwarded_consistency/check.yaml | 2 +- .../headertrust/host_header_injection/check.yaml | 2 +- .../checks/headertrust/true_client_ip/check.yaml | 2 +- .../headertrust/vhost_confusion/check.yaml | 2 +- .../headertrust/x_forwarded_for/check.yaml | 2 +- .../headertrust/x_forwarded_host/check.yaml | 2 +- proxy/checks/headertrust/x_real_ip/check.yaml | 2 +- .../protocol/h2_authority_trust/check.yaml | 2 +- .../ratelimit/missing_throttling/check.yaml | 2 +- .../checks/ratelimit/oversized_header/check.yaml | 2 +- .../ratelimit/spoofed_ip_bypass/check.yaml | 2 +- .../smuggling/ambiguous_framing/check.yaml | 2 +- .../ssrf/internal_target_access/check.yaml | 2 +- proxy/checks/ssrf/open_forward_proxy/check.yaml | 2 +- proxy/checks/tls/certificate/check.yaml | 2 +- proxy/checks/tls/cipher_strength/check.yaml | 2 +- proxy/checks/tls/https_redirect/check.yaml | 2 +- proxy/checks/tls/protocol_version/check.yaml | 2 +- proxy/checks/waf/baseline_payloads/check.yaml | 2 +- .../waf/content_type_consistency/check.yaml | 2 +- proxy/checks/waf/encoding_bypass/check.yaml | 2 +- proxy/checks_test.go | 8 ++++++++ 51 files changed, 85 insertions(+), 75 deletions(-) diff --git a/docs/checks/accesscontrol.mdx b/docs/checks/accesscontrol.mdx index 69aaf16..3f76521 100644 --- a/docs/checks/accesscontrol.mdx +++ b/docs/checks/accesscontrol.mdx @@ -5,8 +5,8 @@ description: Access control bypassed via path normalization (case variation, dup | Check ID | Title | CVSS 4.0 | CWE | OWASP | | --- | --- | --- | --- | --- | -| `accesscontrol.path_bypass` | Access Control Bypassed via Path Normalization | 8.7 | [CWE-284](https://cwe.mitre.org/data/definitions/284.html) | API5:2023 | -| `accesscontrol.method_bypass` | Access Control Bypassed via HTTP Method | 8.7 | [CWE-650](https://cwe.mitre.org/data/definitions/650.html) | API5:2023 | +| `accesscontrol.path_bypass` | Access Control Bypassed via Path Normalization | 8.8 | [CWE-284](https://cwe.mitre.org/data/definitions/284.html) | API5:2023 | +| `accesscontrol.method_bypass` | Access Control Bypassed via HTTP Method | 8.8 | [CWE-650](https://cwe.mitre.org/data/definitions/650.html) | API5:2023 | | `accesscontrol.nginx_alias_traversal` | Nginx Off-by-Slash Alias Traversal | 8.7 | [CWE-22](https://cwe.mitre.org/data/definitions/22.html) | API8:2023 | ## `accesscontrol.path_bypass` diff --git a/docs/checks/caching.mdx b/docs/checks/caching.mdx index 06a73a6..a87b919 100644 --- a/docs/checks/caching.mdx +++ b/docs/checks/caching.mdx @@ -13,10 +13,10 @@ These checks build on the same RFC 9111 (HTTP Caching) semantics as [`cache-dete | Check ID | Title | CVSS 4.0 | CWE | OWASP | | --- | --- | --- | --- | --- | -| `caching.authenticated_caching` | Authenticated Response Marked Cacheable | 8.7 | [CWE-524](https://cwe.mitre.org/data/definitions/524.html) | API1:2023 | -| `caching.vary_consistency` | Undeclared Cache-Key Input | 5.3 | [CWE-444](https://cwe.mitre.org/data/definitions/444.html) | API8:2023 | +| `caching.authenticated_caching` | Authenticated Response Marked Cacheable | 8.8 | [CWE-524](https://cwe.mitre.org/data/definitions/524.html) | API1:2023 | +| `caching.vary_consistency` | Undeclared Cache-Key Input | 6.9 | [CWE-444](https://cwe.mitre.org/data/definitions/444.html) | API8:2023 | | `caching.cache_poisoning` | Cache Poisoning via Unkeyed Header | 9.3 | [CWE-444](https://cwe.mitre.org/data/definitions/444.html) | API8:2023 | -| `caching.cache_deception` | Web Cache Deception via Path Confusion | 8.1 | [CWE-524](https://cwe.mitre.org/data/definitions/524.html) | API1:2023 | +| `caching.cache_deception` | Web Cache Deception via Path Confusion | 8.7 | [CWE-524](https://cwe.mitre.org/data/definitions/524.html) | API1:2023 | ## `caching.authenticated_caching` diff --git a/docs/checks/disclosure.mdx b/docs/checks/disclosure.mdx index ed0662f..285c49f 100644 --- a/docs/checks/disclosure.mdx +++ b/docs/checks/disclosure.mdx @@ -5,10 +5,10 @@ description: Verbose error pages, exposed proxy admin/status interfaces, directo | Check ID | Title | CVSS 4.0 | CWE | OWASP | | --- | --- | --- | --- | --- | -| `disclosure.verbose_errors` | Verbose Error Page Leaks Internal Details | 3.1 | [CWE-209](https://cwe.mitre.org/data/definitions/209.html) | API9:2023 | -| `disclosure.exposed_management` | Exposed Proxy Management or Admin Interface | 8.7 | [CWE-284](https://cwe.mitre.org/data/definitions/284.html) | API9:2023 | -| `disclosure.directory_listing` | Directory Listing Enabled | 4.3 | [CWE-548](https://cwe.mitre.org/data/definitions/548.html) | API9:2023 | -| `disclosure.config_exposure` | Config or Secrets File Exposed | 8.2 | [CWE-538](https://cwe.mitre.org/data/definitions/538.html) | API9:2023 | +| `disclosure.verbose_errors` | Verbose Error Page Leaks Internal Details | 6.9 | [CWE-209](https://cwe.mitre.org/data/definitions/209.html) | API9:2023 | +| `disclosure.exposed_management` | Exposed Proxy Management or Admin Interface | 8.8 | [CWE-284](https://cwe.mitre.org/data/definitions/284.html) | API9:2023 | +| `disclosure.directory_listing` | Directory Listing Enabled | 6.9 | [CWE-548](https://cwe.mitre.org/data/definitions/548.html) | API9:2023 | +| `disclosure.config_exposure` | Config or Secrets File Exposed | 8.7 | [CWE-538](https://cwe.mitre.org/data/definitions/538.html) | API9:2023 | ## `disclosure.verbose_errors` diff --git a/docs/checks/headers.mdx b/docs/checks/headers.mdx index ef788f0..d342b68 100644 --- a/docs/checks/headers.mdx +++ b/docs/checks/headers.mdx @@ -5,14 +5,14 @@ description: CSP, X-Frame-Options, X-Content-Type-Options, Referrer-Policy, Perm | Check ID | Title | CVSS 4.0 | CWE | OWASP | | --- | --- | --- | --- | --- | -| `headers.csp` | Content-Security-Policy Header Missing | 2.6 | [CWE-1021](https://cwe.mitre.org/data/definitions/1021.html) | API8:2023 | -| `headers.frame_options` | Clickjacking Protection Missing | 2.6 | [CWE-1021](https://cwe.mitre.org/data/definitions/1021.html) | API8:2023 | -| `headers.content_type_options` | X-Content-Type-Options Header Missing | 2.6 | [CWE-16](https://cwe.mitre.org/data/definitions/16.html) | API8:2023 | +| `headers.csp` | Content-Security-Policy Header Missing | 5.1 | [CWE-1021](https://cwe.mitre.org/data/definitions/1021.html) | API8:2023 | +| `headers.frame_options` | Clickjacking Protection Missing | 5.1 | [CWE-1021](https://cwe.mitre.org/data/definitions/1021.html) | API8:2023 | +| `headers.content_type_options` | X-Content-Type-Options Header Missing | 5.1 | [CWE-16](https://cwe.mitre.org/data/definitions/16.html) | API8:2023 | | `headers.referrer_policy` | Referrer-Policy Header Missing | 0 (informational) | [CWE-200](https://cwe.mitre.org/data/definitions/200.html) | API8:2023 | | `headers.permissions_policy` | Permissions-Policy Header Missing | 0 (informational) | [CWE-1021](https://cwe.mitre.org/data/definitions/1021.html) | API8:2023 | -| `headers.server_banner` | Server/X-Powered-By Banner Discloses Software or Version | 3.1 | [CWE-200](https://cwe.mitre.org/data/definitions/200.html) | API7:2023 | -| `headers.cookie_flags` | Cookie Missing Secure, HttpOnly, or SameSite | 4.6 | [CWE-1004](https://cwe.mitre.org/data/definitions/1004.html) | API8:2023 | -| `headers.cors` | CORS Misconfiguration | 6.7 | [CWE-942](https://cwe.mitre.org/data/definitions/942.html) | API8:2023 | +| `headers.server_banner` | Server/X-Powered-By Banner Discloses Software or Version | 6.9 | [CWE-200](https://cwe.mitre.org/data/definitions/200.html) | API7:2023 | +| `headers.cookie_flags` | Cookie Missing Secure, HttpOnly, or SameSite | 5.1 | [CWE-1004](https://cwe.mitre.org/data/definitions/1004.html) | API8:2023 | +| `headers.cors` | CORS Misconfiguration | 6.9 | [CWE-942](https://cwe.mitre.org/data/definitions/942.html) | API8:2023 | ## `headers.csp` diff --git a/docs/checks/headertrust.mdx b/docs/checks/headertrust.mdx index 5a7a9b4..6d2bcbd 100644 --- a/docs/checks/headertrust.mdx +++ b/docs/checks/headertrust.mdx @@ -13,14 +13,14 @@ These checks send a distinctive, non-routable ([RFC 5737](https://www.rfc-editor | Check ID | Title | CVSS 4.0 | CWE | OWASP | | --- | --- | --- | --- | --- | -| `headertrust.x_forwarded_for` | X-Forwarded-For Value Reflected | 5.3 | [CWE-348](https://cwe.mitre.org/data/definitions/348.html) | API8:2023 | -| `headertrust.x_real_ip` | X-Real-IP Value Reflected | 5.3 | [CWE-348](https://cwe.mitre.org/data/definitions/348.html) | API8:2023 | -| `headertrust.true_client_ip` | True-Client-IP Value Reflected | 5.3 | [CWE-348](https://cwe.mitre.org/data/definitions/348.html) | API8:2023 | -| `headertrust.x_forwarded_host` | X-Forwarded-Host Value Trusted | 5.3 | [CWE-350](https://cwe.mitre.org/data/definitions/350.html) | API8:2023 | -| `headertrust.host_header_injection` | Host Header Value Trusted | 5.3 | [CWE-350](https://cwe.mitre.org/data/definitions/350.html) | API8:2023 | -| `headertrust.vhost_confusion` | Virtual-Host Confusion via Crafted Host Header | 6.5 | [CWE-441](https://cwe.mitre.org/data/definitions/441.html) | API8:2023 | -| `headertrust.forwarded_consistency` | Forwarded Header Inconsistent With Legacy Headers | 4.8 | [CWE-348](https://cwe.mitre.org/data/definitions/348.html) | API8:2023 | -| `headertrust.acl_bypass` | IP-Based Access Control Bypassed via Spoofed Client-IP Header | 8.7 | [CWE-290](https://cwe.mitre.org/data/definitions/290.html) | API5:2023 | +| `headertrust.x_forwarded_for` | X-Forwarded-For Value Reflected | 6.9 | [CWE-348](https://cwe.mitre.org/data/definitions/348.html) | API8:2023 | +| `headertrust.x_real_ip` | X-Real-IP Value Reflected | 6.9 | [CWE-348](https://cwe.mitre.org/data/definitions/348.html) | API8:2023 | +| `headertrust.true_client_ip` | True-Client-IP Value Reflected | 6.9 | [CWE-348](https://cwe.mitre.org/data/definitions/348.html) | API8:2023 | +| `headertrust.x_forwarded_host` | X-Forwarded-Host Value Trusted | 6.9 | [CWE-350](https://cwe.mitre.org/data/definitions/350.html) | API8:2023 | +| `headertrust.host_header_injection` | Host Header Value Trusted | 6.9 | [CWE-350](https://cwe.mitre.org/data/definitions/350.html) | API8:2023 | +| `headertrust.vhost_confusion` | Virtual-Host Confusion via Crafted Host Header | 6.9 | [CWE-441](https://cwe.mitre.org/data/definitions/441.html) | API8:2023 | +| `headertrust.forwarded_consistency` | Forwarded Header Inconsistent With Legacy Headers | 6.9 | [CWE-348](https://cwe.mitre.org/data/definitions/348.html) | API8:2023 | +| `headertrust.acl_bypass` | IP-Based Access Control Bypassed via Spoofed Client-IP Header | 8.8 | [CWE-290](https://cwe.mitre.org/data/definitions/290.html) | API5:2023 | ## `headertrust.x_forwarded_for` / `headertrust.x_real_ip` / `headertrust.true_client_ip` diff --git a/docs/checks/protocol.mdx b/docs/checks/protocol.mdx index 9092a04..72be7df 100644 --- a/docs/checks/protocol.mdx +++ b/docs/checks/protocol.mdx @@ -19,7 +19,7 @@ routing and desync issues. | Check ID | Title | CVSS 4.0 | CWE | OWASP | | --- | --- | --- | --- | --- | -| `protocol.h2_authority_trust` | HTTP/2 :authority Pseudo-Header Trusted / Reflected | 5.3 | [CWE-444](https://cwe.mitre.org/data/definitions/444.html) | API8:2023 | +| `protocol.h2_authority_trust` | HTTP/2 :authority Pseudo-Header Trusted / Reflected | 6.9 | [CWE-444](https://cwe.mitre.org/data/definitions/444.html) | API8:2023 | ## `protocol.h2_authority_trust` diff --git a/docs/checks/ratelimit.mdx b/docs/checks/ratelimit.mdx index 5d0963c..a3c9194 100644 --- a/docs/checks/ratelimit.mdx +++ b/docs/checks/ratelimit.mdx @@ -18,9 +18,9 @@ properties with small, bounded probes. | Check ID | Title | CVSS 4.0 | CWE | OWASP | | --- | --- | --- | --- | --- | -| `ratelimit.missing_throttling` | No Per-Client Request Throttling at the Proxy | 5.3 | [CWE-770](https://cwe.mitre.org/data/definitions/770.html) | API4:2023 | -| `ratelimit.spoofed_ip_bypass` | Rate Limit Bypassed via Spoofed Client-IP Header | 6.9 | [CWE-770](https://cwe.mitre.org/data/definitions/770.html) | API4:2023 | -| `ratelimit.oversized_header` | Oversized Request Headers Accepted Without a Limit | 5.3 | [CWE-770](https://cwe.mitre.org/data/definitions/770.html) | API4:2023 | +| `ratelimit.missing_throttling` | No Per-Client Request Throttling at the Proxy | 6.9 | [CWE-770](https://cwe.mitre.org/data/definitions/770.html) | API4:2023 | +| `ratelimit.spoofed_ip_bypass` | Rate Limit Bypassed via Spoofed Client-IP Header | 8.7 | [CWE-770](https://cwe.mitre.org/data/definitions/770.html) | API4:2023 | +| `ratelimit.oversized_header` | Oversized Request Headers Accepted Without a Limit | 6.9 | [CWE-770](https://cwe.mitre.org/data/definitions/770.html) | API4:2023 | ## `ratelimit.missing_throttling` diff --git a/docs/checks/smuggling.mdx b/docs/checks/smuggling.mdx index ad59fd5..c8be94b 100644 --- a/docs/checks/smuggling.mdx +++ b/docs/checks/smuggling.mdx @@ -23,7 +23,7 @@ accepts it supplies the desync primitive. | Check ID | Title | CVSS 4.0 | CWE | OWASP | | --- | --- | --- | --- | --- | -| `smuggling.ambiguous_framing` | Ambiguous Request Framing Accepted (Smuggling Precondition) | 7.3 | [CWE-444](https://cwe.mitre.org/data/definitions/444.html) | API8:2023 | +| `smuggling.ambiguous_framing` | Ambiguous Request Framing Accepted (Smuggling Precondition) | 9.2 | [CWE-444](https://cwe.mitre.org/data/definitions/444.html) | API8:2023 | ## `smuggling.ambiguous_framing` diff --git a/docs/checks/ssrf.mdx b/docs/checks/ssrf.mdx index e8a2eac..1addb04 100644 --- a/docs/checks/ssrf.mdx +++ b/docs/checks/ssrf.mdx @@ -21,8 +21,8 @@ cloud metadata service. | Check ID | Title | CVSS 4.0 | CWE | OWASP | | --- | --- | --- | --- | --- | -| `ssrf.open_forward_proxy` | Open Forward Proxy / SSRF via Absolute-URI Request | 8.2 | [CWE-918](https://cwe.mitre.org/data/definitions/918.html) | API7:2023 | -| `ssrf.internal_target_access` | SSRF Reaches Internal Hosts via the Proxy | 9.3 | [CWE-918](https://cwe.mitre.org/data/definitions/918.html) | API7:2023 | +| `ssrf.open_forward_proxy` | Open Forward Proxy / SSRF via Absolute-URI Request | 8.8 | [CWE-918](https://cwe.mitre.org/data/definitions/918.html) | API7:2023 | +| `ssrf.internal_target_access` | SSRF Reaches Internal Hosts via the Proxy | 9.9 | [CWE-918](https://cwe.mitre.org/data/definitions/918.html) | API7:2023 | ## `ssrf.open_forward_proxy` diff --git a/docs/checks/tls.mdx b/docs/checks/tls.mdx index 6b5c0aa..d7d0133 100644 --- a/docs/checks/tls.mdx +++ b/docs/checks/tls.mdx @@ -5,10 +5,10 @@ description: Protocol version, cipher strength/forward secrecy, certificate chai | Check ID | Title | CVSS 4.0 | CWE | OWASP | | --- | --- | --- | --- | --- | -| `tls.protocol_version` | Weak TLS Protocol Version Accepted | 5.3 | [CWE-326](https://cwe.mitre.org/data/definitions/326.html) | API8:2023 | -| `tls.cipher_strength` | Weak Cipher Suite or Missing Forward Secrecy | 4.8 | [CWE-327](https://cwe.mitre.org/data/definitions/327.html) | API8:2023 | -| `tls.certificate` | Certificate Chain, Expiry, Hostname, or OCSP Stapling Issue | 5.3 | [CWE-295](https://cwe.mitre.org/data/definitions/295.html) | API8:2023 | -| `tls.https_redirect` | Missing HTTP to HTTPS Redirect | 5.3 | [CWE-319](https://cwe.mitre.org/data/definitions/319.html) | API8:2023 | +| `tls.protocol_version` | Weak TLS Protocol Version Accepted | 6.9 | [CWE-326](https://cwe.mitre.org/data/definitions/326.html) | API8:2023 | +| `tls.cipher_strength` | Weak Cipher Suite or Missing Forward Secrecy | 6.9 | [CWE-327](https://cwe.mitre.org/data/definitions/327.html) | API8:2023 | +| `tls.certificate` | Certificate Chain, Expiry, Hostname, or OCSP Stapling Issue | 6.9 | [CWE-295](https://cwe.mitre.org/data/definitions/295.html) | API8:2023 | +| `tls.https_redirect` | Missing HTTP to HTTPS Redirect | 6.9 | [CWE-319](https://cwe.mitre.org/data/definitions/319.html) | API8:2023 | | `tls.hsts` | Missing or Weak Strict-Transport-Security Header | 0 (informational) | [CWE-16](https://cwe.mitre.org/data/definitions/16.html) | API8:2023 | ## `tls.protocol_version` diff --git a/docs/checks/waf.mdx b/docs/checks/waf.mdx index 908f230..f57c737 100644 --- a/docs/checks/waf.mdx +++ b/docs/checks/waf.mdx @@ -13,9 +13,9 @@ These checks validate the filtering layer in front of the backend, not the backe | Check ID | Title | CVSS 4.0 | CWE | OWASP | | --- | --- | --- | --- | --- | -| `waf.baseline_payloads` | Baseline Attack Payloads Not Blocked | 5.3 | [CWE-693](https://cwe.mitre.org/data/definitions/693.html) | API8:2023 | -| `waf.encoding_bypass` | WAF Bypassed via Payload Encoding | 5.3 | [CWE-693](https://cwe.mitre.org/data/definitions/693.html) | API8:2023 | -| `waf.content_type_consistency` | Inconsistent WAF Filtering Across Content Types | 5.3 | [CWE-693](https://cwe.mitre.org/data/definitions/693.html) | API8:2023 | +| `waf.baseline_payloads` | Baseline Attack Payloads Not Blocked | 6.9 | [CWE-693](https://cwe.mitre.org/data/definitions/693.html) | API8:2023 | +| `waf.encoding_bypass` | WAF Bypassed via Payload Encoding | 6.9 | [CWE-693](https://cwe.mitre.org/data/definitions/693.html) | API8:2023 | +| `waf.content_type_consistency` | Inconsistent WAF Filtering Across Content Types | 6.9 | [CWE-693](https://cwe.mitre.org/data/definitions/693.html) | API8:2023 | ## `waf.baseline_payloads` diff --git a/go.mod b/go.mod index a6964b7..29f6f91 100644 --- a/go.mod +++ b/go.mod @@ -4,7 +4,7 @@ go 1.27.0 require ( github.com/cerberauth/cache-detective v0.0.0-20260917215736-01100a70209b - github.com/cerberauth/harnessx v0.5.0 + github.com/cerberauth/harnessx v0.5.1-0.20261115193329-811e1dec1662 github.com/cerberauth/x v0.0.0-20261107180155-4a52fa2eefe1 github.com/getargvio/argvio-go v0.6.0 github.com/spf13/cobra v1.10.2 diff --git a/go.sum b/go.sum index 5657ed9..82e5973 100644 --- a/go.sum +++ b/go.sum @@ -6,6 +6,8 @@ github.com/cerberauth/cache-detective v0.0.0-20260917215736-01100a70209b h1:evf7 github.com/cerberauth/cache-detective v0.0.0-20260917215736-01100a70209b/go.mod h1:+neXN/38V+OxGAAWUBHFDntaFxa9M49f9bjaOmHaOAY= github.com/cerberauth/harnessx v0.5.0 h1:9XTxMkyLAnMQBkrxB4ZZ9O4Zbf/3u6FYI3TzzVIDvSw= github.com/cerberauth/harnessx v0.5.0/go.mod h1:uXaZUv/Ic5PMsxHb2KzMFaTQjWTDftF5r0yYS6Ha22U= +github.com/cerberauth/harnessx v0.5.1-0.20261115193329-811e1dec1662 h1:eMPuJC9DTf6bYnF9Hy2L45sS422Poz5Sf3ReqdFyry0= +github.com/cerberauth/harnessx v0.5.1-0.20261115193329-811e1dec1662/go.mod h1:uXaZUv/Ic5PMsxHb2KzMFaTQjWTDftF5r0yYS6Ha22U= github.com/cerberauth/reportx v0.4.0 h1:Nb+NsC2dvFEj4mUBEVN9jkD9i7++CMpMTqxYBmBbr/I= github.com/cerberauth/reportx v0.4.0/go.mod h1:w51Q19ZWF7OJdDmBoSwBVf2DfdcE8t883fEsKwcd0+o= github.com/cerberauth/x v0.0.0-20261107180155-4a52fa2eefe1 h1:mkI0iC754vwv8HVNlh2lWwY2vh0SW7NP56DXfSwez4k= diff --git a/proxy/checks/accesscontrol/method_bypass/check.yaml b/proxy/checks/accesscontrol/method_bypass/check.yaml index e948c66..c9d8747 100644 --- a/proxy/checks/accesscontrol/method_bypass/check.yaml +++ b/proxy/checks/accesscontrol/method_bypass/check.yaml @@ -5,6 +5,6 @@ link: "https://owasp.org/API-Security/editions/2023/en/0xa5-broken-function-leve tags: - accesscontrol cvss_vector: "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N" -cvss_score: 8.7 +cvss_score: 8.8 cwe_id: "CWE-650" owasp: "API5:2023" diff --git a/proxy/checks/accesscontrol/path_bypass/check.yaml b/proxy/checks/accesscontrol/path_bypass/check.yaml index 064e851..e6e4463 100644 --- a/proxy/checks/accesscontrol/path_bypass/check.yaml +++ b/proxy/checks/accesscontrol/path_bypass/check.yaml @@ -5,6 +5,6 @@ link: "https://owasp.org/API-Security/editions/2023/en/0xa5-broken-function-leve tags: - accesscontrol cvss_vector: "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N" -cvss_score: 8.7 +cvss_score: 8.8 cwe_id: "CWE-284" owasp: "API5:2023" diff --git a/proxy/checks/caching/authenticated_caching/check.yaml b/proxy/checks/caching/authenticated_caching/check.yaml index a1fd67c..371ea81 100644 --- a/proxy/checks/caching/authenticated_caching/check.yaml +++ b/proxy/checks/caching/authenticated_caching/check.yaml @@ -8,6 +8,6 @@ tags: depends_on: - "probe.http_fetch" cvss_vector: "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N" -cvss_score: 8.7 +cvss_score: 8.8 cwe_id: "CWE-524" owasp: "API1:2023" diff --git a/proxy/checks/caching/cache_deception/check.yaml b/proxy/checks/caching/cache_deception/check.yaml index f24f4eb..638dc3a 100644 --- a/proxy/checks/caching/cache_deception/check.yaml +++ b/proxy/checks/caching/cache_deception/check.yaml @@ -8,6 +8,6 @@ tags: depends_on: - "probe.http_fetch" cvss_vector: "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N" -cvss_score: 8.1 +cvss_score: 8.7 cwe_id: "CWE-524" owasp: "API1:2023" diff --git a/proxy/checks/caching/vary_consistency/check.yaml b/proxy/checks/caching/vary_consistency/check.yaml index 7f136b3..21bae99 100644 --- a/proxy/checks/caching/vary_consistency/check.yaml +++ b/proxy/checks/caching/vary_consistency/check.yaml @@ -8,6 +8,6 @@ tags: depends_on: - "probe.http_fetch" cvss_vector: "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N" -cvss_score: 5.3 +cvss_score: 6.9 cwe_id: "CWE-444" owasp: "API8:2023" diff --git a/proxy/checks/disclosure/config_exposure/check.yaml b/proxy/checks/disclosure/config_exposure/check.yaml index 2997b7a..7218c50 100644 --- a/proxy/checks/disclosure/config_exposure/check.yaml +++ b/proxy/checks/disclosure/config_exposure/check.yaml @@ -6,6 +6,6 @@ tags: - disclosure depends_on: [] cvss_vector: "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N" -cvss_score: 8.2 +cvss_score: 8.7 cwe_id: "CWE-538" owasp: "API9:2023" diff --git a/proxy/checks/disclosure/directory_listing/check.yaml b/proxy/checks/disclosure/directory_listing/check.yaml index 1138c21..fed33c9 100644 --- a/proxy/checks/disclosure/directory_listing/check.yaml +++ b/proxy/checks/disclosure/directory_listing/check.yaml @@ -6,6 +6,6 @@ tags: - disclosure depends_on: [] cvss_vector: "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N" -cvss_score: 4.3 +cvss_score: 6.9 cwe_id: "CWE-548" owasp: "API9:2023" diff --git a/proxy/checks/disclosure/exposed_management/check.yaml b/proxy/checks/disclosure/exposed_management/check.yaml index f05ca79..f108c10 100644 --- a/proxy/checks/disclosure/exposed_management/check.yaml +++ b/proxy/checks/disclosure/exposed_management/check.yaml @@ -6,6 +6,6 @@ tags: - disclosure depends_on: [] cvss_vector: "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N" -cvss_score: 8.7 +cvss_score: 8.8 cwe_id: "CWE-284" owasp: "API9:2023" diff --git a/proxy/checks/disclosure/verbose_errors/check.yaml b/proxy/checks/disclosure/verbose_errors/check.yaml index 74a1e8f..cc7c7e1 100644 --- a/proxy/checks/disclosure/verbose_errors/check.yaml +++ b/proxy/checks/disclosure/verbose_errors/check.yaml @@ -6,6 +6,6 @@ tags: - disclosure depends_on: [] cvss_vector: "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:L/SI:N/SA:N" -cvss_score: 3.1 +cvss_score: 6.9 cwe_id: "CWE-209" owasp: "API9:2023" diff --git a/proxy/checks/headers/content_type_options/check.yaml b/proxy/checks/headers/content_type_options/check.yaml index 7a9207d..ac75a3e 100644 --- a/proxy/checks/headers/content_type_options/check.yaml +++ b/proxy/checks/headers/content_type_options/check.yaml @@ -7,6 +7,6 @@ tags: depends_on: - "probe.http_fetch" cvss_vector: "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N" -cvss_score: 2.6 +cvss_score: 5.1 cwe_id: "CWE-16" owasp: "API8:2023" diff --git a/proxy/checks/headers/cookie_flags/check.yaml b/proxy/checks/headers/cookie_flags/check.yaml index 607d097..73935f9 100644 --- a/proxy/checks/headers/cookie_flags/check.yaml +++ b/proxy/checks/headers/cookie_flags/check.yaml @@ -8,6 +8,6 @@ tags: depends_on: - "probe.http_fetch" cvss_vector: "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N" -cvss_score: 4.6 +cvss_score: 5.1 cwe_id: "CWE-1004" owasp: "API8:2023" diff --git a/proxy/checks/headers/cors/check.yaml b/proxy/checks/headers/cors/check.yaml index 9156ac0..e83afe0 100644 --- a/proxy/checks/headers/cors/check.yaml +++ b/proxy/checks/headers/cors/check.yaml @@ -5,6 +5,6 @@ link: "https://portswigger.net/web-security/cors" tags: - headers cvss_vector: "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N" -cvss_score: 6.7 +cvss_score: 6.9 cwe_id: "CWE-942" owasp: "API8:2023" diff --git a/proxy/checks/headers/csp/check.yaml b/proxy/checks/headers/csp/check.yaml index 1f7bf95..52de60a 100644 --- a/proxy/checks/headers/csp/check.yaml +++ b/proxy/checks/headers/csp/check.yaml @@ -7,6 +7,6 @@ tags: depends_on: - "probe.http_fetch" cvss_vector: "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N" -cvss_score: 2.6 +cvss_score: 5.1 cwe_id: "CWE-1021" owasp: "API8:2023" diff --git a/proxy/checks/headers/frame_options/check.yaml b/proxy/checks/headers/frame_options/check.yaml index b5558a6..fb9048f 100644 --- a/proxy/checks/headers/frame_options/check.yaml +++ b/proxy/checks/headers/frame_options/check.yaml @@ -7,6 +7,6 @@ tags: depends_on: - "probe.http_fetch" cvss_vector: "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N" -cvss_score: 2.6 +cvss_score: 5.1 cwe_id: "CWE-1021" owasp: "API8:2023" diff --git a/proxy/checks/headers/server_banner/check.yaml b/proxy/checks/headers/server_banner/check.yaml index fec0fd9..140b24d 100644 --- a/proxy/checks/headers/server_banner/check.yaml +++ b/proxy/checks/headers/server_banner/check.yaml @@ -8,6 +8,6 @@ tags: depends_on: - "probe.http_fetch" cvss_vector: "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:L/SI:N/SA:N" -cvss_score: 3.1 +cvss_score: 6.9 cwe_id: "CWE-200" owasp: "API7:2023" diff --git a/proxy/checks/headertrust/acl_bypass/check.yaml b/proxy/checks/headertrust/acl_bypass/check.yaml index 32470f1..c54873e 100644 --- a/proxy/checks/headertrust/acl_bypass/check.yaml +++ b/proxy/checks/headertrust/acl_bypass/check.yaml @@ -5,6 +5,6 @@ link: "https://owasp.org/API-Security/editions/2023/en/0xa5-broken-function-leve tags: - headertrust cvss_vector: "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N" -cvss_score: 8.7 +cvss_score: 8.8 cwe_id: "CWE-290" owasp: "API5:2023" diff --git a/proxy/checks/headertrust/forwarded_consistency/check.yaml b/proxy/checks/headertrust/forwarded_consistency/check.yaml index cfe8099..ded281c 100644 --- a/proxy/checks/headertrust/forwarded_consistency/check.yaml +++ b/proxy/checks/headertrust/forwarded_consistency/check.yaml @@ -5,6 +5,6 @@ link: "https://datatracker.ietf.org/doc/html/rfc7239" tags: - headertrust cvss_vector: "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N" -cvss_score: 4.8 +cvss_score: 6.9 cwe_id: "CWE-348" owasp: "API8:2023" diff --git a/proxy/checks/headertrust/host_header_injection/check.yaml b/proxy/checks/headertrust/host_header_injection/check.yaml index 262f268..fee58ce 100644 --- a/proxy/checks/headertrust/host_header_injection/check.yaml +++ b/proxy/checks/headertrust/host_header_injection/check.yaml @@ -5,6 +5,6 @@ link: "https://portswigger.net/web-security/host-header" tags: - headertrust cvss_vector: "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N" -cvss_score: 5.3 +cvss_score: 6.9 cwe_id: "CWE-350" owasp: "API8:2023" diff --git a/proxy/checks/headertrust/true_client_ip/check.yaml b/proxy/checks/headertrust/true_client_ip/check.yaml index 5868e02..c006524 100644 --- a/proxy/checks/headertrust/true_client_ip/check.yaml +++ b/proxy/checks/headertrust/true_client_ip/check.yaml @@ -5,6 +5,6 @@ link: "https://techdocs.akamai.com/property-mgr/docs/custom-behaviors-true-clien tags: - headertrust cvss_vector: "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N" -cvss_score: 5.3 +cvss_score: 6.9 cwe_id: "CWE-348" owasp: "API8:2023" diff --git a/proxy/checks/headertrust/vhost_confusion/check.yaml b/proxy/checks/headertrust/vhost_confusion/check.yaml index 5708192..f7e8eef 100644 --- a/proxy/checks/headertrust/vhost_confusion/check.yaml +++ b/proxy/checks/headertrust/vhost_confusion/check.yaml @@ -5,6 +5,6 @@ link: "https://portswigger.net/web-security/host-header" tags: - headertrust cvss_vector: "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N" -cvss_score: 6.5 +cvss_score: 6.9 cwe_id: "CWE-441" owasp: "API8:2023" diff --git a/proxy/checks/headertrust/x_forwarded_for/check.yaml b/proxy/checks/headertrust/x_forwarded_for/check.yaml index 6e11555..d135496 100644 --- a/proxy/checks/headertrust/x_forwarded_for/check.yaml +++ b/proxy/checks/headertrust/x_forwarded_for/check.yaml @@ -5,6 +5,6 @@ link: "https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Forwarded-For tags: - headertrust cvss_vector: "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N" -cvss_score: 5.3 +cvss_score: 6.9 cwe_id: "CWE-348" owasp: "API8:2023" diff --git a/proxy/checks/headertrust/x_forwarded_host/check.yaml b/proxy/checks/headertrust/x_forwarded_host/check.yaml index 273ead1..f55ef04 100644 --- a/proxy/checks/headertrust/x_forwarded_host/check.yaml +++ b/proxy/checks/headertrust/x_forwarded_host/check.yaml @@ -5,6 +5,6 @@ link: "https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Forwarded-Hos tags: - headertrust cvss_vector: "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N" -cvss_score: 5.3 +cvss_score: 6.9 cwe_id: "CWE-350" owasp: "API8:2023" diff --git a/proxy/checks/headertrust/x_real_ip/check.yaml b/proxy/checks/headertrust/x_real_ip/check.yaml index 5896d97..f41d5d2 100644 --- a/proxy/checks/headertrust/x_real_ip/check.yaml +++ b/proxy/checks/headertrust/x_real_ip/check.yaml @@ -5,6 +5,6 @@ link: "https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Real-IP" tags: - headertrust cvss_vector: "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N" -cvss_score: 5.3 +cvss_score: 6.9 cwe_id: "CWE-348" owasp: "API8:2023" diff --git a/proxy/checks/protocol/h2_authority_trust/check.yaml b/proxy/checks/protocol/h2_authority_trust/check.yaml index 1f4fd10..9f0a9a7 100644 --- a/proxy/checks/protocol/h2_authority_trust/check.yaml +++ b/proxy/checks/protocol/h2_authority_trust/check.yaml @@ -8,6 +8,6 @@ tags: depends_on: - "probe.http_fetch" cvss_vector: "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N" -cvss_score: 5.3 +cvss_score: 6.9 cwe_id: "CWE-444" owasp: "API8:2023" diff --git a/proxy/checks/ratelimit/missing_throttling/check.yaml b/proxy/checks/ratelimit/missing_throttling/check.yaml index ab74332..cdddeae 100644 --- a/proxy/checks/ratelimit/missing_throttling/check.yaml +++ b/proxy/checks/ratelimit/missing_throttling/check.yaml @@ -8,6 +8,6 @@ tags: depends_on: - "probe.http_fetch" cvss_vector: "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N" -cvss_score: 5.3 +cvss_score: 6.9 cwe_id: "CWE-770" owasp: "API4:2023" diff --git a/proxy/checks/ratelimit/oversized_header/check.yaml b/proxy/checks/ratelimit/oversized_header/check.yaml index 74fade7..d53ab5c 100644 --- a/proxy/checks/ratelimit/oversized_header/check.yaml +++ b/proxy/checks/ratelimit/oversized_header/check.yaml @@ -8,6 +8,6 @@ tags: depends_on: - "probe.http_fetch" cvss_vector: "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N" -cvss_score: 5.3 +cvss_score: 6.9 cwe_id: "CWE-770" owasp: "API4:2023" diff --git a/proxy/checks/ratelimit/spoofed_ip_bypass/check.yaml b/proxy/checks/ratelimit/spoofed_ip_bypass/check.yaml index 48410fb..1edcbe2 100644 --- a/proxy/checks/ratelimit/spoofed_ip_bypass/check.yaml +++ b/proxy/checks/ratelimit/spoofed_ip_bypass/check.yaml @@ -8,6 +8,6 @@ tags: depends_on: - "probe.http_fetch" cvss_vector: "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N" -cvss_score: 6.9 +cvss_score: 8.7 cwe_id: "CWE-770" owasp: "API4:2023" diff --git a/proxy/checks/smuggling/ambiguous_framing/check.yaml b/proxy/checks/smuggling/ambiguous_framing/check.yaml index 5ed18d3..fbef7f0 100644 --- a/proxy/checks/smuggling/ambiguous_framing/check.yaml +++ b/proxy/checks/smuggling/ambiguous_framing/check.yaml @@ -8,6 +8,6 @@ tags: depends_on: - "probe.http_fetch" cvss_vector: "CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N" -cvss_score: 7.3 +cvss_score: 9.2 cwe_id: "CWE-444" owasp: "API8:2023" diff --git a/proxy/checks/ssrf/internal_target_access/check.yaml b/proxy/checks/ssrf/internal_target_access/check.yaml index dc23377..1a07c07 100644 --- a/proxy/checks/ssrf/internal_target_access/check.yaml +++ b/proxy/checks/ssrf/internal_target_access/check.yaml @@ -8,6 +8,6 @@ tags: depends_on: - "probe.http_fetch" cvss_vector: "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:H/SI:L/SA:N" -cvss_score: 9.3 +cvss_score: 9.9 cwe_id: "CWE-918" owasp: "API7:2023" diff --git a/proxy/checks/ssrf/open_forward_proxy/check.yaml b/proxy/checks/ssrf/open_forward_proxy/check.yaml index 443e690..f7e4d21 100644 --- a/proxy/checks/ssrf/open_forward_proxy/check.yaml +++ b/proxy/checks/ssrf/open_forward_proxy/check.yaml @@ -8,6 +8,6 @@ tags: depends_on: - "probe.http_fetch" cvss_vector: "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N" -cvss_score: 8.2 +cvss_score: 8.8 cwe_id: "CWE-918" owasp: "API7:2023" diff --git a/proxy/checks/tls/certificate/check.yaml b/proxy/checks/tls/certificate/check.yaml index ca088be..04cffd6 100644 --- a/proxy/checks/tls/certificate/check.yaml +++ b/proxy/checks/tls/certificate/check.yaml @@ -9,6 +9,6 @@ tags: depends_on: - "probe.tls_info" cvss_vector: "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N" -cvss_score: 5.3 +cvss_score: 6.9 cwe_id: "CWE-295" owasp: "API8:2023" diff --git a/proxy/checks/tls/cipher_strength/check.yaml b/proxy/checks/tls/cipher_strength/check.yaml index 01fe610..472fa8d 100644 --- a/proxy/checks/tls/cipher_strength/check.yaml +++ b/proxy/checks/tls/cipher_strength/check.yaml @@ -8,6 +8,6 @@ tags: depends_on: - "probe.tls_info" cvss_vector: "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N" -cvss_score: 4.8 +cvss_score: 6.9 cwe_id: "CWE-327" owasp: "API8:2023" diff --git a/proxy/checks/tls/https_redirect/check.yaml b/proxy/checks/tls/https_redirect/check.yaml index aebaa6c..c0d946b 100644 --- a/proxy/checks/tls/https_redirect/check.yaml +++ b/proxy/checks/tls/https_redirect/check.yaml @@ -6,6 +6,6 @@ tags: - tls - transport cvss_vector: "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N" -cvss_score: 5.3 +cvss_score: 6.9 cwe_id: "CWE-319" owasp: "API8:2023" diff --git a/proxy/checks/tls/protocol_version/check.yaml b/proxy/checks/tls/protocol_version/check.yaml index 91f40d1..745a9ec 100644 --- a/proxy/checks/tls/protocol_version/check.yaml +++ b/proxy/checks/tls/protocol_version/check.yaml @@ -8,6 +8,6 @@ tags: depends_on: - "probe.tls_info" cvss_vector: "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N" -cvss_score: 5.3 +cvss_score: 6.9 cwe_id: "CWE-326" owasp: "API8:2023" diff --git a/proxy/checks/waf/baseline_payloads/check.yaml b/proxy/checks/waf/baseline_payloads/check.yaml index da7685d..73d19e5 100644 --- a/proxy/checks/waf/baseline_payloads/check.yaml +++ b/proxy/checks/waf/baseline_payloads/check.yaml @@ -6,6 +6,6 @@ tags: - waf - filtering cvss_vector: "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N" -cvss_score: 5.3 +cvss_score: 6.9 cwe_id: "CWE-693" owasp: "API8:2023" diff --git a/proxy/checks/waf/content_type_consistency/check.yaml b/proxy/checks/waf/content_type_consistency/check.yaml index f93296a..e3f2c4b 100644 --- a/proxy/checks/waf/content_type_consistency/check.yaml +++ b/proxy/checks/waf/content_type_consistency/check.yaml @@ -6,6 +6,6 @@ tags: - waf - filtering cvss_vector: "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N" -cvss_score: 5.3 +cvss_score: 6.9 cwe_id: "CWE-693" owasp: "API8:2023" diff --git a/proxy/checks/waf/encoding_bypass/check.yaml b/proxy/checks/waf/encoding_bypass/check.yaml index fcce260..cd40a74 100644 --- a/proxy/checks/waf/encoding_bypass/check.yaml +++ b/proxy/checks/waf/encoding_bypass/check.yaml @@ -6,6 +6,6 @@ tags: - waf - filtering cvss_vector: "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N" -cvss_score: 5.3 +cvss_score: 6.9 cwe_id: "CWE-693" owasp: "API8:2023" diff --git a/proxy/checks_test.go b/proxy/checks_test.go index 1cd4a70..c4e63a2 100644 --- a/proxy/checks_test.go +++ b/proxy/checks_test.go @@ -28,3 +28,11 @@ func TestAllChecks_RegistersWithoutError(t *testing.T) { assert.True(t, ok, "missing CheckDef for %s", c.ID) } } + +func TestAllChecks_CVSSScoresMatchVectors(t *testing.T) { + _, defs := proxy.AllChecks() + require.NotEmpty(t, defs) + for id, def := range defs { + assert.NoError(t, def.ValidateCVSS(), id) + } +}