cybersecurity Request an audit

Actively exploited vulnerability / CVE-2024-38474

Apache HTTP Server: attackers can run hidden scripts or read their code

A flaw in the mod_rewrite module of Apache HTTP Server lets an attacker run scripts on the server that are not meant to be reachable from the internet, or view the source code of scripts that should only be executed. This can expose passwords, configuration details or the inner workings of your website and can lead to the server being compromised. It is on the list of vulnerabilities used in real attacks kept by ENISA, the EU cybersecurity agency.

Identifier
CVE-2024-38474 · EUVD-2024-37355
Severity
Critical (9.8/10)
On the ENISA list (EU)
yes
Probability of exploitation (EPSS)
2.5% (FIRST's estimate for the next 30 days)

Does it concern you?

Apache HTTP Server is one of the most widely used web servers, hosting websites, online shops and internal web applications. You likely have it if your company runs a website or web application on its own or a rented server.

Versions from 2.4.0 up to and including 2.4.59 are affected. Ask your server administrator or hosting provider which Apache version you run and whether mod_rewrite is in use.

Affected products and versions

  • Apache Http Server
  • http server: from 2.4.0 before 2.4.60

What to do

Update Apache HTTP Server to version 2.4.60 or later. Afterwards, ask your administrator to confirm that URL rewrite rules still work, since some may stop working and need to be reviewed.

Versions that contain the fix: 2.4.60.

The official description

The text below is the description from the public database.

Substitution encoding issue in mod_rewrite in Apache HTTP Server 2.4.59 and earlier allows attacker to execute scripts in directories permitted by the configuration but not directly reachable by any URL or source disclosure of scripts meant to only to be executed as CGI. Users are recommended to upgrade to version 2.4.60, which fixes this issue. Some RewriteRules that capture and substitute unsafely will now fail unless rewrite flag "UnsafeAllow3F" is specified.

Sources

Data from the public CVE and NVD databases, the CISA KEV and ENISA EU KEV lists and FIRST's EPSS score. The explanations are ours, written from that data. Last updated: 2 December 2026.

What you can do next

Request an audit

Find out what you expose, before someone else does.

Tell us who you are, confirm by email, and we will call you. Nothing is checked until you agree.

  1. You confirm by email, then we call you within two working days to understand your company and what should be checked.
  2. You get a fixed quote and a permission form that says exactly what we may test, and when.
  3. We do the work in the window you chose, and keep you posted.
  4. You get the report and a walkthrough call, then one retest of its findings within 30 days.

Only systems you own or may have checked / written permission first

Request an audit

No passwords or access details here. We ask for what we need after you sign the permission form.

After you send this, we email you a link to confirm it. We contact you only after you confirm.