CVE-2024-38474CWE-116

Apache HTTP Server weakness with encoded question marks in backreferences

High · published July 1, 2024

CVSS v3.1
8.1
EPSS
2%
Percentile
84.3
In the wild
Unconfirmed
What it is

⚡ A sneaky substitution encoding vulnerability in Apache HTTP Server can let attackers execute scripts from hidden corners of your server! 🔥 This is like a restaurant allowing kitchen staff to serve dishes from a secret menu, but without the proper checks—an unauthorized chef could whip up anything they want without a trace! If exploited, an attacker could run malicious scripts in directories that shouldn't be accessed directly, potentially compromising sensitive data or server operations. This could lead to unauthorized access or even data leaks, putting your entire system at risk.

Put simply

This is like a restaurant allowing kitchen staff to serve dishes from a secret menu, but without the proper checks—an unauthorized chef could whip up anything they want without a trace! The vulnerability lies in mod_rewrite's handling of certain RewriteRules, which can let attackers execute scripts that should only be available as CGI—like slipping a ringer into the kitchen without proper oversight.

What to do

If exploited, an attacker could run malicious scripts in directories that shouldn't be accessed directly, potentially compromising sensitive data or server operations. This could lead to unauthorized access or even data leaks, putting your entire system at risk. Immediately upgrade to Apache HTTP Server version 2.4.60 to patch this vulnerability. Review and modify your RewriteRules to ensure they are properly secured, and consider disabling the 'UnsafeAllow3F' flag unless absolutely necessary. You've got this! Stay proactive and secure your server today! 🛡️

The record
Technical detail
CVSS v3.1
8.1 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.02456 · 84.3th percentile
Weakness
CWE-116 · Improper Encoding or Escaping of Output
Published
2024-07-01T18:14Z
EPSS history
Timeline
  • 01 JUL 18:14Z
    Apache HTTP Server weakness with encoded question marks in backreferences
    cvelistv5