Improper Encoding or Escaping of Output Affecting httpd:2.4/mod_md package, versions <1:2.0.8-8.module_el8.6.0+3031+fb177b09


Severity

Recommended
high

Based on AlmaLinux security rating

    Threat Intelligence

    EPSS
    0.04% (10th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-ALMALINUX8-HTTPD-7558077
  • published 24 Jul 2024
  • disclosed 23 Jul 2024

How to fix?

Upgrade AlmaLinux:8 httpd:2.4/mod_md to version 1:2.0.8-8.module_el8.6.0+3031+fb177b09 or higher.
This issue was patched in ALSA-2024:4720.

NVD Description

Note: Versions mentioned in the description apply only to the upstream httpd:2.4/mod_md package and not the httpd:2.4/mod_md package as distributed by AlmaLinux. See How to fix? for AlmaLinux:8 relevant fixed versions and status.

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.

CVSS Scores

version 3.1
Expand this section

Red Hat

9.1 critical
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    None
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    High
  • Integrity (I)
    High
  • Availability (A)
    None
Expand this section

SUSE

8.2 high