Vulnerabilities by product / Apache HTTP Server / History

What attackers have used in Apache HTTP Server

What to do now

5 problems attackers have used

From CISA's list of problems attackers are known to be using, the newest on the list first. If you keep it up to date, you most likely have these fixes already.

  • CVE-2024-38475 Attackers have used this Critical Jul 1, 2024

    CISA listed it as used by attackers on May 1, 2025.

    Improper escaping of output in mod_rewrite in Apache HTTP Server 2.4.59 and earlier allows an attacker to map URLs to filesystem locations that are permitted to be served by the server but are not intentionally/directly reachable by any URL, resulting in code execution or source code disclosure. Substitutions in server context that use a backreferences or variables as the first segment of the substitution are affected.  Some unsafe RewiteRules will be broken by this change and the rewrite flag "UnsafePrefixStat" can be used to opt back in once ensuring the substitution is appropriately constrained.

    How it can be attacked: Anyone who can reach it over a network can attack it, no password needed.

    Fixed in 2.4.60.

  • CVE-2021-40438 Attackers have used this Used for ransomware Critical Sep 16, 2021

    CISA listed it as used by attackers on December 1, 2021.

    A crafted request uri-path can cause mod_proxy to forward the request to an origin server choosen by the remote user. This issue affects Apache HTTP Server 2.4.48 and earlier.

    How it can be attacked: Anyone who can reach it over a network can attack it, no password needed.

    The record does not say which version fixes it.

  • CVE-2021-42013 Attackers have used this Used for ransomware Critical Oct 7, 2021

    CISA listed it as used by attackers on November 3, 2021.

    It was found that the fix for CVE-2021-41773 in Apache HTTP Server 2.4.50 was insufficient. An attacker could use a path traversal attack to map URLs to files outside the directories configured by Alias-like directives. If files outside of these directories are not protected by the usual default configuration "require all denied", these requests can succeed. If CGI scripts are also enabled for these aliased pathes, this could allow for remote code execution. This issue only affects Apache 2.4.49 and Apache 2.4.50 and not earlier versions.

    How it can be attacked: Anyone who can reach it over a network can attack it, no password needed.

    The record does not say which version fixes it.

  • CVE-2021-41773 Attackers have used this Used for ransomware Critical Oct 5, 2021

    CISA listed it as used by attackers on November 3, 2021.

    A flaw was found in a change made to path normalization in Apache HTTP Server 2.4.49. An attacker could use a path traversal attack to map URLs to files outside the directories configured by Alias-like directives. If files outside of these directories are not protected by the usual default configuration "require all denied", these requests can succeed. If CGI scripts are also enabled for these aliased pathes, this could allow for remote code execution. This issue is known to be exploited in the wild. This issue only affects Apache 2.4.49 and not earlier versions. The fix in Apache HTTP Server 2.4.50 was found to be incomplete, see CVE-2021-42013.

    How it can be attacked: Anyone who can reach it over a network can attack it, no password needed.

    The record does not say which version fixes it.

  • CVE-2019-0211 Attackers have used this High Apr 8, 2019

    CISA listed it as used by attackers on November 3, 2021.

    In Apache HTTP Server 2.4 releases 2.4.17 to 2.4.38, with MPM event, worker or prefork, code executing in less-privileged child processes or threads (including scripts executed by an in-process scripting interpreter) could execute arbitrary code with the privileges of the parent process (usually root) by manipulating the scoreboard. Non-Unix systems are not affected.

    How it can be attacked: Only someone already signed in to the computer can use it, not someone on the internet.

    The record does not say which version fixes it.