Cloudanix VulnDB

CVE-2008-2168

None

CVSS

—

EPSS

54.9%

Published

May 13, 2008

CISA due date

—

Cloudanix analysis

Monitor only SSVC: Attend

Attackers can trick a web server into showing error pages that secretly run harmful code in visitors' browsers.

Exploit Available
Exploitation
Remote Unauthenticated
Attacker needs
None
Complexity
Moderate
Impact
Data Tampering
Component
Network Service
Class
XSS
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

Remote attackers can inject arbitrary web script or HTML into the 403 Forbidden error page by supplying UTF-7 encoded URLs that are not sanitized before display.

Why it matters to the business

Attackers may trick users into executing malicious code in their browsers through crafted error pages, leading to potential session hijacking, phishing, or data theft that disrupts user trust and requires incident response.

How an attack unfolds

An attacker crafts a URL containing UTF-7 encoded script, requests a nonexistent resource to trigger a 403 response, and the server reflects the payload in the error page, executing the script in victims' browsers when they view the page.

How to fix it

Upgrade to a fixed version such as boring-registry-fips 0.14.0-r4 or later; apply vendor patches that properly sanitize UTF-7 encoded input in error pages; consider disabling or customizing default error pages if immediate upgrade is not feasible.

How to confirm the fix worked

Confirm the server version is updated beyond 2.2.6; test by sending UTF-7 encoded URLs and verifying that scripts are no longer reflected or executed in 403 responses; review changelog entries for error-page handling fixes.

Typical attack path

  1. Identify a target server running an affected Apache version
  2. Craft a request with a UTF-7 encoded payload in the URL path
  3. Trigger a 403 Forbidden response by requesting a protected or nonexistent resource
  4. Observe the payload reflected and executed in the error page rendered to the victim

How to detect it

Review web server access logs for 403 responses triggered by URLs containing UTF-7 markers such as +ADw- or +AD4-; inspect error page rendering code for unsanitized input; correlate with unusual script execution in client-side logs if available.

  • 403 responses containing +ADw-script or similar UTF-7 sequences
  • URLs with %2B%41%44%77%2D patterns in access logs

What your security team should do

  • Prioritize patching affected Apache instances to the fixed release within standard change windows given the public exploit availability
  • Implement web application firewall rules to block UTF-7 encoded sequences in URLs
  • Audit custom error page configurations for proper output encoding
  • Monitor EPSS trend stability and reassess if new exploit code emerges

The record

Cross-site scripting (XSS) vulnerability in Apache 2.2.6 and earlier allows remote attackers to inject arbitrary web script or HTML via UTF-7 encoded URLs that are not properly handled when displaying the 403 Forbidden error page.

Affected packages

Ecosystem Package Introduced Fixed
Chainguard apache2 0 0
Chainguard apache2-compat 0 0
Chainguard apache2-config 0 0
Chainguard apache2-config-compat 0 0
Chainguard apache2-data 0 0
Chainguard apache2-dev 0 0
Chainguard apache2-doc 0 0
Chainguard apache2-oci-entrypoint 0 0
Chainguard apache2-utils 0 0
Debian:10 apache2 0 2.2.8-1
Debian:11 apache2 0 2.2.8-1
Debian:12 apache2 0 2.2.8-1
Debian:13 apache2 0 2.2.8-1
Wolfi apache2 0 0
Wolfi apache2-compat 0 0
Wolfi apache2-config 0 0
Wolfi apache2-config-compat 0 0
Wolfi apache2-data 0 0
Wolfi apache2-dev 0 0
Wolfi apache2-doc 0 0
Wolfi apache2-oci-entrypoint 0 0
Wolfi apache2-utils 0 0

Related vulnerabilities