diff --git a/.appsec-tests/vpatch-CVE-2025-20282/CVE-2025-20282.yaml b/.appsec-tests/vpatch-CVE-2025-20282/CVE-2025-20282.yaml new file mode 100644 index 00000000000..97ba8f3ff5f --- /dev/null +++ b/.appsec-tests/vpatch-CVE-2025-20282/CVE-2025-20282.yaml @@ -0,0 +1,31 @@ +## autogenerated on 2026-08-26 09:03:09 +id: CVE-2025-20282 +info: + name: CVE-2025-20282 + author: crowdsec + severity: info + description: CVE-2025-20282 testing + tags: appsec-testing + +variables: + probe_zip: "{{base64_decode('UEsDBBQAAAAAAHcdA12wBb+DFAAAABQAAAAJAAAAcHJvYmUudHh0Q1ZFLTIwMjUtMjAyODItcHJvYmVQSwECFAMUAAAAAAB3HQNdsAW/gxQAAAAUAAAACQAAAAAAAAAAAAAAgAEAAAAAcHJvYmUudHh0UEsFBgAAAAABAAEANwAAADsAAAAAAA==')}}" + +http: + - raw: + - | + POST /admin/files-upload/ HTTP/1.1 + Host: {{Hostname}} + Content-Type: multipart/form-data; boundary=----ISEProbe202520282 + + ------ISEProbe202520282 + Content-Disposition: form-data; name="file"; filename="probe.zip" + Content-Type: application/zip + + {{probe_zip}} + ------ISEProbe202520282-- + + cookie-reuse: true + matchers: + - type: status + status: + - 403 diff --git a/.appsec-tests/vpatch-CVE-2025-20282/config.yaml b/.appsec-tests/vpatch-CVE-2025-20282/config.yaml new file mode 100644 index 00000000000..60b9791f2d5 --- /dev/null +++ b/.appsec-tests/vpatch-CVE-2025-20282/config.yaml @@ -0,0 +1,5 @@ +## autogenerated on 2026-08-26 09:03:09 +appsec-rules: + - ./appsec-rules/crowdsecurity/base-config.yaml + - ./appsec-rules/crowdsecurity/vpatch-CVE-2025-20282.yaml +nuclei_template: CVE-2025-20282.yaml diff --git a/appsec-rules/crowdsecurity/vpatch-CVE-2025-20282.yaml b/appsec-rules/crowdsecurity/vpatch-CVE-2025-20282.yaml new file mode 100644 index 00000000000..babd09b6727 --- /dev/null +++ b/appsec-rules/crowdsecurity/vpatch-CVE-2025-20282.yaml @@ -0,0 +1,32 @@ +## autogenerated on 2026-08-26 09:03:09 +name: crowdsecurity/vpatch-CVE-2025-20282 +description: 'Detects unauthenticated arbitrary file uploads to the Cisco ISE files-upload API.' +rules: + - and: + - zones: + - URI + transform: + - lowercase + - urldecode + match: + type: contains + value: '/admin/files-upload/' + - zones: + - FILENAMES + transform: + - lowercase + match: + type: contains + value: '.zip' + +labels: + type: exploit + service: http + confidence: 3 + spoofable: 0 + behavior: 'http:exploit' + label: 'Cisco ISE - FILE UPLOAD' + classification: + - cve.CVE-2025-20282 + - attack.T1059 + - cwe.CWE-434 diff --git a/collections/crowdsecurity/appsec-virtual-patching.yaml b/collections/crowdsecurity/appsec-virtual-patching.yaml index 79a2e5ca01c..0f929a2b21c 100644 --- a/collections/crowdsecurity/appsec-virtual-patching.yaml +++ b/collections/crowdsecurity/appsec-virtual-patching.yaml @@ -104,6 +104,7 @@ appsec-rules: - crowdsecurity/vpatch-CVE-2024-57727 - crowdsecurity/vpatch-CVE-2024-27292 - crowdsecurity/vpatch-CVE-2025-24893 +- crowdsecurity/vpatch-CVE-2025-20282 - crowdsecurity/vpatch-CVE-2021-43798 - crowdsecurity/vpatch-CVE-2022-1388 - crowdsecurity/vpatch-CVE-2021-26294