CVE-2011-3607
What it is
Integer overflow in the ap_pregsub function in server/util.c in the Apache HTTP Server 2.0.x through 2.0.64 and 2.2.x through 2.2.21, when the mod_setenvif module is enabled, allows local users to gain privileges via a .htaccess file with a crafted SetEnvIf directive, in conjunction with a crafted HTTP request header, leading to a heap-based buffer overflow.
At a glance
- Exploitability
- Can be exploited locally on the machine without logging in. Limited direct impact.
- Exploit odds
- 4.9% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 4.9% in the next 30 days (EPSS).
- Severity: 4.4 MEDIUM (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 4.9% · EPSS, next 30 days
- Weakness
- CWE-189
- Record status
- Modified
Affected
- Apache Http Server 2.0
- Apache Http Server 2.0.9
- Apache Http Server 2.0.28
- Apache Http Server 2.0.32
- Apache Http Server 2.0.34
- Apache Http Server 2.0.35
- Apache Http Server 2.0.36
- Apache Http Server 2.0.37
Attack profile CVSS 2.0 · 4.4
- Attack vector
- Local
- Complexity
- Medium
- Authentication
- None
- Confidentiality
- Partial
- Integrity
- Partial
- Availability
- Partial
Raw vector
AV:L/AC:M/Au:N/C:P/I:P/A:P
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2011-3607.md and follow it. Check whether this project is affected by CVE-2011-3607. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
References
- http://archives.neohapsis.com/archives/fulldisclosure/2011-11/0023.html
- http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?objectID=c03360041
- http://lists.apple.com/archives/security-announce/2012/Sep/msg00004.html
- http://marc.info/?l=bugtraq&m=133294460209056&w=2
- http://marc.info/?l=bugtraq&m=133494237717847&w=2
- http://marc.info/?l=bugtraq&m=134987041210674&w=2
- http://rhn.redhat.com/errata/RHSA-2012-0128.html
- http://rhn.redhat.com/errata/RHSA-2012-0542.html
- http://rhn.redhat.com/errata/RHSA-2012-0543.html
- http://secunia.com/advisories/45793
- http://secunia.com/advisories/48551
- http://securitytracker.com/id?1026267
- http://support.apple.com/kb/HT5501
- http://www.debian.org/security/2012/dsa-2405
- http://www.fujitsu.com/global/support/software/security/products-f/interstage-201303e.html
- http://www.halfdog.net/Security/2011/ApacheModSetEnvIfIntegerOverflow/
- http://www.halfdog.net/Security/2011/ApacheModSetEnvIfIntegerOverflow/DemoExploit.html
- http://www.mandriva.com/security/advisories?name=MDVSA-2012:003
- http://www.mandriva.com/security/advisories?name=MDVSA-2013:150
- http://www.oracle.com/technetwork/topics/security/cpujan2015-1972971.html
- http://www.oracle.com/technetwork/topics/security/cpujul2012-392727.html
- http://www.osvdb.org/76744
- http://www.securityfocus.com/bid/50494
- https://bugs.launchpad.net/ubuntu/+source/apache2/+bug/811422
- https://bugzilla.redhat.com/show_bug.cgi?id=750935