diff --git a/.appsec-tests/vpatch-CVE-2023-29357/CVE-2023-29357.yaml b/.appsec-tests/vpatch-CVE-2023-29357/CVE-2023-29357.yaml new file mode 100644 index 00000000000..617d5b5752d --- /dev/null +++ b/.appsec-tests/vpatch-CVE-2023-29357/CVE-2023-29357.yaml @@ -0,0 +1,21 @@ +## autogenerated on 2026-04-08 13:19:37 +id: CVE-2023-29357 +info: + name: CVE-2023-29357 + author: crowdsec + severity: info + description: CVE-2023-29357 testing + tags: appsec-testing +http: + - raw: + - | + GET /_api/web/siteusers HTTP/1.1 + Host: {{Hostname}} + Accept: application/json + Authorization: Bearer {{generate_jwt("{\"aud\":\"00000003-0000-0ff1-ce00-000000000000@realm\",\"iss\":\"00000003-0000-0ff1-ce00-000000000000\",\"nbf\":1695987703,\"exp\":2011547223,\"ver\":\"hashedprooftoken\",\"nameid\":\"00000003-0000-0ff1-ce00-000000000000@realm\",\"endpointurl\":\"qqlAJmTxpB9A67xSyZk+tmrrNmYClY/fqig7ceZNsSM=\",\"endpointurlLength\":1,\"isloopback\":true}","none")}}AAA + X-PROOF_TOKEN: {{generate_jwt("{\"aud\":\"00000003-0000-0ff1-ce00-000000000000@realm\",\"iss\":\"00000003-0000-0ff1-ce00-000000000000\",\"nbf\":1695987703,\"exp\":2011547223,\"ver\":\"hashedprooftoken\",\"nameid\":\"00000003-0000-0ff1-ce00-000000000000@realm\",\"endpointurl\":\"qqlAJmTxpB9A67xSyZk+tmrrNmYClY/fqig7ceZNsSM=\",\"endpointurlLength\":1,\"isloopback\":true}","none")}}AAA + cookie-reuse: true + matchers: + - type: status + status: + - 403 diff --git a/.appsec-tests/vpatch-CVE-2023-29357/config.yaml b/.appsec-tests/vpatch-CVE-2023-29357/config.yaml new file mode 100644 index 00000000000..fe66758c014 --- /dev/null +++ b/.appsec-tests/vpatch-CVE-2023-29357/config.yaml @@ -0,0 +1,5 @@ +## autogenerated on 2026-04-08 13:19:37 +appsec-rules: + - ./appsec-rules/crowdsecurity/base-config.yaml + - ./appsec-rules/crowdsecurity/vpatch-CVE-2023-29357.yaml +nuclei_template: CVE-2023-29357.yaml diff --git a/appsec-rules/crowdsecurity/vpatch-CVE-2023-29357.yaml b/appsec-rules/crowdsecurity/vpatch-CVE-2023-29357.yaml new file mode 100644 index 00000000000..c8c160f9e05 --- /dev/null +++ b/appsec-rules/crowdsecurity/vpatch-CVE-2023-29357.yaml @@ -0,0 +1,42 @@ +## autogenerated on 2026-04-08 13:19:37 +name: crowdsecurity/vpatch-CVE-2023-29357 +description: 'Detects authentication bypass in Microsoft SharePoint via forged JWT with "none" algorithm.' +rules: + - and: + - zones: + - URI + transform: + - lowercase + match: + type: contains + value: /_api/web/siteusers + - zones: + - HEADERS + variables: + - authorization + transform: + - lowercase + match: + type: contains + value: 'bearer ' + - zones: + - HEADERS + variables: + - authorization + transform: + - lowercase + match: + type: contains + value: 'none' + +labels: + type: exploit + service: http + confidence: 3 + spoofable: 0 + behavior: 'http:exploit' + label: 'Microsoft SharePoint - Authentication Bypass' + classification: + - cve.CVE-2023-29357 + - attack.T1552 + - cwe.CWE-287 diff --git a/collections/crowdsecurity/appsec-virtual-patching.yaml b/collections/crowdsecurity/appsec-virtual-patching.yaml index 7ccf9a8bf03..0d57cf87ebb 100644 --- a/collections/crowdsecurity/appsec-virtual-patching.yaml +++ b/collections/crowdsecurity/appsec-virtual-patching.yaml @@ -146,6 +146,7 @@ appsec-rules: - crowdsecurity/vpatch-CVE-2025-2611 - crowdsecurity/vpatch-CVE-2022-24086 - crowdsecurity/vpatch-CVE-2021-32478 +- crowdsecurity/vpatch-CVE-2023-29357 - crowdsecurity/vpatch-CVE-2021-26072 - crowdsecurity/vpatch-CVE-2025-55748 - crowdsecurity/vpatch-CVE-2022-25322