Skip to content

Commit

Permalink
improve descriptions for apache path traversal (#1186)
Browse files Browse the repository at this point in the history
* improve descriptions for apache path traversal

* Update index

* Update taxonomy

---------

Co-authored-by: GitHub Action <[email protected]>
  • Loading branch information
seemanne and actions-user authored Dec 3, 2024
1 parent 7c6fdab commit 7493041
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 10 deletions.
20 changes: 14 additions & 6 deletions .index.json
Original file line number Diff line number Diff line change
Expand Up @@ -13479,7 +13479,7 @@
},
"crowdsecurity/http-cve-2021-41773": {
"path": "scenarios/crowdsecurity/http-cve-2021-41773.yaml",
"version": "0.2",
"version": "0.3",
"versions": {
"0.1": {
"digest": "297eff27011c942a75937838e09c60c80f9dfdbfcb18b358b666777b4d1e89aa",
Expand All @@ -13488,10 +13488,14 @@
"0.2": {
"digest": "3cd742ad69889bee2644daf08c4eef1c14359fdf67e3642542d157e0c1bc0382",
"deprecated": false
},
"0.3": {
"digest": "f3fa755209fab221d6bbe04abd835c6539034cd72521725f960cdb36157e4313",
"deprecated": false
}
},
"content": "dHlwZTogdHJpZ2dlcgpmb3JtYXQ6IDIuMAojZGVidWc6IHRydWUKbmFtZTogY3Jvd2RzZWN1cml0eS9odHRwLWN2ZS0yMDIxLTQxNzczCmRlc2NyaXB0aW9uOiAiY3ZlLTIwMjEtNDE3NzMiCmZpbHRlcjogfAogIGV2dC5NZXRhLmxvZ190eXBlIGluIFsiaHR0cF9hY2Nlc3MtbG9nIiwgImh0dHBfZXJyb3ItbG9nIl0gYW5kIAogICAgKFVwcGVyKGV2dC5NZXRhLmh0dHBfcGF0aCkgY29udGFpbnMgIi8uJTJFLy4lMkUvIgogICAgICBvcgogICAgIFVwcGVyKGV2dC5NZXRhLmh0dHBfcGF0aCkgY29udGFpbnMgIi8lMkUlMkUvJTJFJTJFIikKZ3JvdXBieTogImV2dC5NZXRhLnNvdXJjZV9pcCIKYmxhY2tob2xlOiAybQpsYWJlbHM6CiAgY29uZmlkZW5jZTogMwogIHNwb29mYWJ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773)",
"author": "crowdsecurity",
"labels": {
"behavior": "http:exploit",
Expand All @@ -13509,7 +13513,7 @@
},
"crowdsecurity/http-cve-2021-42013": {
"path": "scenarios/crowdsecurity/http-cve-2021-42013.yaml",
"version": "0.2",
"version": "0.3",
"versions": {
"0.1": {
"digest": "5f7e21b44bc4284dde1cde1610109a06a0c986777f48c2f00e08db9e2f156459",
Expand All @@ -13518,10 +13522,14 @@
"0.2": {
"digest": "0ed92efba1d5146795df08340c91535aee56e9a0e2d650c2496f46ecb977314f",
"deprecated": false
},
"0.3": {
"digest": "b9e598a8e063f525a16ba78488787da5d409141c3a8b2665263654d92745e59a",
"deprecated": false
}
},
"content": "dHlwZTogdHJpZ2dlcgpmb3JtYXQ6IDIuMAojZGVidWc6IHRydWUKI3RoaXMgaXMgZ2V0dGluZyBmdW5ueSwgaXQncyB0aGUgdGhpcmQgcGF0Y2ggb24gdG9wIG9mIGN2ZS0yMDIxLTQxNzczCm5hbWU6IGNyb3dkc2VjdXJpdHkvaHR0cC1jdmUtMjAyMS00MjAxMwpkZXNjcmlwdGlvbjogImN2ZS0yMDIxLTQyMDEzIgpmaWx0ZXI6IHwKICBldnQuTWV0YS5sb2dfdHlwZSBpbiBbImh0dHBfYWNjZXNzLWxvZyIsICJodHRwX2Vycm9yLWxvZyJdIGFuZCAKICAgIFVwcGVyKGV2dC5NZXRhLmh0dHBfcGF0aCkgY29udGFpbnMgIi8lJTMyJTY1JSUzMiU2NS8iCmdyb3VwYnk6ICJldnQuTWV0YS5zb3VyY2VfaXAiCmJsYWNraG9sZTogMm0KbGFiZWxzOgogIHNlcnZpY2U6IGFwYWNoZQogIGNvbmZpZGVuY2U6IDMKICBzcG9vZmFibGU6IDAKICBjbGFzc2lmaWNhdGlvbjoKICAgIC0gYXR0YWNrLlQxMTkwCiAgICAtIGF0dGFjay5UMTU5NQogICAgLSBjdmUuQ1ZFLTIwMjEtNDIwMTMKICBiZWhhdmlvcjogImh0dHA6ZXhwbG9pdCIKICBsYWJlbDogIkNWRS0yMDIxLTQyMDEzIgogIHJlbWVkaWF0aW9uOiB0cnVlCg==",
"description": "cve-2021-42013",
"content": "dHlwZTogdHJpZ2dlcgpmb3JtYXQ6IDIuMAojZGVidWc6IHRydWUKI3RoaXMgaXMgZ2V0dGluZyBmdW5ueSwgaXQncyB0aGUgdGhpcmQgcGF0Y2ggb24gdG9wIG9mIGN2ZS0yMDIxLTQxNzczCm5hbWU6IGNyb3dkc2VjdXJpdHkvaHR0cC1jdmUtMjAyMS00MjAxMwpkZXNjcmlwdGlvbjogIkFwYWNoZSAtIFBhdGggVHJhdmVyc2FsIChDVkUtMjAyMS00MjAxMykiCmZpbHRlcjogfAogIGV2dC5NZXRhLmxvZ190eXBlIGluIFsiaHR0cF9hY2Nlc3MtbG9nIiwgImh0dHBfZXJyb3ItbG9nIl0gYW5kIAogICAgVXBwZXIoZXZ0Lk1ldGEuaHR0cF9wYXRoKSBjb250YWlucyAiLyUlMzIlNjUlJTMyJTY1LyIKZ3JvdXBieTogImV2dC5NZXRhLnNvdXJjZV9pcCIKYmxhY2tob2xlOiAybQpsYWJlbHM6CiAgc2VydmljZTogYXBhY2hlCiAgY29uZmlkZW5jZTogMwogIHNwb29mYWJsZTogMAogIGNsYXNzaWZpY2F0aW9uOgogICAgLSBhdHRhY2suVDExOTAKICAgIC0gYXR0YWNrLlQxNTk1CiAgICAtIGN2ZS5DVkUtMjAyMS00MjAxMwogIGJlaGF2aW9yOiAiaHR0cDpleHBsb2l0IgogIGxhYmVsOiAiQ1ZFLTIwMjEtNDIwMTMiCiAgcmVtZWRpYXRpb246IHRydWUK",
"description": "Apache - Path Traversal (CVE-2021-42013)",
"author": "crowdsecurity",
"labels": {
"behavior": "http:exploit",
Expand Down
2 changes: 1 addition & 1 deletion scenarios/crowdsecurity/http-cve-2021-41773.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ type: trigger
format: 2.0
#debug: true
name: crowdsecurity/http-cve-2021-41773
description: "cve-2021-41773"
description: "Apache - Path Traversal (CVE-2021-41773)"
filter: |
evt.Meta.log_type in ["http_access-log", "http_error-log"] and
(Upper(evt.Meta.http_path) contains "/.%2E/.%2E/"
Expand Down
2 changes: 1 addition & 1 deletion scenarios/crowdsecurity/http-cve-2021-42013.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ format: 2.0
#debug: true
#this is getting funny, it's the third patch on top of cve-2021-41773
name: crowdsecurity/http-cve-2021-42013
description: "cve-2021-42013"
description: "Apache - Path Traversal (CVE-2021-42013)"
filter: |
evt.Meta.log_type in ["http_access-log", "http_error-log"] and
Upper(evt.Meta.http_path) contains "/%%32%65%%32%65/"
Expand Down
4 changes: 2 additions & 2 deletions taxonomy/scenarios.json
Original file line number Diff line number Diff line change
Expand Up @@ -3734,7 +3734,7 @@
},
"crowdsecurity/http-cve-2021-41773": {
"name": "crowdsecurity/http-cve-2021-41773",
"description": "cve-2021-41773",
"description": "Apache - Path Traversal (CVE-2021-41773)",
"label": "CVE-2021-41773",
"behaviors": [
"http:exploit"
Expand All @@ -3753,7 +3753,7 @@
},
"crowdsecurity/http-cve-2021-42013": {
"name": "crowdsecurity/http-cve-2021-42013",
"description": "cve-2021-42013",
"description": "Apache - Path Traversal (CVE-2021-42013)",
"label": "CVE-2021-42013",
"behaviors": [
"http:exploit"
Expand Down

0 comments on commit 7493041

Please sign in to comment.