CVE-2005-2871 Memory corruption in n/a
Remote attackers can trigger a buffer overflow in Firefox IDN handling via crafted hostnames, potentially executing arbitrary code or causing a crash.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2005-2871?
CVE-2005-2871 is a high-severity memory corruption vulnerability in Mozilla Firefox, published on 9 Sep 2005. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
Buffer overflow in the International Domain Name (IDN) support in Mozilla Firefox 1.0.6 and earlier, and Netscape 8.0.3.3 and 7.2, allows remote attackers to cause a denial of service (crash) and possibly execute arbitrary code via a hostname with all "soft" hyphens (character 0xAD), which is not properly handled by the NormalizeIDN call in nsStandardURL::BuildNormalizedSpec.
Which versions are affected by CVE-2005-2871?
It affects 1 product.
Linux distribution packages (8)
firefox Red Hat:enterprise_linux:4::as | All versions | 0:1.0.6-1.4.2 |
firefox-debuginfo Red Hat:enterprise_linux:4::as | All versions | 0:1.0.6-1.4.2 |
firefox Red Hat:enterprise_linux:4::desktop | All versions | 0:1.0.6-1.4.2 |
firefox-debuginfo Red Hat:enterprise_linux:4::desktop | All versions | 0:1.0.6-1.4.2 |
firefox Red Hat:enterprise_linux:4::es | All versions | 0:1.0.6-1.4.2 |
firefox-debuginfo Red Hat:enterprise_linux:4::es | All versions | 0:1.0.6-1.4.2 |
firefox Red Hat:enterprise_linux:4::ws | All versions | 0:1.0.6-1.4.2 |
firefox-debuginfo Red Hat:enterprise_linux:4::ws | All versions | 0:1.0.6-1.4.2 |
Products include Mozilla Firefox.
How do I fix CVE-2005-2871?
Upgrade to a fixed version.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2005-2871 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2005-2871 exists.
Public exploit code: 1 Exploit-DB entry.
Other vulnerabilities in Mozilla Firefox
Sources
Also known as DSA-837-1, GHSA-h4c5-jq2c-gq8v, RHSA-2005:768.