CVE-2012-0864
published 2013-05-02CVE-2012-0864: Integer overflow in the vfprintf function in stdio-common/vfprintf.c in glibc 2.14 and other versions allows context-dependent attackers to bypass the…
PriorityP431medium6.8CVSS 2.0
AVNACMAuNCPIPAP
EPSS
2.72%
84.5th percentile
Integer overflow in the vfprintf function in stdio-common/vfprintf.c in glibc 2.14 and other versions allows context-dependent attackers to bypass the FORTIFY_SOURCE protection mechanism, conduct format string attacks, and write to arbitrary memory via a large number of arguments.
Affected
4 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| gnu | glibc | — | — |
| vmware | vcenter_server | — | — |
| vmware | vmware_esxi | — | — |
| vmware | vsphere | — | — |
CVSS provenance
nvdv2.06.8MEDIUMAV:N/AC:M/Au:N/C:P/I:P/A:P
vendor_redhat6.8MEDIUM
vendor_ubuntu6.8MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
VMware
VMware security updates for vCSA, vCenter Server, and ESXi
vendor_vmware·2012-12-20·CVSS 4.0
CVE-2009-5029 [MEDIUM] VMware security updates for vCSA, vCenter Server, and ESXi
VMSA-2012-0018: VMware security updates for vCSA, vCenter Server, and ESXi
a. vCenter Server Appliance directory traversal The vCenter Server Appliance (vCSA) contains a directory traversal vulnerability that allows an authenticated remote user to retrieve arbitrary files. Exploitation of this issue may expose sensitive information stored on the server. VMware would like to thank Alexander Minozhenko from ERPScan for reporting this issue to us. The Common Vulnerabilities and Exposures project (cve.mitre.org) has assigned the name CVE-2012-6324 to this issue. Column 4 of the following table lists the action required to remediate the vulnerability in each release, if a solution is available. VMware Product Product Version Running on Replace with/ Apply Patch VMware Product vCSA Product Vers
Ubuntu
GNU C Library vulnerabilities
vendor_ubuntu·2012-03-09·CVSS 6.8
CVE-2009-5029 [MEDIUM] GNU C Library vulnerabilities
Title: GNU C Library vulnerabilities
Summary: Multiple vulnerabilities were discovered and fixed in the GNU C Library.
It was discovered that the GNU C Library did not properly handle
integer overflows in the timezone handling code. An attacker could use
this to possibly execute arbitrary code by convincing an application
to load a maliciously constructed tzfile. (CVE-2009-5029)
It was discovered that the GNU C Library did not properly handle
passwd.adjunct.byname map entries in the Network Information Service
(NIS) code in the name service caching daemon (nscd). An attacker
could use this to obtain the encrypted passwords of NIS accounts.
This issue only affected Ubuntu 8.04 LTS. (CVE-2010-0015)
Chris Evans reported that the GNU C Library did not properly
calculate the amount of memor
Red Hat
glibc: FORTIFY_SOURCE format string protection bypass via "nargs" integer overflow
vendor_redhat·2010-11-17·CVSS 6.8
CVE-2012-0864 [MEDIUM] CWE-190 glibc: FORTIFY_SOURCE format string protection bypass via "nargs" integer overflow
glibc: FORTIFY_SOURCE format string protection bypass via "nargs" integer overflow
Integer overflow in the vfprintf function in stdio-common/vfprintf.c in glibc 2.14 and other versions allows context-dependent attackers to bypass the FORTIFY_SOURCE protection mechanism, conduct format string attacks, and write to arbitrary memory via a large number of arguments.
Package: glibc (Red Hat Enterprise Linux 4) - Will not fix
GHSA
GHSA-x2p4-f3vf-gwp3: Integer overflow in the vfprintf function in stdio-common/vfprintf
ghsa_unreviewed·2022-05-17
CVE-2012-0864 [MEDIUM] GHSA-x2p4-f3vf-gwp3: Integer overflow in the vfprintf function in stdio-common/vfprintf
Integer overflow in the vfprintf function in stdio-common/vfprintf.c in glibc 2.14 and other versions allows context-dependent attackers to bypass the FORTIFY_SOURCE protection mechanism, conduct format string attacks, and write to arbitrary memory via a large number of arguments.
No detection rules found.
No public exploits indexed.
Bugzilla
dbus: Format string vulnerability
bugzilla·2016-10-11·CVSS 6.8
[MEDIUM] dbus: Format string vulnerability
dbus: Format string vulnerability
A format string vulnerability in the reference bus implementation,
dbus-daemon, could potentially allow local users to cause arbitrary
code execution or denial of service.
References:
http://seclists.org/oss-sec/2016/q4/85
Upstream bug (patches attached):
https://bugs.freedesktop.org/show_bug.cgi?id=98157
Discussion:
Created dbus tracking bugs for this issue:
Affects: fedora-all [bug 1383658]
---
Versions prior to 1.4.0 are not affected.
Note the "mitigated in" versions mentioned in oss-security post, where the attack is still possible but can only be conducted by root, who can already do much worse. Mitigations for CVE-2015-0245 are also effective in the same way.
The simplest mitigation for rhel-7 appears to be altering system.conf as per:
h
Bugzilla
sha512-crypt.c usage of alloca() unbounded
bugzilla·2012-03-19
[HIGH] sha512-crypt.c usage of alloca() unbounded
sha512-crypt.c usage of alloca() unbounded
Description of problem:
We received a report of a remotely exploitable crash vulnerability in OpenStack (http://www.openstack.org). The root cause turned out to be in glibc, when a password of excessive length made it down to sha512 crypt and resulted in an unbounded alloca() that exhausted the stack.
Here is an abbreviated demonstration of the bug in Python as it occurred in OpenStack (with python-passlib installed):
import passlib.hash
pw_utf8 = ('a' * 9999999).encode('utf-8')
pw_hash = passlib.hash.sha512_crypt.encrypt(pw_utf8)
passlib.hash.sha512_crypt.verify(pw_utf8, pw_hash)
It can also be reproduced using the crypt Python module directly:
import crypt
pw_utf8 = ('a' * 9999999).encode('utf-8')
crypt.crypt(pw_utf8, '$6$' + '.'*16)
Bo
Bugzilla
CVE-2012-0864 glibc: FORTIFY_SOURCE format string protection bypass via "nargs" integer overflow
bugzilla·2012-02-17·CVSS 6.8
CVE-2012-0864 [MEDIUM] CVE-2012-0864 glibc: FORTIFY_SOURCE format string protection bypass via "nargs" integer overflow
CVE-2012-0864 glibc: FORTIFY_SOURCE format string protection bypass via "nargs" integer overflow
In the Phrack article "A Eulogy for Format Strings", a researcher using nickname "Captain Planet" reported an integer overflow flaw in the format string protection mechanism offered by FORTIFY_SOURCE. A remote attacker could provide a specially crafted executable, leading to FORTIFY_SOURCE format string protection mechanism bypass, when executed.
References:
http://www.phrack.org/issues.html?issue=67&id=9#article
Upstream bug and Kees Cook's proposed patches:
http://sourceware.org/bugzilla/show_bug.cgi?id=13656
http://sourceware.org/ml/libc-alpha/2012-02/msg00023.html
http://sourceware.org/ml/libc-alpha/2012-02/msg00012.html
http://sourceware.org/ml/libc-alpha/2012-02/msg00073.html
Discuss
Bugzilla
CVE-2012-0864 glibc: F_S format string protection bypass via "nargs" integer overflow [fedora-all]
bugzilla·2012-02-17·CVSS 6.8
CVE-2012-0864 [MEDIUM] CVE-2012-0864 glibc: F_S format string protection bypass via "nargs" integer overflow [fedora-all]
CVE-2012-0864 glibc: F_S format string protection bypass via "nargs" integer overflow [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected Fedora
versions.
For comments that are specific to the vulnerability please use bugs filed
against "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When creating a Bodhi update request, please include this bug ID and the
bug IDs of this bug's parent bugs filed against the "Security Response"
product (the top-level CVE bugs). Please mention the CVE IDs being fixed
in the RPM changelog when available.
Bodhi update submission link:
https://admin.fedoraproject.org/upda
Bugzilla
CVE-2012-0809 sudo: format string flaw in sudo_debug()
bugzilla·2012-01-24·CVSS 7.2
CVE-2012-0809 [HIGH] CVE-2012-0809 sudo: format string flaw in sudo_debug()
CVE-2012-0809 sudo: format string flaw in sudo_debug()
A flaw was reported in the debugging code of sudo versions 1.8.0 through 1.8.3p1 which can be used to crash sudo or, possibly, allow an unauthorized user to elevate their privileges via the debugging support added in sudo 1.8.0. Due to a flaw in the sudo_debug() function, the program name (which can be controlled by the caller of sudo), is passed to fprintf() and can be exploited using standard format string exploitation techniques, allowing for the possible elevation to root privileges.
The calling user does _not_ need to be listed in the sudoers file in order to exploit this.
Acknowledgements:
Red Hat would like to thank Todd C. Miller for reporting this issue. Upstream acknowledges joernchen of Phenoelit as the original reporte
http://rhn.redhat.com/errata/RHSA-2012-0393.htmlhttp://rhn.redhat.com/errata/RHSA-2012-0397.htmlhttp://rhn.redhat.com/errata/RHSA-2012-0488.htmlhttp://rhn.redhat.com/errata/RHSA-2012-0531.htmlhttp://sourceware.org/git/?p=glibc.git%3Ba=commitdiff%3Bh=7c1f4834d398163d1ac8101e35e9c36fc3176e6ehttp://sourceware.org/ml/libc-alpha/2012-02/msg00023.htmlhttp://www.phrack.org/issues.html?issue=67&id=9#articlehttp://www.securityfocus.com/bid/52201https://bugzilla.redhat.com/show_bug.cgi?id=794766http://rhn.redhat.com/errata/RHSA-2012-0393.htmlhttp://rhn.redhat.com/errata/RHSA-2012-0397.htmlhttp://rhn.redhat.com/errata/RHSA-2012-0488.htmlhttp://rhn.redhat.com/errata/RHSA-2012-0531.htmlhttp://sourceware.org/git/?p=glibc.git%3Ba=commitdiff%3Bh=7c1f4834d398163d1ac8101e35e9c36fc3176e6ehttp://sourceware.org/ml/libc-alpha/2012-02/msg00023.htmlhttp://www.phrack.org/issues.html?issue=67&id=9#articlehttp://www.securityfocus.com/bid/52201https://bugzilla.redhat.com/show_bug.cgi?id=794766
2013-05-02
Published