-
Notifications
You must be signed in to change notification settings - Fork 162
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* support owncloud cve-2023-49103 --------- Co-authored-by: GitHub Action <[email protected]>
- Loading branch information
1 parent
cde790b
commit fd14dfe
Showing
10 changed files
with
137 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
parsers: | ||
- crowdsecurity/syslog-logs | ||
- crowdsecurity/dateparse-enrich | ||
- crowdsecurity/nginx-logs | ||
scenarios: | ||
- ./scenarios/crowdsecurity/CVE-2023-49103.yaml | ||
postoverflows: | ||
- "" | ||
log_file: cve-2023-49103.log | ||
log_type: nginx | ||
labels: {} | ||
ignore_parsers: true | ||
override_statics: [] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
1.2.3.4 - - [28/Nov/2023:09:41:29 +0100] "GET /owncloud/apps/graphapi/vendor/microsoft/microsoft-graph/tests/GetPhpInfo.php HTTP/1.1" 404 153 "-" "curl/7.68.0" | ||
4.5.6.7 - - [28/Nov/2023:09:45:00 +0100] "GET /owncloud/apps/graphapi/vendor/microsoft/microsoft-graph/tests/GetPhpInfo.php HTTP/1.1" 200 153 "-" "curl/7.68.0" |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
len(results) == 2 | ||
"4.5.6.7" in results[0].Overflow.GetSources() | ||
results[0].Overflow.Sources["4.5.6.7"].IP == "4.5.6.7" | ||
results[0].Overflow.Sources["4.5.6.7"].Range == "" | ||
results[0].Overflow.Sources["4.5.6.7"].GetScope() == "Ip" | ||
results[0].Overflow.Sources["4.5.6.7"].GetValue() == "4.5.6.7" | ||
results[0].Overflow.Alert.Events[0].GetMeta("datasource_path") == "cve-2023-49103.log" | ||
results[0].Overflow.Alert.Events[0].GetMeta("datasource_type") == "file" | ||
results[0].Overflow.Alert.Events[0].GetMeta("http_path") == "/owncloud/apps/graphapi/vendor/microsoft/microsoft-graph/tests/GetPhpInfo.php" | ||
results[0].Overflow.Alert.Events[0].GetMeta("http_status") == "200" | ||
results[0].Overflow.Alert.Events[0].GetMeta("http_user_agent") == "curl/7.68.0" | ||
results[0].Overflow.Alert.Events[0].GetMeta("http_verb") == "GET" | ||
results[0].Overflow.Alert.Events[0].GetMeta("log_type") == "http_access-log" | ||
results[0].Overflow.Alert.Events[0].GetMeta("service") == "http" | ||
results[0].Overflow.Alert.Events[0].GetMeta("source_ip") == "4.5.6.7" | ||
results[0].Overflow.Alert.Events[0].GetMeta("timestamp") == "2023-11-28T09:45:00+01:00" | ||
results[0].Overflow.Alert.GetScenario() == "crowdsecurity/CVE-2023-49103" | ||
results[0].Overflow.Alert.Remediation == true | ||
results[0].Overflow.Alert.GetEventsCount() == 1 | ||
"1.2.3.4" in results[1].Overflow.GetSources() | ||
results[1].Overflow.Sources["1.2.3.4"].IP == "1.2.3.4" | ||
results[1].Overflow.Sources["1.2.3.4"].Range == "" | ||
results[1].Overflow.Sources["1.2.3.4"].GetScope() == "Ip" | ||
results[1].Overflow.Sources["1.2.3.4"].GetValue() == "1.2.3.4" | ||
results[1].Overflow.Alert.Events[0].GetMeta("datasource_path") == "cve-2023-49103.log" | ||
results[1].Overflow.Alert.Events[0].GetMeta("datasource_type") == "file" | ||
results[1].Overflow.Alert.Events[0].GetMeta("http_path") == "/owncloud/apps/graphapi/vendor/microsoft/microsoft-graph/tests/GetPhpInfo.php" | ||
results[1].Overflow.Alert.Events[0].GetMeta("http_status") == "404" | ||
results[1].Overflow.Alert.Events[0].GetMeta("http_user_agent") == "curl/7.68.0" | ||
results[1].Overflow.Alert.Events[0].GetMeta("http_verb") == "GET" | ||
results[1].Overflow.Alert.Events[0].GetMeta("log_type") == "http_access-log" | ||
results[1].Overflow.Alert.Events[0].GetMeta("service") == "http" | ||
results[1].Overflow.Alert.Events[0].GetMeta("source_ip") == "1.2.3.4" | ||
results[1].Overflow.Alert.Events[0].GetMeta("timestamp") == "2023-11-28T09:41:29+01:00" | ||
results[1].Overflow.Alert.GetScenario() == "crowdsecurity/CVE-2023-49103" | ||
results[1].Overflow.Alert.Remediation == true | ||
results[1].Overflow.Alert.GetEventsCount() == 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
Detect exploitation of owncloud CVE-2023-49103 | ||
|
||
Ref: https://nvd.nist.gov/vuln/detail/CVE-2023-49103 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
type: trigger | ||
format: 2.0 | ||
name: crowdsecurity/CVE-2023-49103 | ||
description: "Detect owncloud CVE-2023-49103 exploitation attempts" | ||
filter: | | ||
evt.Meta.log_type in ['http_access-log', 'http_error-log'] && Lower(evt.Meta.http_path) contains '/owncloud/apps/graphapi/vendor/microsoft/microsoft-graph/tests/getphpinfo.php' | ||
groupby: "evt.Meta.source_ip" | ||
blackhole: 2m | ||
labels: | ||
type: exploit | ||
remediation: true | ||
classification: | ||
- attack.T1595 | ||
- attack.T1190 | ||
- cve.CVE-2023-49103 | ||
spoofable: 1 | ||
confidence: 2 | ||
behavior: "http:exploit" | ||
label: "owncloud CVE-2023-49103" | ||
service: owncloud |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters