diff --git a/.appsec-tests/vpatch-CVE-2023-3197/CVE-2023-3197.yaml b/.appsec-tests/vpatch-CVE-2023-3197/CVE-2023-3197.yaml new file mode 100644 index 00000000000..694acea5c66 --- /dev/null +++ b/.appsec-tests/vpatch-CVE-2023-3197/CVE-2023-3197.yaml @@ -0,0 +1,19 @@ +## autogenerated on 2026-03-30 12:46:51 +id: CVE-2023-3197 +info: + name: CVE-2023-3197 + author: crowdsec + severity: info + description: CVE-2023-3197 testing + tags: appsec-testing +http: + - raw: + - | + GET /wp-json/api/flutter_multi_vendor/product-categories?id=1%20AND%20(SELECT%201%20FROM%20(SELECT%20SLEEP(6))a) HTTP/1.1 + Host: {{Hostname}} + Accept: application/json + cookie-reuse: true + matchers: + - type: status + status: + - 403 diff --git a/.appsec-tests/vpatch-CVE-2023-3197/config.yaml b/.appsec-tests/vpatch-CVE-2023-3197/config.yaml new file mode 100644 index 00000000000..589a2d7e92b --- /dev/null +++ b/.appsec-tests/vpatch-CVE-2023-3197/config.yaml @@ -0,0 +1,5 @@ +## autogenerated on 2026-03-30 12:46:51 +appsec-rules: + - ./appsec-rules/crowdsecurity/base-config.yaml + - ./appsec-rules/crowdsecurity/vpatch-CVE-2023-3197.yaml +nuclei_template: CVE-2023-3197.yaml diff --git a/appsec-rules/crowdsecurity/vpatch-CVE-2023-3197.yaml b/appsec-rules/crowdsecurity/vpatch-CVE-2023-3197.yaml new file mode 100644 index 00000000000..64bc215d814 --- /dev/null +++ b/appsec-rules/crowdsecurity/vpatch-CVE-2023-3197.yaml @@ -0,0 +1,35 @@ +## autogenerated on 2026-03-30 12:46:51 +name: crowdsecurity/vpatch-CVE-2023-3197 +description: 'Detects unauthenticated SQL injection in WordPress MStore API plugin via id parameter.' +rules: + - and: + - zones: + - URI + transform: + - lowercase + - urldecode + match: + type: contains + value: /wp-json/api/flutter_multi_vendor/product-categories + - zones: + - ARGS + variables: + - id + transform: + - lowercase + - urldecode + match: + type: regex + value: '[^a-z0-9]' + +labels: + type: exploit + service: http + confidence: 3 + spoofable: 0 + behavior: 'http:exploit' + label: 'WordPress MStore API - SQLI' + classification: + - cve.CVE-2023-3197 + - attack.T1190 + - cwe.CWE-89 diff --git a/collections/crowdsecurity/appsec-wordpress.yaml b/collections/crowdsecurity/appsec-wordpress.yaml index 75e705eb0ae..76b370414d7 100644 --- a/collections/crowdsecurity/appsec-wordpress.yaml +++ b/collections/crowdsecurity/appsec-wordpress.yaml @@ -15,6 +15,7 @@ appsec-rules: - crowdsecurity/generic-wordpress-uploads-php - crowdsecurity/vpatch-CVE-2024-6205 - crowdsecurity/generic-wordpress-uploads-listing + - crowdsecurity/vpatch-CVE-2023-3197 appsec-configs: - crowdsecurity/virtual-patching parsers: