From cfd4e02351ea25cb82d484259cd66c2767cbab86 Mon Sep 17 00:00:00 2001 From: Ritik Chaddha <44563978+ritikchaddha@users.noreply.github.com> Date: Tue, 12 Nov 2024 13:23:48 +0530 Subject: [PATCH] Fix FP CVE-2023-46805.yaml --- http/cves/2023/CVE-2023-46805.yaml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/http/cves/2023/CVE-2023-46805.yaml b/http/cves/2023/CVE-2023-46805.yaml index f123a46756..c1642ded05 100644 --- a/http/cves/2023/CVE-2023-46805.yaml +++ b/http/cves/2023/CVE-2023-46805.yaml @@ -43,17 +43,14 @@ http: - type: dsl dsl: - 'status_code_1 == 200' - - 'contains(body_1, "build")' - - 'contains(body_1, "system-information")' - - 'contains(body_1, "software-inventory")' + - 'contains_all(body_1, "build", "system-information", "software-inventory")' - 'contains(header_1, "application/json")' condition: and - type: dsl dsl: - 'status_code_2 == 200' - - 'contains(body_2, "poll_interval")' - - 'contains(body_2, "block_message")' + - 'contains_all(body_2, "poll_interval\": 300", "block_message\": \"")' - 'contains(header_2, "application/json")' condition: and -# digest: 4a0a0047304502204ce6f60ef24fce30190ea7ba01627fbca1aed1ae80b11b7f5735c74db013d020022100b21ef93a501b8278f0621f6eb80984f16f66275b761b45d67834eeaeae10b8b5:922c64590222798bb761d5b6d8e72950 \ No newline at end of file +# digest: 4a0a0047304502204ce6f60ef24fce30190ea7ba01627fbca1aed1ae80b11b7f5735c74db013d020022100b21ef93a501b8278f0621f6eb80984f16f66275b761b45d67834eeaeae10b8b5:922c64590222798bb761d5b6d8e72950