CVE-2011-0419
Description
Stack consumption vulnerability in the fnmatch implementation in apr_fnmatch.c in the Apache Portable Runtime (APR) library before 1.4.3 and the Apache HTTP Server before 2.2.18, and in fnmatch.c in libc in NetBSD 5.1, OpenBSD 4.8, FreeBSD, Apple Mac OS X 10.6, Oracle Solaris 10, and Android, allows context-dependent attackers to cause a denial of service (CPU and memory consumption) via *? sequences in the first argument, as demonstrated by attacks against mod_autoindex in httpd.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
Exploits
Public proof-of-concept code below. AS-IS, for defenders and authorised testing only.
Exploit-DB
Apache 1.4/2.2.x - APR 'apr_fnmatch()' Denial of Service
OS impact
FreeBSD Affected 3 releases
| Version | Status | Fixed in |
|---|---|---|
| 5.1 | Affected | โ |
| 4.8 | Affected | โ |
| โ | Affected | โ |
macOS Affected 1 release
| Version | Status | Fixed in |
|---|---|---|
| 10.6.0 | Affected | โ |
SUSE Affected 1 release
| Version | Status | Fixed in |
|---|---|---|
| 10 | Affected | โ |
Debian Mixed 8 releases
| Version | Status | Fixed in |
|---|---|---|
| trixie | Fixed | 1.4.4-1 |
| sid | Fixed | 1.4.4-1 |
| forky | Fixed | 1.4.4-1 |
| bullseye | Fixed | 1.4.4-1 |
| bookworm | Fixed | 1.4.4-1 |
| 7.0 | Affected | โ |
| 6.0 | Affected | โ |
| 5.0 | Affected | โ |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| apache | portable_runtime | {"endExcluding":"1.4.3"} | 1.4.3 |
| apache | http_server | {"startIncluding":"2.0.0","endIncluding":"2.0.65"} | |
| apache | http_server | {"startIncluding":"2.2.0","endIncluding":"2.2.18"} | |
References
- https://security-tracker.debian.org/tracker/CVE-2011-0419
- http://cvsweb.netbsd.org/bsdweb.cgi/src/lib/libc/gen/fnmatch.c#rev1.22
- http://cxib.net/stuff/apache.fnmatch.phps
- http://cxib.net/stuff/apr_fnmatch.txts
- http://httpd.apache.org/security/vulnerabilities_22.html
- http://lists.apple.com/archives/Security-announce/2011//Oct/msg00003.html
- http://lists.opensuse.org/opensuse-security-announce/2011-11/msg00011.html
- http://marc.info/?l=bugtraq&m=131551295528105&w=2
- http://marc.info/?l=bugtraq&m=131731002122529&w=2
- http://marc.info/?l=bugtraq&m=132033751509019&w=2
- http://marc.info/?l=bugtraq&m=134987041210674&w=2
- http://secunia.com/advisories/44490
- http://secunia.com/advisories/44564
- http://secunia.com/advisories/44574
- http://secunia.com/advisories/48308
- http://securityreason.com/achievement_securityalert/98
- http://securityreason.com/securityalert/8246
- http://securitytracker.com/id?1025527
- http://support.apple.com/kb/HT5002
- http://svn.apache.org/viewvc/apr/apr/branches/1.4.x/strings/apr_fnmatch.c?r1=731029&r2=1098902
- http://svn.apache.org/viewvc?view=revision&revision=1098188
- http://svn.apache.org/viewvc?view=revision&revision=1098799
- http://www.apache.org/dist/apr/Announcement1.x.html
- http://www.apache.org/dist/apr/CHANGES-APR-1.4
- http://www.apache.org/dist/httpd/Announcement2.2.html
CWEs
CWE-770
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.