CVE-2012-4425 Privilege escalation in n/a
Local attackers can gain privileges and execute arbitrary code in setuid programs using libgio via the DBUS_SYSTEM_BUS_ADDRESS environment variable.
- 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-2012-4425?
CVE-2012-4425 is a medium-severity vulnerability in n/a, published on 18 Sep 2012. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
libgio, when used in setuid or other privileged programs in spice-gtk and possibly other products, allows local users to gain privileges and execute arbitrary code via the DBUS_SYSTEM_BUS_ADDRESS environment variable. NOTE: it could be argued that this is a vulnerability in the applications that do not cleanse environment variables, not in libgio itself.
Weakness: CWE-264
Which versions are affected by CVE-2012-4425?
It affects 2 products.
Linux distribution packages (29)
spice-glib Red Hat:enterprise_linux:6::client | All versions | 0:0.11-11.el6_3.1 |
spice-glib-devel Red Hat:enterprise_linux:6::client | All versions | 0:0.11-11.el6_3.1 |
spice-gtk Red Hat:enterprise_linux:6::client | All versions | 0:0.11-11.el6_3.1 |
spice-gtk-debuginfo Red Hat:enterprise_linux:6::client | All versions | 0:0.11-11.el6_3.1 |
spice-gtk-devel Red Hat:enterprise_linux:6::client | All versions | 0:0.11-11.el6_3.1 |
spice-gtk-python Red Hat:enterprise_linux:6::client | All versions | 0:0.11-11.el6_3.1 |
spice-gtk-tools Red Hat:enterprise_linux:6::client | All versions | 0:0.11-11.el6_3.1 |
spice-glib Red Hat:enterprise_linux:6::computenode | All versions | 0:0.11-11.el6_3.1 |
spice-glib-devel Red Hat:enterprise_linux:6::computenode | All versions | 0:0.11-11.el6_3.1 |
spice-gtk Red Hat:enterprise_linux:6::computenode | All versions | 0:0.11-11.el6_3.1 |
spice-gtk-debuginfo Red Hat:enterprise_linux:6::computenode | All versions | 0:0.11-11.el6_3.1 |
spice-gtk-devel Red Hat:enterprise_linux:6::computenode | All versions | 0:0.11-11.el6_3.1 |
spice-gtk-python Red Hat:enterprise_linux:6::computenode | All versions | 0:0.11-11.el6_3.1 |
spice-gtk-tools Red Hat:enterprise_linux:6::computenode | All versions | 0:0.11-11.el6_3.1 |
spice-glib Red Hat:enterprise_linux:6::server | All versions | 0:0.11-11.el6_3.1 |
spice-glib-devel Red Hat:enterprise_linux:6::server | All versions | 0:0.11-11.el6_3.1 |
spice-gtk Red Hat:enterprise_linux:6::server | All versions | 0:0.11-11.el6_3.1 |
spice-gtk-debuginfo Red Hat:enterprise_linux:6::server | All versions | 0:0.11-11.el6_3.1 |
spice-gtk-devel Red Hat:enterprise_linux:6::server | All versions | 0:0.11-11.el6_3.1 |
spice-gtk-python Red Hat:enterprise_linux:6::server | All versions | 0:0.11-11.el6_3.1 |
spice-gtk-tools Red Hat:enterprise_linux:6::server | All versions | 0:0.11-11.el6_3.1 |
spice-glib Red Hat:enterprise_linux:6::workstation | All versions | 0:0.11-11.el6_3.1 |
spice-glib-devel Red Hat:enterprise_linux:6::workstation | All versions | 0:0.11-11.el6_3.1 |
spice-gtk Red Hat:enterprise_linux:6::workstation | All versions | 0:0.11-11.el6_3.1 |
spice-gtk-debuginfo Red Hat:enterprise_linux:6::workstation | All versions | 0:0.11-11.el6_3.1 |
spice-gtk-devel Red Hat:enterprise_linux:6::workstation | All versions | 0:0.11-11.el6_3.1 |
spice-gtk-python Red Hat:enterprise_linux:6::workstation | All versions | 0:0.11-11.el6_3.1 |
spice-gtk-tools Red Hat:enterprise_linux:6::workstation | All versions | 0:0.11-11.el6_3.1 |
spice-gtk openSUSE:Tumbleweed | All versions | 0.33-2.1 |
Products include Freedesktop Spice-Gtk, Gtk Libgio.
How do I fix CVE-2012-4425?
Apply the vendor's patch.
Is CVE-2012-4425 being exploited?
There is no known exploitation of CVE-2012-4425 in the wild and no public exploit code.
Public exploit code: 1 Exploit-DB entry.
Sources
Also known as DEBIAN-CVE-2012-4425, GHSA-c77h-vm5q-jc2m, RHSA-2012:1284, openSUSE-SU-2024:10421-1.