From 81356d812092e522cfb44a70d1df7dda155ce06e Mon Sep 17 00:00:00 2001 From: topscoder <86197446+topscoder@users.noreply.github.com> Date: Tue, 14 May 2024 09:30:58 +0200 Subject: [PATCH] Fix learndash regex syntax errors --- lib/parsers/edge-cases.yaml | 2 +- ...-2018-25019-e461d6b601e174f0c2f88d4004c4f640.yaml | 4 ++-- ...E-2020-6009-e9d441961fc47fc3335b4c7ed1b873f8.yaml | 4 ++-- ...E-2020-7108-87f05dd4a682cca1c7f3db374b053d52.yaml | 4 ++-- ...-2023-28777-9f61b4f1f4ee86775e009365f825a631.yaml | 4 ++-- ...E-2023-3105-6a2c190bf98b7c5e25be59deb6610eb8.yaml | 4 ++-- ...E-2024-1208-b5e0e1d18c91dabf2cf73b7860d8830f.yaml | 4 ++-- ...E-2024-1209-262fb41bb4526e178dfcbc92b07bdb7c.yaml | 4 ++-- ...E-2024-1210-c4ebf3e8de4f3a2f2f0803da094f581c.yaml | 4 ++-- .../sfwd-lms-06323fb9edeca49ba23c68725457bd17.yaml | 12 ++++++------ .../sfwd-lms-1330b5fcba1aa18649be523fba98826e.yaml | 12 ++++++------ .../sfwd-lms-338d1aba9fbf1a2bc39d1d885f9dce3d.yaml | 12 ++++++------ .../sfwd-lms-885be0b95c81478a6bda1b9d32c38ff6.yaml | 12 ++++++------ .../sfwd-lms-a82ae7ac51217bb1c90ec0dad4756df8.yaml | 12 ++++++------ .../sfwd-lms-c03b1ce5af77f8f3cebbd448de33d001.yaml | 12 ++++++------ .../sfwd-lms-d7ef2526dd03a0a12a25985609cc1be0.yaml | 12 ++++++------ .../sfwd-lms-f40ff5332d4441c4147f1185d13571ad.yaml | 12 ++++++------ 17 files changed, 65 insertions(+), 65 deletions(-) diff --git a/lib/parsers/edge-cases.yaml b/lib/parsers/edge-cases.yaml index 759f8106d4..1a75f9ccc2 100644 --- a/lib/parsers/edge-cases.yaml +++ b/lib/parsers/edge-cases.yaml @@ -1,6 +1,6 @@ sfwd-lms: target: "" - regex: '(?mi)learndash_quiz_front.min.css\?ver=([0-9]+\.[0-9]+\.[0-9]+)' + regex: '(?mi)learndash_quiz_front.min.css\\?ver=([0-9.]+)' fusion-builder: target: "wp-content/plugins/fusion-builder/languages/fusion-builder.pot" diff --git a/nuclei-templates/2018/CVE-2018-25019-e461d6b601e174f0c2f88d4004c4f640.yaml b/nuclei-templates/2018/CVE-2018-25019-e461d6b601e174f0c2f88d4004c4f640.yaml index 80694b5a20..3ef5304da5 100644 --- a/nuclei-templates/2018/CVE-2018-25019-e461d6b601e174f0c2f88d4004c4f640.yaml +++ b/nuclei-templates/2018/CVE-2018-25019-e461d6b601e174f0c2f88d4004c4f640.yaml @@ -33,14 +33,14 @@ http: group: 1 internal: true regex: - - "(?mi)learndash_quiz_front.min.css\?ver=([0-9]+\.[0-9]+\.[0-9]+)" + - "(?mi)learndash_quiz_front.min.css\\?ver=([0-9.]+)" - type: regex name: version part: body group: 1 regex: - - "(?mi)learndash_quiz_front.min.css\?ver=([0-9]+\.[0-9]+\.[0-9]+)" + - "(?mi)learndash_quiz_front.min.css\\?ver=([0-9.]+)" matchers-condition: and matchers: diff --git a/nuclei-templates/2020/CVE-2020-6009-e9d441961fc47fc3335b4c7ed1b873f8.yaml b/nuclei-templates/2020/CVE-2020-6009-e9d441961fc47fc3335b4c7ed1b873f8.yaml index 98c1837cc6..e9d36ee7f6 100644 --- a/nuclei-templates/2020/CVE-2020-6009-e9d441961fc47fc3335b4c7ed1b873f8.yaml +++ b/nuclei-templates/2020/CVE-2020-6009-e9d441961fc47fc3335b4c7ed1b873f8.yaml @@ -33,14 +33,14 @@ http: group: 1 internal: true regex: - - "(?mi)learndash_quiz_front.min.css\?ver=([0-9]+\.[0-9]+\.[0-9]+)" + - "(?mi)learndash_quiz_front.min.css\\?ver=([0-9.]+)" - type: regex name: version part: body group: 1 regex: - - "(?mi)learndash_quiz_front.min.css\?ver=([0-9]+\.[0-9]+\.[0-9]+)" + - "(?mi)learndash_quiz_front.min.css\\?ver=([0-9.]+)" matchers-condition: and matchers: diff --git a/nuclei-templates/2020/CVE-2020-7108-87f05dd4a682cca1c7f3db374b053d52.yaml b/nuclei-templates/2020/CVE-2020-7108-87f05dd4a682cca1c7f3db374b053d52.yaml index 2264133f03..ea5ccec785 100644 --- a/nuclei-templates/2020/CVE-2020-7108-87f05dd4a682cca1c7f3db374b053d52.yaml +++ b/nuclei-templates/2020/CVE-2020-7108-87f05dd4a682cca1c7f3db374b053d52.yaml @@ -33,14 +33,14 @@ http: group: 1 internal: true regex: - - "(?mi)learndash_quiz_front.min.css\?ver=([0-9]+\.[0-9]+\.[0-9]+)" + - "(?mi)learndash_quiz_front.min.css\\?ver=([0-9.]+)" - type: regex name: version part: body group: 1 regex: - - "(?mi)learndash_quiz_front.min.css\?ver=([0-9]+\.[0-9]+\.[0-9]+)" + - "(?mi)learndash_quiz_front.min.css\\?ver=([0-9.]+)" matchers-condition: and matchers: diff --git a/nuclei-templates/2023/CVE-2023-28777-9f61b4f1f4ee86775e009365f825a631.yaml b/nuclei-templates/2023/CVE-2023-28777-9f61b4f1f4ee86775e009365f825a631.yaml index 690a691be8..b8dfde9bdd 100644 --- a/nuclei-templates/2023/CVE-2023-28777-9f61b4f1f4ee86775e009365f825a631.yaml +++ b/nuclei-templates/2023/CVE-2023-28777-9f61b4f1f4ee86775e009365f825a631.yaml @@ -33,14 +33,14 @@ http: group: 1 internal: true regex: - - "(?mi)learndash_quiz_front.min.css\?ver=([0-9]+\.[0-9]+\.[0-9]+)" + - - "(?mi)learndash_quiz_front.min.css\\?ver=([0-9.]+)" - type: regex name: version part: body group: 1 regex: - - "(?mi)learndash_quiz_front.min.css\?ver=([0-9]+\.[0-9]+\.[0-9]+)" + - - "(?mi)learndash_quiz_front.min.css\\?ver=([0-9.]+)" matchers-condition: and matchers: diff --git a/nuclei-templates/2023/CVE-2023-3105-6a2c190bf98b7c5e25be59deb6610eb8.yaml b/nuclei-templates/2023/CVE-2023-3105-6a2c190bf98b7c5e25be59deb6610eb8.yaml index 069f996a59..9d59ae0738 100644 --- a/nuclei-templates/2023/CVE-2023-3105-6a2c190bf98b7c5e25be59deb6610eb8.yaml +++ b/nuclei-templates/2023/CVE-2023-3105-6a2c190bf98b7c5e25be59deb6610eb8.yaml @@ -33,14 +33,14 @@ http: group: 1 internal: true regex: - - "(?mi)learndash_quiz_front.min.css\?ver=([0-9]+\.[0-9]+\.[0-9]+)" + - "(?mi)learndash_quiz_front.min.css\\?ver=([0-9.]+)" - type: regex name: version part: body group: 1 regex: - - "(?mi)learndash_quiz_front.min.css\?ver=([0-9]+\.[0-9]+\.[0-9]+)" + - "(?mi)learndash_quiz_front.min.css\\?ver=([0-9.]+)" matchers-condition: and matchers: diff --git a/nuclei-templates/2024/CVE-2024-1208-b5e0e1d18c91dabf2cf73b7860d8830f.yaml b/nuclei-templates/2024/CVE-2024-1208-b5e0e1d18c91dabf2cf73b7860d8830f.yaml index 6541ab6c78..dd15f1e702 100644 --- a/nuclei-templates/2024/CVE-2024-1208-b5e0e1d18c91dabf2cf73b7860d8830f.yaml +++ b/nuclei-templates/2024/CVE-2024-1208-b5e0e1d18c91dabf2cf73b7860d8830f.yaml @@ -33,14 +33,14 @@ http: group: 1 internal: true regex: - - "(?mi)learndash_quiz_front.min.css\?ver=([0-9]+\.[0-9]+\.[0-9]+)" + - "(?mi)learndash_quiz_front.min.css\\?ver=([0-9.]+)" - type: regex name: version part: body group: 1 regex: - - "(?mi)learndash_quiz_front.min.css\?ver=([0-9]+\.[0-9]+\.[0-9]+)" + - "(?mi)learndash_quiz_front.min.css\\?ver=([0-9.]+)" matchers-condition: and matchers: diff --git a/nuclei-templates/2024/CVE-2024-1209-262fb41bb4526e178dfcbc92b07bdb7c.yaml b/nuclei-templates/2024/CVE-2024-1209-262fb41bb4526e178dfcbc92b07bdb7c.yaml index 0067c114f1..d771b001e8 100644 --- a/nuclei-templates/2024/CVE-2024-1209-262fb41bb4526e178dfcbc92b07bdb7c.yaml +++ b/nuclei-templates/2024/CVE-2024-1209-262fb41bb4526e178dfcbc92b07bdb7c.yaml @@ -33,14 +33,14 @@ http: group: 1 internal: true regex: - - "(?mi)learndash_quiz_front.min.css\?ver=([0-9]+\.[0-9]+\.[0-9]+)" + - "(?mi)learndash_quiz_front.min.css\\?ver=([0-9.]+)" - type: regex name: version part: body group: 1 regex: - - "(?mi)learndash_quiz_front.min.css\?ver=([0-9]+\.[0-9]+\.[0-9]+)" + - "(?mi)learndash_quiz_front.min.css\\?ver=([0-9.]+)" matchers-condition: and matchers: diff --git a/nuclei-templates/2024/CVE-2024-1210-c4ebf3e8de4f3a2f2f0803da094f581c.yaml b/nuclei-templates/2024/CVE-2024-1210-c4ebf3e8de4f3a2f2f0803da094f581c.yaml index 37aa3c50df..2a9ea77c84 100644 --- a/nuclei-templates/2024/CVE-2024-1210-c4ebf3e8de4f3a2f2f0803da094f581c.yaml +++ b/nuclei-templates/2024/CVE-2024-1210-c4ebf3e8de4f3a2f2f0803da094f581c.yaml @@ -33,14 +33,14 @@ http: group: 1 internal: true regex: - - "(?mi)learndash_quiz_front.min.css\?ver=([0-9]+\.[0-9]+\.[0-9]+)" + - "(?mi)learndash_quiz_front.min.css\\?ver=([0-9.]+)" - type: regex name: version part: body group: 1 regex: - - "(?mi)learndash_quiz_front.min.css\?ver=([0-9]+\.[0-9]+\.[0-9]+)" + - "(?mi)learndash_quiz_front.min.css\\?ver=([0-9.]+)" matchers-condition: and matchers: diff --git a/nuclei-templates/cve-less/plugins/sfwd-lms-06323fb9edeca49ba23c68725457bd17.yaml b/nuclei-templates/cve-less/plugins/sfwd-lms-06323fb9edeca49ba23c68725457bd17.yaml index 4f9adbdcd9..c57872cf3a 100644 --- a/nuclei-templates/cve-less/plugins/sfwd-lms-06323fb9edeca49ba23c68725457bd17.yaml +++ b/nuclei-templates/cve-less/plugins/sfwd-lms-06323fb9edeca49ba23c68725457bd17.yaml @@ -6,13 +6,13 @@ info: author: topscoder severity: low description: > - + reference: - https://www.wordfence.com/threat-intel/vulnerabilities/id/40a57493-b99b-4e71-8603-e668c6283a5a?source=api-scan classification: - cvss-metrics: - cvss-score: - cve-id: + cvss-metrics: + cvss-score: + cve-id: metadata: fofa-query: "wp-content/plugins/sfwd-lms/" google-query: inurl:"/wp-content/plugins/sfwd-lms/" @@ -33,14 +33,14 @@ http: group: 1 internal: true regex: - - "(?mi)learndash_quiz_front.min.css\?ver=([0-9]+\.[0-9]+\.[0-9]+)" + - "(?mi)learndash_quiz_front.min.css\\?ver=([0-9.]+)" - type: regex name: version part: body group: 1 regex: - - "(?mi)learndash_quiz_front.min.css\?ver=([0-9]+\.[0-9]+\.[0-9]+)" + - "(?mi)learndash_quiz_front.min.css\\?ver=([0-9.]+)" matchers-condition: and matchers: diff --git a/nuclei-templates/cve-less/plugins/sfwd-lms-1330b5fcba1aa18649be523fba98826e.yaml b/nuclei-templates/cve-less/plugins/sfwd-lms-1330b5fcba1aa18649be523fba98826e.yaml index 59b68ed400..fe542c5b09 100644 --- a/nuclei-templates/cve-less/plugins/sfwd-lms-1330b5fcba1aa18649be523fba98826e.yaml +++ b/nuclei-templates/cve-less/plugins/sfwd-lms-1330b5fcba1aa18649be523fba98826e.yaml @@ -6,13 +6,13 @@ info: author: topscoder severity: low description: > - + reference: - https://www.wordfence.com/threat-intel/vulnerabilities/id/07b1efbd-0caf-412d-ac1b-ab1b27c32b8c?source=api-scan classification: - cvss-metrics: - cvss-score: - cve-id: + cvss-metrics: + cvss-score: + cve-id: metadata: fofa-query: "wp-content/plugins/sfwd-lms/" google-query: inurl:"/wp-content/plugins/sfwd-lms/" @@ -33,14 +33,14 @@ http: group: 1 internal: true regex: - - "(?mi)learndash_quiz_front.min.css\?ver=([0-9]+\.[0-9]+\.[0-9]+)" + - "(?mi)learndash_quiz_front.min.css\\?ver=([0-9.]+)" - type: regex name: version part: body group: 1 regex: - - "(?mi)learndash_quiz_front.min.css\?ver=([0-9]+\.[0-9]+\.[0-9]+)" + - "(?mi)learndash_quiz_front.min.css\\?ver=([0-9.]+)" matchers-condition: and matchers: diff --git a/nuclei-templates/cve-less/plugins/sfwd-lms-338d1aba9fbf1a2bc39d1d885f9dce3d.yaml b/nuclei-templates/cve-less/plugins/sfwd-lms-338d1aba9fbf1a2bc39d1d885f9dce3d.yaml index b4d881babf..4610191cd8 100644 --- a/nuclei-templates/cve-less/plugins/sfwd-lms-338d1aba9fbf1a2bc39d1d885f9dce3d.yaml +++ b/nuclei-templates/cve-less/plugins/sfwd-lms-338d1aba9fbf1a2bc39d1d885f9dce3d.yaml @@ -6,13 +6,13 @@ info: author: topscoder severity: low description: > - + reference: - https://www.wordfence.com/threat-intel/vulnerabilities/id/ae735117-e68b-448e-ad41-258d1be3aebc?source=api-scan classification: - cvss-metrics: - cvss-score: - cve-id: + cvss-metrics: + cvss-score: + cve-id: metadata: fofa-query: "wp-content/plugins/sfwd-lms/" google-query: inurl:"/wp-content/plugins/sfwd-lms/" @@ -33,14 +33,14 @@ http: group: 1 internal: true regex: - - "(?mi)learndash_quiz_front.min.css\?ver=([0-9]+\.[0-9]+\.[0-9]+)" + - "(?mi)learndash_quiz_front.min.css\\?ver=([0-9.]+)" - type: regex name: version part: body group: 1 regex: - - "(?mi)learndash_quiz_front.min.css\?ver=([0-9]+\.[0-9]+\.[0-9]+)" + - "(?mi)learndash_quiz_front.min.css\\?ver=([0-9.]+)" matchers-condition: and matchers: diff --git a/nuclei-templates/cve-less/plugins/sfwd-lms-885be0b95c81478a6bda1b9d32c38ff6.yaml b/nuclei-templates/cve-less/plugins/sfwd-lms-885be0b95c81478a6bda1b9d32c38ff6.yaml index b5a567000a..77fd3a2257 100644 --- a/nuclei-templates/cve-less/plugins/sfwd-lms-885be0b95c81478a6bda1b9d32c38ff6.yaml +++ b/nuclei-templates/cve-less/plugins/sfwd-lms-885be0b95c81478a6bda1b9d32c38ff6.yaml @@ -6,13 +6,13 @@ info: author: topscoder severity: critical description: > - + reference: - https://www.wordfence.com/threat-intel/vulnerabilities/id/5e29b10e-81d5-4247-bfe8-2400bcd9aef9?source=api-scan classification: - cvss-metrics: - cvss-score: - cve-id: + cvss-metrics: + cvss-score: + cve-id: metadata: fofa-query: "wp-content/plugins/sfwd-lms/" google-query: inurl:"/wp-content/plugins/sfwd-lms/" @@ -33,14 +33,14 @@ http: group: 1 internal: true regex: - - "(?mi)learndash_quiz_front.min.css\?ver=([0-9]+\.[0-9]+\.[0-9]+)" + - "(?mi)learndash_quiz_front.min.css\\?ver=([0-9.]+)" - type: regex name: version part: body group: 1 regex: - - "(?mi)learndash_quiz_front.min.css\?ver=([0-9]+\.[0-9]+\.[0-9]+)" + - "(?mi)learndash_quiz_front.min.css\\?ver=([0-9.]+)" matchers-condition: and matchers: diff --git a/nuclei-templates/cve-less/plugins/sfwd-lms-a82ae7ac51217bb1c90ec0dad4756df8.yaml b/nuclei-templates/cve-less/plugins/sfwd-lms-a82ae7ac51217bb1c90ec0dad4756df8.yaml index 11bb4dfada..5d49ab190c 100644 --- a/nuclei-templates/cve-less/plugins/sfwd-lms-a82ae7ac51217bb1c90ec0dad4756df8.yaml +++ b/nuclei-templates/cve-less/plugins/sfwd-lms-a82ae7ac51217bb1c90ec0dad4756df8.yaml @@ -6,13 +6,13 @@ info: author: topscoder severity: critical description: > - + reference: - https://www.wordfence.com/threat-intel/vulnerabilities/id/9d4f47af-294a-4c3a-accd-9ae674916a38?source=api-scan classification: - cvss-metrics: - cvss-score: - cve-id: + cvss-metrics: + cvss-score: + cve-id: metadata: fofa-query: "wp-content/plugins/sfwd-lms/" google-query: inurl:"/wp-content/plugins/sfwd-lms/" @@ -33,14 +33,14 @@ http: group: 1 internal: true regex: - - "(?mi)learndash_quiz_front.min.css\?ver=([0-9]+\.[0-9]+\.[0-9]+)" + - "(?mi)learndash_quiz_front.min.css\\?ver=([0-9.]+)" - type: regex name: version part: body group: 1 regex: - - "(?mi)learndash_quiz_front.min.css\?ver=([0-9]+\.[0-9]+\.[0-9]+)" + - "(?mi)learndash_quiz_front.min.css\\?ver=([0-9.]+)" matchers-condition: and matchers: diff --git a/nuclei-templates/cve-less/plugins/sfwd-lms-c03b1ce5af77f8f3cebbd448de33d001.yaml b/nuclei-templates/cve-less/plugins/sfwd-lms-c03b1ce5af77f8f3cebbd448de33d001.yaml index 61d0a8ea10..7a519cd0e3 100644 --- a/nuclei-templates/cve-less/plugins/sfwd-lms-c03b1ce5af77f8f3cebbd448de33d001.yaml +++ b/nuclei-templates/cve-less/plugins/sfwd-lms-c03b1ce5af77f8f3cebbd448de33d001.yaml @@ -6,13 +6,13 @@ info: author: topscoder severity: low description: > - + reference: - https://www.wordfence.com/threat-intel/vulnerabilities/id/61ca5ab6-5fe9-4313-9b0d-8736663d0e89?source=api-scan classification: - cvss-metrics: - cvss-score: - cve-id: + cvss-metrics: + cvss-score: + cve-id: metadata: fofa-query: "wp-content/plugins/sfwd-lms/" google-query: inurl:"/wp-content/plugins/sfwd-lms/" @@ -33,14 +33,14 @@ http: group: 1 internal: true regex: - - "(?mi)learndash_quiz_front.min.css\?ver=([0-9]+\.[0-9]+\.[0-9]+)" + - "(?mi)learndash_quiz_front.min.css\\?ver=([0-9.]+)" - type: regex name: version part: body group: 1 regex: - - "(?mi)learndash_quiz_front.min.css\?ver=([0-9]+\.[0-9]+\.[0-9]+)" + - "(?mi)learndash_quiz_front.min.css\\?ver=([0-9.]+)" matchers-condition: and matchers: diff --git a/nuclei-templates/cve-less/plugins/sfwd-lms-d7ef2526dd03a0a12a25985609cc1be0.yaml b/nuclei-templates/cve-less/plugins/sfwd-lms-d7ef2526dd03a0a12a25985609cc1be0.yaml index 852ce6e15d..d36aa3fd86 100644 --- a/nuclei-templates/cve-less/plugins/sfwd-lms-d7ef2526dd03a0a12a25985609cc1be0.yaml +++ b/nuclei-templates/cve-less/plugins/sfwd-lms-d7ef2526dd03a0a12a25985609cc1be0.yaml @@ -6,13 +6,13 @@ info: author: topscoder severity: low description: > - + reference: - https://www.wordfence.com/threat-intel/vulnerabilities/id/7191955e-0db1-4ad1-878b-74f90ca59c91?source=api-scan classification: - cvss-metrics: - cvss-score: - cve-id: + cvss-metrics: + cvss-score: + cve-id: metadata: fofa-query: "wp-content/plugins/sfwd-lms/" google-query: inurl:"/wp-content/plugins/sfwd-lms/" @@ -33,14 +33,14 @@ http: group: 1 internal: true regex: - - "(?mi)learndash_quiz_front.min.css\?ver=([0-9]+\.[0-9]+\.[0-9]+)" + - "(?mi)learndash_quiz_front.min.css\\?ver=([0-9.]+)" - type: regex name: version part: body group: 1 regex: - - "(?mi)learndash_quiz_front.min.css\?ver=([0-9]+\.[0-9]+\.[0-9]+)" + - "(?mi)learndash_quiz_front.min.css\\?ver=([0-9.]+)" matchers-condition: and matchers: diff --git a/nuclei-templates/cve-less/plugins/sfwd-lms-f40ff5332d4441c4147f1185d13571ad.yaml b/nuclei-templates/cve-less/plugins/sfwd-lms-f40ff5332d4441c4147f1185d13571ad.yaml index d43bf07079..77728fd02f 100644 --- a/nuclei-templates/cve-less/plugins/sfwd-lms-f40ff5332d4441c4147f1185d13571ad.yaml +++ b/nuclei-templates/cve-less/plugins/sfwd-lms-f40ff5332d4441c4147f1185d13571ad.yaml @@ -6,13 +6,13 @@ info: author: topscoder severity: low description: > - + reference: - https://www.wordfence.com/threat-intel/vulnerabilities/id/2318b3e1-268d-45fa-83bf-c6e88f1b9013?source=api-scan classification: - cvss-metrics: - cvss-score: - cve-id: + cvss-metrics: + cvss-score: + cve-id: metadata: fofa-query: "wp-content/plugins/sfwd-lms/" google-query: inurl:"/wp-content/plugins/sfwd-lms/" @@ -33,14 +33,14 @@ http: group: 1 internal: true regex: - - "(?mi)learndash_quiz_front.min.css\?ver=([0-9]+\.[0-9]+\.[0-9]+)" + - "(?mi)learndash_quiz_front.min.css\\?ver=([0-9.]+)" - type: regex name: version part: body group: 1 regex: - - "(?mi)learndash_quiz_front.min.css\?ver=([0-9]+\.[0-9]+\.[0-9]+)" + - "(?mi)learndash_quiz_front.min.css\\?ver=([0-9.]+)" matchers-condition: and matchers: