From ef4e070695441eaa60a42b54118bb37ed26f5e52 Mon Sep 17 00:00:00 2001 From: AlteredCoder <64792091+AlteredCoder@users.noreply.github.com> Date: Thu, 21 Nov 2024 09:54:14 +0100 Subject: [PATCH] CVE-2024-52301 Vpatch (#1175) * Add CVE-2024-52301 --- .../vpatch-CVE-2024-52301/config.yaml | 5 +++ .../test-CVE-2024-52301.yaml | 19 ++++++++++ .index.json | 38 +++++++++++++++++-- .../crowdsecurity/vpatch-CVE-2024-52301.yaml | 22 +++++++++++ .../appsec-virtual-patching.yaml | 1 + 5 files changed, 82 insertions(+), 3 deletions(-) create mode 100644 .appsec-tests/vpatch-CVE-2024-52301/config.yaml create mode 100644 .appsec-tests/vpatch-CVE-2024-52301/test-CVE-2024-52301.yaml create mode 100644 appsec-rules/crowdsecurity/vpatch-CVE-2024-52301.yaml diff --git a/.appsec-tests/vpatch-CVE-2024-52301/config.yaml b/.appsec-tests/vpatch-CVE-2024-52301/config.yaml new file mode 100644 index 00000000000..ac89aeb4059 --- /dev/null +++ b/.appsec-tests/vpatch-CVE-2024-52301/config.yaml @@ -0,0 +1,5 @@ + +appsec-rules: +- ./appsec-rules/crowdsecurity/base-config.yaml +- ./appsec-rules/crowdsecurity/vpatch-CVE-2024-52301.yaml +nuclei_template: test-CVE-2024-52301.yaml diff --git a/.appsec-tests/vpatch-CVE-2024-52301/test-CVE-2024-52301.yaml b/.appsec-tests/vpatch-CVE-2024-52301/test-CVE-2024-52301.yaml new file mode 100644 index 00000000000..5c3d121a28a --- /dev/null +++ b/.appsec-tests/vpatch-CVE-2024-52301/test-CVE-2024-52301.yaml @@ -0,0 +1,19 @@ +id: test-CVE-2024-52301 +info: + name: test-CVE-2024-52301 + author: crowdsec + severity: info + description: test-CVE-2024-52301 testing + tags: appsec-testing +http: + - raw: + - | + GET /_profiler/phpinfo?+--env=dev' HTTP/1.1 + Host: {{Hostname}} + Content-Type: application/x-www-form-urlencoded + cookie-reuse: true + matchers: + - type: dsl + condition: and + dsl: + - "status_code_1 == 403" \ No newline at end of file diff --git a/.index.json b/.index.json index f1f47d28e76..5e15c69ca7b 100644 --- a/.index.json +++ b/.index.json @@ -2559,6 +2559,33 @@ "type": "exploit" } }, + "crowdsecurity/vpatch-CVE-2024-52301": { + "path": "appsec-rules/crowdsecurity/vpatch-CVE-2024-52301.yaml", + "version": "0.1", + "versions": { + "0.1": { + "digest": "939ac16b02348d9f1295dfaeaa9254def91eb3b31b7d4c637905664682ca4cee", + "deprecated": false + } + }, + "content": "bmFtZTogY3Jvd2RzZWN1cml0eS92cGF0Y2gtQ1ZFLTIwMjQtNTIzMDEKZGVzY3JpcHRpb246ICJMYXJhdmVsIC0gUGFyYW1ldGVyIEluamVjdGlvbiAoQ1ZFLTIwMjQtNTIzMDEpIgpydWxlczoKICAtIGFuZDoKICAgIC0gem9uZXM6CiAgICAgIC0gQVJHU19OQU1FUwogICAgICBtYXRjaDoKICAgICAgICB0eXBlOiBlbmRzV2l0aAogICAgICAgIHZhbHVlOiAiLS1lbnYiCgpsYWJlbHM6CiAgdHlwZTogZXhwbG9pdAogIHNlcnZpY2U6IGh0dHAKICBjb25maWRlbmNlOiAzCiAgc3Bvb2ZhYmxlOiAwCiAgYmVoYXZpb3I6ICJodHRwOmV4cGxvaXQiCiAgbGFiZWw6ICJMYXJhdmVsIC0gUGFyYW1ldGVyIEluamVjdGlvbiIKICBjbGFzc2lmaWNhdGlvbjoKICAgLSBjdmUuQ1ZFLTIwMjQtNTIzMDEKICAgLSBhdHRhY2suVDE1OTUKICAgLSBhdHRhY2suVDExOTAKICAgLSBjd2UuQ1dFLTg4Cg==", + "description": "Laravel - Parameter Injection (CVE-2024-52301)", + "author": "crowdsecurity", + "labels": { + "behavior": "http:exploit", + "classification": [ + "cve.CVE-2024-52301", + "attack.T1595", + "attack.T1190", + "cwe.CWE-88" + ], + "confidence": 3, + "label": "Laravel - Parameter Injection", + "service": "http", + "spoofable": 0, + "type": "exploit" + } + }, "crowdsecurity/vpatch-CVE-2024-7593": { "path": "appsec-rules/crowdsecurity/vpatch-CVE-2024-7593.yaml", "version": "0.1", @@ -3519,7 +3546,7 @@ }, "crowdsecurity/appsec-virtual-patching": { "path": "collections/crowdsecurity/appsec-virtual-patching.yaml", - "version": "4.6", + "version": "4.7", "versions": { "0.1": { "digest": "a165d638c8d826a932e4ca4e70ec5379d558a0bee1356e871c7c92cc2df714fc", @@ -3704,10 +3731,14 @@ "4.6": { "digest": "a96e4880adb015a86249a6808fe7085d9c5bb37e6351adbbe105b5f3ac53cac6", "deprecated": false + }, + "4.7": { + "digest": "be7baa78901f12377f0d346d46a38c9ff4f73f0c584d32ff3373ed8c2abe5560", + "deprecated": false } }, "long_description": "IyBBcHBTZWMgVmlydHVhbCBQYXRjaGluZwoKVGhpcyBjb2xsZWN0aW9uIGNvbnRhaW5zIHZpcnR1YWwgcGF0Y2hpbmcgZm9yIGNvbW1vbmx5IGV4cGxvaXRlZCB2dWxuZXJhYmlsaXRpZXMsIGFuZCBpcyBpbnNwaXJlZCBieSB0aGUgW0NJU0EgS25vd24gRXhwbG9pdGVkIFZ1bG5lcmFiaWxpdGllcyBDYXRhbG9nXShodHRwczovL3d3dy5jaXNhLmdvdi9rbm93bi1leHBsb2l0ZWQtdnVsbmVyYWJpbGl0aWVzLWNhdGFsb2cpLiBUaGUgZ29hbCBpcyB0byBwcm92aWRlIHZpcnR1YWwgcGF0Y2hpbmcgY2FwYWJpbGl0aWVzIGZvciB0aGUgbW9zdCBvZnRlbiBleHBsb2l0ZWQgdnVsbmVyYWJpbGl0aWVzLCBhdm9pZGluZyBmYWxzZSBwb3NpdGl2ZXMgd2hpbGUgY2F0Y2hpbmcgcGVvcGxlIHNjb3V0aW5nIHlvdXIgYXBwbGljYXRpb25zIGZvciBqdWljeSB2dWxuZXJhYmlsaXRpZXMuCg==", - "content": "YXBwc2VjLWNvbmZpZ3M6Ci0gY3Jvd2RzZWN1cml0eS92aXJ0dWFsLXBhdGNoaW5nCi0gY3Jvd2RzZWN1cml0eS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VjLWxvZ3MKc2NlbmFyaW9zOgotIGNyb3dkc2VjdXJpdHkvYXBwc2VjLXZwYXRjaAo=", "description": "a generic virtual patching collection, suitable for most web servers.", "author": "crowdsecurity", "labels": null, @@ -3789,7 +3820,8 @@ "crowdsecurity/vpatch-CVE-2024-27954", "crowdsecurity/vpatch-CVE-2024-0012", "crowdsecurity/vpatch-CVE-2024-9474", - "crowdsecurity/vpatch-CVE-2024-7593" + "crowdsecurity/vpatch-CVE-2024-7593", + "crowdsecurity/vpatch-CVE-2024-52301" ], "appsec-configs": [ "crowdsecurity/virtual-patching", diff --git a/appsec-rules/crowdsecurity/vpatch-CVE-2024-52301.yaml b/appsec-rules/crowdsecurity/vpatch-CVE-2024-52301.yaml new file mode 100644 index 00000000000..7f66ebde222 --- /dev/null +++ b/appsec-rules/crowdsecurity/vpatch-CVE-2024-52301.yaml @@ -0,0 +1,22 @@ +name: crowdsecurity/vpatch-CVE-2024-52301 +description: "Laravel - Parameter Injection (CVE-2024-52301)" +rules: + - and: + - zones: + - ARGS_NAMES + match: + type: endsWith + value: "--env" + +labels: + type: exploit + service: http + confidence: 3 + spoofable: 0 + behavior: "http:exploit" + label: "Laravel - Parameter Injection" + classification: + - cve.CVE-2024-52301 + - attack.T1595 + - attack.T1190 + - cwe.CWE-88 diff --git a/collections/crowdsecurity/appsec-virtual-patching.yaml b/collections/crowdsecurity/appsec-virtual-patching.yaml index bc82b07f520..8ae8aef417b 100644 --- a/collections/crowdsecurity/appsec-virtual-patching.yaml +++ b/collections/crowdsecurity/appsec-virtual-patching.yaml @@ -74,6 +74,7 @@ appsec-rules: - crowdsecurity/vpatch-CVE-2024-0012 - crowdsecurity/vpatch-CVE-2024-9474 - crowdsecurity/vpatch-CVE-2024-7593 +- crowdsecurity/vpatch-CVE-2024-52301 author: crowdsecurity contexts: - crowdsecurity/appsec_base