From d2ea491b801817ad066e43942af42ee481e3eb29 Mon Sep 17 00:00:00 2001 From: Sam Stepanyan Date: Fri, 19 Jan 2024 23:58:14 +0000 Subject: [PATCH] New Module: Citrix Gateway Last Patched Date Scan Signed-off-by: Sam Stepanyan --- modules/scan/citrix_lastpatcheddate.yaml | 45 ++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 modules/scan/citrix_lastpatcheddate.yaml diff --git a/modules/scan/citrix_lastpatcheddate.yaml b/modules/scan/citrix_lastpatcheddate.yaml new file mode 100644 index 000000000..ba72c6bc6 --- /dev/null +++ b/modules/scan/citrix_lastpatcheddate.yaml @@ -0,0 +1,45 @@ +info: + name: citrix_lastpatcheeddate_scan + author: OWASP Nettacker Team + severity: 3 + description: Citrix Netscaler Gateway Last Patched Date Scan + reference: + profiles: + - scan + - http + - citrix + - low_severity + +payloads: + - library: http + steps: + - method: head + timeout: 3 + headers: + User-Agent: "{user_agent}" + allow_redirects: false + ssl: false + url: + nettacker_fuzzer: + input_format: "{{schema}}://{target}:{{ports}}/epa/scripts/win/nsepa_setup.exe" + prefix: "" + suffix: "" + interceptors: + data: + schema: + - "http" + - "https" + ports: + - 80 + - 443 + response: + condition_type: and + log: "response_dependent['headers']['Last-Modified']" + conditions: + status_code: + regex: "200" + reverse: false + headers: + Last-Modified: + regex: .* + reverse: false