CVE-2017-15108 Command injection in spice-vdagent

High 7.8 Published Updated

Local attackers can execute arbitrary commands via improper escaping in the save directory path of the SPICE virtualization agent.

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-2017-15108?

CVE-2017-15108 is a high-severity command injection vulnerability in Debian Debian Linux, published on 20 Jan 2018. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

spice-vdagent up to and including 0.17.0 does not properly escape save directory before passing to shell, allowing local attacker with access to the session the agent runs in to inject arbitrary commands to be executed.

Weakness: CWE-78

Which versions are affected by CVE-2017-15108?

It affects 2 products.

Linux distribution packages (7)
spice-vdagent SUSE:Linux Enterprise Desktop 12 SP2All versions0.16.0-8.5.15
spice-vdagent SUSE:Linux Enterprise Desktop 12 SP3All versions0.16.0-8.5.15
spice-vdagent SUSE:Linux Enterprise Server 12 SP2All versions0.16.0-8.5.15
spice-vdagent SUSE:Linux Enterprise Server 12 SP3All versions0.16.0-8.5.15
spice-vdagent SUSE:Linux Enterprise Server for Raspberry Pi 12 SP2All versions0.16.0-8.5.15
spice-vdagent SUSE:Linux Enterprise Server for SAP Applications 12 SP2All versions0.16.0-8.5.15
spice-vdagent SUSE:Linux Enterprise Server for SAP Applications 12 SP3All versions0.16.0-8.5.15

Products include Debian Debian Linux, Spice-Space Spice-Vdagent.

How do I fix CVE-2017-15108?

Apply the vendor's patch.

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2017-15108 being exploited?

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

All Debian Debian Linux vulnerabilities

Sources

Also known as DEBIAN-CVE-2017-15108, GHSA-rx22-vq3w-89rg, MGASA-2019-0032, SUSE-SU-2018:0372-1, UBUNTU-CVE-2017-15108.

Is CVE-2017-15108 in your software?

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

Check your SBOMs for free