CVE-2013-4419 Race condition in n/a

Medium 6.8 Published Updated

Local attackers can execute arbitrary commands by exploiting a race condition in guestfish temporary socket creation when remote options are used.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2013-4419?

CVE-2013-4419 is a medium-severity vulnerability in Novell Suse Linux Enterprise Server, published on 5 Nov 2013. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

The guestfish command in libguestfs 1.20.12, 1.22.7, and earlier, when using the --remote or --listen option, does not properly check the ownership of /tmp/.guestfish-$UID/ when creating a temporary socket file in this directory, which allows local users to write to the socket and execute arbitrary commands by creating /tmp/.guestfish-$UID/ in advance.

Weakness: CWE-264

Which versions are affected by CVE-2013-4419?

It affects 3 products.

Linux distribution packages (40)
libguestfs Red Hat:enterprise_linux:6::clientAll versions1:1.20.11-2.el6
libguestfs-debuginfo Red Hat:enterprise_linux:6::clientAll versions1:1.20.11-2.el6
libguestfs-devel Red Hat:enterprise_linux:6::clientAll versions1:1.20.11-2.el6
libguestfs-java Red Hat:enterprise_linux:6::clientAll versions1:1.20.11-2.el6
libguestfs-java-devel Red Hat:enterprise_linux:6::clientAll versions1:1.20.11-2.el6
libguestfs-javadoc Red Hat:enterprise_linux:6::clientAll versions1:1.20.11-2.el6
libguestfs-tools Red Hat:enterprise_linux:6::clientAll versions1:1.20.11-2.el6
libguestfs-tools-c Red Hat:enterprise_linux:6::clientAll versions1:1.20.11-2.el6
ocaml-libguestfs Red Hat:enterprise_linux:6::clientAll versions1:1.20.11-2.el6
ocaml-libguestfs-devel Red Hat:enterprise_linux:6::clientAll versions1:1.20.11-2.el6
perl-Sys-Guestfs Red Hat:enterprise_linux:6::clientAll versions1:1.20.11-2.el6
python-libguestfs Red Hat:enterprise_linux:6::clientAll versions1:1.20.11-2.el6
ruby-libguestfs Red Hat:enterprise_linux:6::clientAll versions1:1.20.11-2.el6
libguestfs Red Hat:enterprise_linux:6::computenodeAll versions1:1.20.11-2.el6
libguestfs-debuginfo Red Hat:enterprise_linux:6::computenodeAll versions1:1.20.11-2.el6
libguestfs-devel Red Hat:enterprise_linux:6::computenodeAll versions1:1.20.11-2.el6
libguestfs-java Red Hat:enterprise_linux:6::computenodeAll versions1:1.20.11-2.el6
libguestfs-java-devel Red Hat:enterprise_linux:6::computenodeAll versions1:1.20.11-2.el6
libguestfs-javadoc Red Hat:enterprise_linux:6::computenodeAll versions1:1.20.11-2.el6
libguestfs-tools Red Hat:enterprise_linux:6::computenodeAll versions1:1.20.11-2.el6
libguestfs-tools-c Red Hat:enterprise_linux:6::computenodeAll versions1:1.20.11-2.el6
ocaml-libguestfs Red Hat:enterprise_linux:6::computenodeAll versions1:1.20.11-2.el6
ocaml-libguestfs-devel Red Hat:enterprise_linux:6::computenodeAll versions1:1.20.11-2.el6
perl-Sys-Guestfs Red Hat:enterprise_linux:6::computenodeAll versions1:1.20.11-2.el6
python-libguestfs Red Hat:enterprise_linux:6::computenodeAll versions1:1.20.11-2.el6
ruby-libguestfs Red Hat:enterprise_linux:6::computenodeAll versions1:1.20.11-2.el6
libguestfs Red Hat:enterprise_linux:6::serverAll versions1:1.20.11-2.el6
libguestfs-debuginfo Red Hat:enterprise_linux:6::serverAll versions1:1.20.11-2.el6
libguestfs-devel Red Hat:enterprise_linux:6::serverAll versions1:1.20.11-2.el6
libguestfs-java Red Hat:enterprise_linux:6::serverAll versions1:1.20.11-2.el6
libguestfs-java-devel Red Hat:enterprise_linux:6::serverAll versions1:1.20.11-2.el6
libguestfs-javadoc Red Hat:enterprise_linux:6::serverAll versions1:1.20.11-2.el6
libguestfs-tools Red Hat:enterprise_linux:6::serverAll versions1:1.20.11-2.el6
libguestfs-tools-c Red Hat:enterprise_linux:6::serverAll versions1:1.20.11-2.el6
ocaml-libguestfs Red Hat:enterprise_linux:6::serverAll versions1:1.20.11-2.el6
ocaml-libguestfs-devel Red Hat:enterprise_linux:6::serverAll versions1:1.20.11-2.el6
perl-Sys-Guestfs Red Hat:enterprise_linux:6::serverAll versions1:1.20.11-2.el6
python-libguestfs Red Hat:enterprise_linux:6::serverAll versions1:1.20.11-2.el6
ruby-libguestfs Red Hat:enterprise_linux:6::serverAll versions1:1.20.11-2.el6
libguestfs Red Hat:enterprise_linux:6::workstationAll versions1:1.20.11-2.el6

Products include Libguestfs Libguestfs, Novell Suse Linux Enterprise Server, Suse Suse Linux Enterprise Software Development Kit.

How do I fix CVE-2013-4419?

Apply the vendor's patch.

Is CVE-2013-4419 being exploited?

There is no known exploitation of CVE-2013-4419 in the wild and no public exploit code.

All Novell Suse Linux Enterprise Server vulnerabilities

Sources

Also known as DEBIAN-CVE-2013-4419, GHSA-3vxx-8f6w-cpxp, RHSA-2013:1536, UBUNTU-CVE-2013-4419.

Is CVE-2013-4419 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free