diff --git a/.appsec-tests/vpatch-CVE-2025-34035/CVE-2025-34035.yaml b/.appsec-tests/vpatch-CVE-2025-34035/CVE-2025-34035.yaml new file mode 100644 index 00000000000..f7aeaf8392b --- /dev/null +++ b/.appsec-tests/vpatch-CVE-2025-34035/CVE-2025-34035.yaml @@ -0,0 +1,21 @@ +## autogenerated on 2026-04-15 13:24:48 +id: CVE-2025-34035 +info: + name: CVE-2025-34035 + author: crowdsec + severity: info + description: CVE-2025-34035 testing + tags: appsec-testing +http: + - raw: + - | + POST /web/cgi-bin/usbinteract.cgi HTTP/1.1 + Host: {{Hostname}} + Content-Type: application/x-www-form-urlencoded + + action=7&path="|id||" + cookie-reuse: true + matchers: + - type: status + status: + - 403 diff --git a/.appsec-tests/vpatch-CVE-2025-34035/config.yaml b/.appsec-tests/vpatch-CVE-2025-34035/config.yaml new file mode 100644 index 00000000000..7f095faaf96 --- /dev/null +++ b/.appsec-tests/vpatch-CVE-2025-34035/config.yaml @@ -0,0 +1,5 @@ +## autogenerated on 2026-04-15 13:24:48 +appsec-rules: + - ./appsec-rules/crowdsecurity/base-config.yaml + - ./appsec-rules/crowdsecurity/vpatch-CVE-2025-34035.yaml +nuclei_template: CVE-2025-34035.yaml diff --git a/appsec-rules/crowdsecurity/vpatch-CVE-2025-34035.yaml b/appsec-rules/crowdsecurity/vpatch-CVE-2025-34035.yaml new file mode 100644 index 00000000000..4427cadfee2 --- /dev/null +++ b/appsec-rules/crowdsecurity/vpatch-CVE-2025-34035.yaml @@ -0,0 +1,35 @@ +## autogenerated on 2026-04-15 13:24:48 +name: crowdsecurity/vpatch-CVE-2025-34035 +description: 'Detects OS command injection in EnGenius EnShare Cloud Service via path parameter in usbinteract.cgi.' +rules: + - and: + - zones: + - URI + transform: + - lowercase + - urldecode + match: + type: contains + value: /usbinteract.cgi + - zones: + - BODY_ARGS + variables: + - path + transform: + - lowercase + - urldecode + match: + type: regex + value: '[^a-z0-9_/.-]' + +labels: + type: exploit + service: http + confidence: 3 + spoofable: 0 + behavior: 'http:exploit' + label: 'EnGenius EnShare - RCE' + classification: + - cve.CVE-2025-34035 + - attack.T1190 + - cwe.CWE-78 diff --git a/collections/crowdsecurity/appsec-virtual-patching.yaml b/collections/crowdsecurity/appsec-virtual-patching.yaml index 7ccf9a8bf03..4664dcce57f 100644 --- a/collections/crowdsecurity/appsec-virtual-patching.yaml +++ b/collections/crowdsecurity/appsec-virtual-patching.yaml @@ -25,6 +25,7 @@ appsec-rules: - crowdsecurity/vpatch-CVE-2021-3129 - crowdsecurity/vpatch-CVE-2024-8911 - crowdsecurity/vpatch-CVE-2021-22941 +- crowdsecurity/vpatch-CVE-2025-34035 - crowdsecurity/vpatch-CVE-2019-12989 - crowdsecurity/vpatch-CVE-2022-44877 - crowdsecurity/vpatch-CVE-2018-10562