diff --git a/.appsec-tests/vpatch-CVE-2025-1661/CVE-2025-1661.yaml b/.appsec-tests/vpatch-CVE-2025-1661/CVE-2025-1661.yaml new file mode 100644 index 00000000000..2d25240e667 --- /dev/null +++ b/.appsec-tests/vpatch-CVE-2025-1661/CVE-2025-1661.yaml @@ -0,0 +1,21 @@ +## autogenerated on 2026-04-15 13:13:28 +id: CVE-2025-1661 +info: + name: CVE-2025-1661 + author: crowdsec + severity: info + description: CVE-2025-1661 testing + tags: appsec-testing +http: + - raw: + - | + POST /wp-admin/admin-ajax.php?template=../../../../../../../wp-config&value=a&min_symbols=1 HTTP/1.1 + Host: {{Hostname}} + Content-Type: application/x-www-form-urlencoded; charset=UTF-8 + + action=woof_text_search& + cookie-reuse: true + matchers: + - type: status + status: + - 403 diff --git a/.appsec-tests/vpatch-CVE-2025-1661/config.yaml b/.appsec-tests/vpatch-CVE-2025-1661/config.yaml new file mode 100644 index 00000000000..df1db1efb5c --- /dev/null +++ b/.appsec-tests/vpatch-CVE-2025-1661/config.yaml @@ -0,0 +1,5 @@ +## autogenerated on 2026-04-15 13:13:28 +appsec-rules: + - ./appsec-rules/crowdsecurity/base-config.yaml + - ./appsec-rules/crowdsecurity/vpatch-CVE-2025-1661.yaml +nuclei_template: CVE-2025-1661.yaml diff --git a/appsec-rules/crowdsecurity/vpatch-CVE-2025-1661.yaml b/appsec-rules/crowdsecurity/vpatch-CVE-2025-1661.yaml new file mode 100644 index 00000000000..b7bab39297e --- /dev/null +++ b/appsec-rules/crowdsecurity/vpatch-CVE-2025-1661.yaml @@ -0,0 +1,35 @@ +## autogenerated on 2026-04-15 13:13:28 +name: crowdsecurity/vpatch-CVE-2025-1661 +description: 'Detects unauthenticated local file inclusion in HUSKY Products Filter Professional for WooCommerce via the template parameter.' +rules: + - and: + - zones: + - URI + transform: + - lowercase + - urldecode + match: + type: contains + value: /wp-admin/admin-ajax.php + - zones: + - ARGS + variables: + - template + transform: + - lowercase + - urldecode + match: + type: contains + value: '../' + +labels: + type: exploit + service: http + confidence: 3 + spoofable: 0 + behavior: 'http:exploit' + label: 'HUSKY Products Filter Professional - LFI' + classification: + - cve.CVE-2025-1661 + - attack.T1190 + - cwe.CWE-22 diff --git a/collections/crowdsecurity/appsec-virtual-patching.yaml b/collections/crowdsecurity/appsec-virtual-patching.yaml index 7ccf9a8bf03..a9869a5a03d 100644 --- a/collections/crowdsecurity/appsec-virtual-patching.yaml +++ b/collections/crowdsecurity/appsec-virtual-patching.yaml @@ -82,6 +82,7 @@ appsec-rules: - crowdsecurity/vpatch-CVE-2024-27956 - crowdsecurity/vpatch-CVE-2024-27954 - crowdsecurity/vpatch-CVE-2024-0012 +- crowdsecurity/vpatch-CVE-2025-1661 - crowdsecurity/vpatch-CVE-2024-9474 - crowdsecurity/vpatch-CVE-2024-7593 - crowdsecurity/vpatch-CVE-2024-52301