From 7cf01c2f0c9e02fc84da2be085092f3d9061e46f Mon Sep 17 00:00:00 2001 From: Florian Roth Date: Wed, 6 Oct 2021 12:43:10 +0200 Subject: [PATCH] extended CVE-2021-41773 rule --- rules/web/web_cve_2021_41773_apache_path_traversal.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/rules/web/web_cve_2021_41773_apache_path_traversal.yml b/rules/web/web_cve_2021_41773_apache_path_traversal.yml index 118ecf209..04ab16342 100644 --- a/rules/web/web_cve_2021_41773_apache_path_traversal.yml +++ b/rules/web/web_cve_2021_41773_apache_path_traversal.yml @@ -4,17 +4,21 @@ status: experimental description: Detects exploitation of flaw in path normalization in Apache HTTP server 2.4.49. An attacker could use a path traversal attack to map URLs to files outside the expected document root. If files outside of the document root are not protected by "require all denied" these requests can succeed. Additionally this flaw could leak the source of interpreted files like CGI scripts. This issue is known to be exploited in the wild. This issue only affects Apache 2.4.49 and not earlier versions. author: daffainfo, Florian Roth date: 2021/10/05 +modified: 2021/10/06 references: - https://nvd.nist.gov/vuln/detail/CVE-2021-41773 - https://github.com/apache/httpd/commit/e150697086e70c552b2588f369f2d17815cb1782 - https://twitter.com/ptswarm/status/1445376079548624899 - https://twitter.com/h4x0r_dz/status/1445401960371429381 - https://github.com/projectdiscovery/nuclei-templates/blob/master/cves/2021/CVE-2021-41773.yaml + - https://twitter.com/bl4sty/status/1445462677824761878?s=12 logsource: category: webserver detection: selection: - c-uri|contains: '/cgi-bin/.%2e/%2e%2e/%2e%2e/%2e%2e' + c-uri|contains: + - '/cgi-bin/.%2e/%2e%2e/%2e%2e/%2e%2e' + - '/icons/.%2e/%2e%2e/%2e%2e/%2e%2e' selection_success: sc-status: - 200 @@ -26,3 +30,4 @@ tags: - attack.initial_access - attack.t1190 level: critical +