CVE-2007-4993 Command injection in n/a

Medium 6.9 Published Updated

Local attackers with guest privileges can execute arbitrary commands in the host domain via a crafted grub configuration file.

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

What is CVE-2007-4993?

CVE-2007-4993 is a medium-severity command injection vulnerability in n/a, published on 27 Sep 2007. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

pygrub (tools/pygrub/src/GrubConf.py) in Xen 3.0.3, when booting a guest domain, allows local users with elevated privileges in the guest domain to execute arbitrary commands in domain 0 via a crafted grub.conf file whose contents are used in exec statements.

Weakness: CWE-20

Which versions are affected by CVE-2007-4993?

It affects 1 product.

Products include Xensource Inc Xen.

How do I fix CVE-2007-4993?

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-2007-4993 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2007-4993 exists.

Public exploit code: 1 Exploit-DB entry.

Sources

Also known as GHSA-43w7-6v4p-jxc3.

Is CVE-2007-4993 in your software?

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

Check your SBOMs for free