Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add CVE-2024-38816 #1198

Merged
merged 3 commits into from
Jan 8, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .appsec-tests/vpatch-CVE-2024-38816/config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@

appsec-rules:
- ./appsec-rules/crowdsecurity/base-config.yaml
- ./appsec-rules/crowdsecurity/vpatch-CVE-2024-38816.yaml
nuclei_template: test-CVE-2024-38816.yaml
20 changes: 20 additions & 0 deletions .appsec-tests/vpatch-CVE-2024-38816/test-CVE-2024-38816.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@

id: test-CVE-2024-38816
info:
name: test-CVE-2024-38816
author: crowdsec
severity: info
description: test-CVE-2024-38816 testing
tags: appsec-testing
http:
- raw:
- |
GET /static/link/%2e%2e/etc/passwd HTTP/1.1
Host: {{Hostname}}
cookie-reuse: true
matchers:
- type: dsl
condition: and
dsl:
- "status_code_1 == 403"

38 changes: 35 additions & 3 deletions .index.json
Original file line number Diff line number Diff line change
Expand Up @@ -2474,6 +2474,33 @@
"type": "exploit"
}
},
"crowdsecurity/vpatch-CVE-2024-38816": {
"path": "appsec-rules/crowdsecurity/vpatch-CVE-2024-38816.yaml",
"version": "0.1",
"versions": {
"0.1": {
"digest": "3f0f9436351950cb8c7072ed57f50100ecfd7c4a5fe78951af09c43e52470570",
"deprecated": false
}
},
"content": "Cm5hbWU6IGNyb3dkc2VjdXJpdHkvdnBhdGNoLUNWRS0yMDI0LTM4ODE2CmRlc2NyaXB0aW9uOiAiU3ByaW5nIC0gUGF0aCBUcmF2ZXJzYWwgKENWRS0yMDI0LTM4ODE2KSIKcnVsZXM6CiAgLSBhbmQ6CiAgICAtIHpvbmVzOgogICAgICAtIE1FVEhPRAogICAgICBtYXRjaDoKICAgICAgICB0eXBlOiBlcXVhbHMKICAgICAgICB2YWx1ZTogUE9TVAogICAgLSB6b25lczoKICAgICAgLSBVUkkKICAgICAgdHJhbnNmb3JtOgogICAgICAtIGxvd2VyY2FzZQogICAgICAtIHVybGRlY29kZQogICAgICBtYXRjaDoKICAgICAgICB0eXBlOiBjb250YWlucwogICAgICAgIHZhbHVlOiAiL3N0YXRpYy9saW5rLy4uLyIKbGFiZWxzOgogIHR5cGU6IGV4cGxvaXQKICBzZXJ2aWNlOiBodHRwCiAgY29uZmlkZW5jZTogMwogIHNwb29mYWJsZTogMAogIGJlaGF2aW9yOiAiaHR0cDpleHBsb2l0IgogIGxhYmVsOiAiU3ByaW5nIC0gUGF0aCBUcmF2ZXJzYWwiCiAgY2xhc3NpZmljYXRpb246CiAgIC0gY3ZlLkNWRS0yMDI0LTM4ODE2CiAgIC0gYXR0YWNrLlQxNTk1CiAgIC0gYXR0YWNrLlQxMTkwCiAgIC0gY3dlLkNXRS0yMg==",
"description": "Spring - Path Traversal (CVE-2024-38816)",
"author": "crowdsecurity",
"labels": {
"behavior": "http:exploit",
"classification": [
"cve.CVE-2024-38816",
"attack.T1595",
"attack.T1190",
"cwe.CWE-22"
],
"confidence": 3,
"label": "Spring - Path Traversal",
"service": "http",
"spoofable": 0,
"type": "exploit"
}
},
"crowdsecurity/vpatch-CVE-2024-38856": {
"path": "appsec-rules/crowdsecurity/vpatch-CVE-2024-38856.yaml",
"version": "0.1",
Expand Down Expand Up @@ -3577,7 +3604,7 @@
},
"crowdsecurity/appsec-virtual-patching": {
"path": "collections/crowdsecurity/appsec-virtual-patching.yaml",
"version": "4.8",
"version": "4.9",
"versions": {
"0.1": {
"digest": "a165d638c8d826a932e4ca4e70ec5379d558a0bee1356e871c7c92cc2df714fc",
Expand Down Expand Up @@ -3770,10 +3797,14 @@
"4.8": {
"digest": "377382bb123e07cc76b8c4a6806e64275267b4a8e8c9f70841993788458d3608",
"deprecated": false
},
"4.9": {
"digest": "138de42ce4e21da2d61b57592a50b511fbca5acde7acac6f4fafc803446c05ee",
"deprecated": false
}
},
"long_description": "IyBBcHBTZWMgVmlydHVhbCBQYXRjaGluZwoKVGhpcyBjb2xsZWN0aW9uIGNvbnRhaW5zIHZpcnR1YWwgcGF0Y2hpbmcgZm9yIGNvbW1vbmx5IGV4cGxvaXRlZCB2dWxuZXJhYmlsaXRpZXMsIGFuZCBpcyBpbnNwaXJlZCBieSB0aGUgW0NJU0EgS25vd24gRXhwbG9pdGVkIFZ1bG5lcmFiaWxpdGllcyBDYXRhbG9nXShodHRwczovL3d3dy5jaXNhLmdvdi9rbm93bi1leHBsb2l0ZWQtdnVsbmVyYWJpbGl0aWVzLWNhdGFsb2cpLiBUaGUgZ29hbCBpcyB0byBwcm92aWRlIHZpcnR1YWwgcGF0Y2hpbmcgY2FwYWJpbGl0aWVzIGZvciB0aGUgbW9zdCBvZnRlbiBleHBsb2l0ZWQgdnVsbmVyYWJpbGl0aWVzLCBhdm9pZGluZyBmYWxzZSBwb3NpdGl2ZXMgd2hpbGUgY2F0Y2hpbmcgcGVvcGxlIHNjb3V0aW5nIHlvdXIgYXBwbGljYXRpb25zIGZvciBqdWljeSB2dWxuZXJhYmlsaXRpZXMuCg==",
"content": "YXBwc2VjLWNvbmZpZ3M6Ci0gY3Jvd2RzZWN1cml0eS92aXJ0dWFsLXBhdGNoaW5nCi0gY3Jvd2RzZWN1cml0eS9hcHBzZWMtZGVmYXVsdAphcHBzZWMtcnVsZXM6Ci0gY3Jvd2RzZWN1cml0eS9iYXNlLWNvbmZpZwotIGNyb3dkc2VjdXJpdHkvdnBhdGNoLWVudi1hY2Nlc3MKLSBjcm93ZHNlY3VyaXR5L3ZwYXRjaC1DVkUtMjAyMy00MDA0NAotIGNyb3dkc2VjdXJpdHkvdnBhdGNoLUNWRS0yMDE3LTk4ND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yaW9zOgotIGNyb3dkc2VjdXJpdHkvYXBwc2VjLXZwYXRjaAo=",
"description": "a generic virtual patching collection, suitable for most web servers.",
"author": "crowdsecurity",
"labels": null,
Expand Down Expand Up @@ -3857,7 +3888,8 @@
"crowdsecurity/vpatch-CVE-2024-9474",
"crowdsecurity/vpatch-CVE-2024-7593",
"crowdsecurity/vpatch-CVE-2024-52301",
"crowdsecurity/vpatch-CVE-2024-8963"
"crowdsecurity/vpatch-CVE-2024-8963",
"crowdsecurity/vpatch-CVE-2024-38816"
],
"appsec-configs": [
"crowdsecurity/virtual-patching",
Expand Down
30 changes: 30 additions & 0 deletions appsec-rules/crowdsecurity/vpatch-CVE-2024-38816.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@

name: crowdsecurity/vpatch-CVE-2024-38816
description: "Spring - Path Traversal (CVE-2024-38816)"
rules:
- and:
- zones:
- METHOD
match:
type: equals
value: POST
- zones:
- URI
transform:
- lowercase
- urldecode
match:
type: contains
value: "/static/link/../"
labels:
type: exploit
service: http
confidence: 3
spoofable: 0
behavior: "http:exploit"
label: "Spring - Path Traversal"
classification:
- cve.CVE-2024-38816
- attack.T1595
- attack.T1190
- cwe.CWE-22
1 change: 1 addition & 0 deletions collections/crowdsecurity/appsec-virtual-patching.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ appsec-rules:
- crowdsecurity/vpatch-CVE-2024-7593
- crowdsecurity/vpatch-CVE-2024-52301
- crowdsecurity/vpatch-CVE-2024-8963
- crowdsecurity/vpatch-CVE-2024-38816
author: crowdsecurity
contexts:
- crowdsecurity/appsec_base
Expand Down
22 changes: 22 additions & 0 deletions taxonomy/scenarios.json
Original file line number Diff line number Diff line change
Expand Up @@ -1569,6 +1569,28 @@
"CWE-611"
]
},
"crowdsecurity/vpatch-CVE-2024-38816": {
"name": "crowdsecurity/vpatch-CVE-2024-38816",
"description": "Spring - Path Traversal (CVE-2024-38816)",
"label": "Spring - Path Traversal",
"behaviors": [
"http:exploit"
],
"mitre_attacks": [
"TA0043:T1595",
"TA0001:T1190"
],
"confidence": 3,
"spoofable": 0,
"cti": true,
"service": "http",
"cves": [
"CVE-2024-38816"
],
"cwes": [
"CWE-22"
]
},
"crowdsecurity/vpatch-CVE-2024-38856": {
"name": "crowdsecurity/vpatch-CVE-2024-38856",
"description": "Apache OFBiz Incorrect Authorization (CVE-2024-38856)",
Expand Down