CVE-2002-0653 Memory corruption in n/a

High 7.8 Published Updated

Local attackers can execute arbitrary code as the Apache server user via crafted .htaccess files due to a buffer overflow in mod_ssl.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2002-0653?

CVE-2002-0653 is a high-severity memory corruption vulnerability in n/a, published on 2 Apr 2003. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

Off-by-one buffer overflow in the ssl_compat_directive function, as called by the rewrite_command hook for mod_ssl Apache module 2.8.9 and earlier, allows local users to execute arbitrary code as the Apache server user via .htaccess files with long entries.

Weakness: CWE-193

Which versions are affected by CVE-2002-0653?

It affects 1 product.

Products include Modssl Mod Ssl.

How do I fix CVE-2002-0653?

Apply the vendor's patch.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2002-0653 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2002-0653 exists.

Public exploit code: 1 Exploit-DB entry.

Sources

Also known as DSA-135, GHSA-chfp-36fq-v6g3.

Is CVE-2002-0653 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free