Repository navigation
Open
Labels
bugSomething isn't workingSomething isn't workingpriority:P2Aggressive / attack-simulation checks — opt-in flag requiredAggressive / attack-simulation checks — opt-in flag required
Description
Goal
Every cvss_score matches its cvss_vector as scored by the FIRST CVSS v4.0 calculator, and a test keeps it that way.
Current behaviour
33 check definitions on main carry a score that does not match their vector (the 4 TLS checks are fixed in #38):
| Check | Current | FIRST calculator | Vector |
|---|---|---|---|
proxy/checks/accesscontrol/method_bypass |
8.7 | 8.8 | 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 |
proxy/checks/accesscontrol/path_bypass |
8.7 | 8.8 | 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 |
proxy/checks/caching/authenticated_caching |
8.7 | 8.8 | 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 |
proxy/checks/caching/cache_deception |
8.1 | 8.7 | 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 |
proxy/checks/caching/vary_consistency |
5.3 | 6.9 | 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 |
proxy/checks/disclosure/config_exposure |
8.2 | 8.7 | 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 |
proxy/checks/disclosure/directory_listing |
4.3 | 6.9 | 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 |
proxy/checks/disclosure/exposed_management |
8.7 | 8.8 | 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 |
proxy/checks/disclosure/verbose_errors |
3.1 | 6.9 | 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 |
proxy/checks/headers/content_type_options |
2.6 | 5.1 | 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 |
proxy/checks/headers/cookie_flags |
4.6 | 5.1 | 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 |
proxy/checks/headers/cors |
6.7 | 6.9 | 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 |
proxy/checks/headers/csp |
2.6 | 5.1 | 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 |
proxy/checks/headers/frame_options |
2.6 | 5.1 | 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 |
proxy/checks/headers/server_banner |
3.1 | 6.9 | 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 |
proxy/checks/headertrust/acl_bypass |
8.7 | 8.8 | 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 |
proxy/checks/headertrust/forwarded_consistency |
4.8 | 6.9 | 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 |
proxy/checks/headertrust/host_header_injection |
5.3 | 6.9 | 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 |
proxy/checks/headertrust/true_client_ip |
5.3 | 6.9 | 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 |
proxy/checks/headertrust/vhost_confusion |
6.5 | 6.9 | 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 |
proxy/checks/headertrust/x_forwarded_for |
5.3 | 6.9 | 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 |
proxy/checks/headertrust/x_forwarded_host |
5.3 | 6.9 | 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 |
proxy/checks/headertrust/x_real_ip |
5.3 | 6.9 | 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 |
proxy/checks/protocol/h2_authority_trust |
5.3 | 6.9 | 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 |
proxy/checks/ratelimit/missing_throttling |
5.3 | 6.9 | 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 |
proxy/checks/ratelimit/oversized_header |
5.3 | 6.9 | 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 |
proxy/checks/ratelimit/spoofed_ip_bypass |
6.9 | 8.7 | 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 |
proxy/checks/smuggling/ambiguous_framing |
7.3 | 9.2 | 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 |
proxy/checks/ssrf/internal_target_access |
9.3 | 9.9 | 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 |
proxy/checks/ssrf/open_forward_proxy |
8.2 | 8.8 | 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 |
proxy/checks/waf/baseline_payloads |
5.3 | 6.9 | 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 |
proxy/checks/waf/content_type_consistency |
5.3 | 6.9 | 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 |
proxy/checks/waf/encoding_bypass |
5.3 | 6.9 | 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 |
Tasks
- Fix the scores above (or the vector, when the vector is the wrong part)
- Test calling
checkdef.CheckDef.ValidateCVSS()on every definition ofproxy.AllChecks()(feat: add cvss v4.0 scoring and check definition validation harnessx#46) - Update
docs/checks/*.mdxtables
Depends on cerberauth/harnessx#46 being released.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingpriority:P2Aggressive / attack-simulation checks — opt-in flag requiredAggressive / attack-simulation checks — opt-in flag required
Activity