{"id":"CVE-2007-4993","aliases":["DSA-1384-1","EUVD-2007-4974","GHSA-43w7-6v4p-jxc3","RHSA-2007:0323"],"status":"published","title":"pygrub (tools/pygrub/src/GrubConf.py) in Xen 3.0.3, when booting a guest domain, allows local...","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.","severity":{"version":"2.0","score":6.9,"vector":"AV:L/AC:M/Au:N/C:C/I:C/A:C","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-07","score":0.00633,"percentile":0.50578,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":false},"cwes":["CWE-20"],"published":"2007-09-27T17:00:00Z","modified":"2026-06-26T12:17:51Z","exploits":[{"source":"exploitdb","id":"EDB-30620","title":"Xen 3.0.3 - pygrub TOOLS/PYGRUB/SRC/GRUBCONF.PY Local Command Injection","type":"local","platform":"linux","date":"2007-09-22","verified":true,"url":"https://www.exploit-db.com/exploits/30620"}],"affected":[{"source":"osv","ecosystem":"Debian:4.0","package":"xen-3.0","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.0.3-0-3"}]}],"versions":["3.0.3-0-2"],"bundled":2},{"source":"osv","ecosystem":"Red Hat:rhel_virtualization:5::client","package":"xen","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.0.3-25.0.4.el5"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:rhel_virtualization:5::client","package":"xen-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.0.3-25.0.4.el5"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:rhel_virtualization:5::client","package":"xen-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.0.3-25.0.4.el5"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::client","package":"xen","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.0.3-25.0.4.el5"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::client","package":"xen-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.0.3-25.0.4.el5"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::client","package":"xen-libs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.0.3-25.0.4.el5"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:rhel_virtualization:5::server","package":"xen","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.0.3-25.0.4.el5"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:rhel_virtualization:5::server","package":"xen-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.0.3-25.0.4.el5"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:rhel_virtualization:5::server","package":"xen-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.0.3-25.0.4.el5"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::server","package":"xen","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.0.3-25.0.4.el5"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::server","package":"xen-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.0.3-25.0.4.el5"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::server","package":"xen-libs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.0.3-25.0.4.el5"}]}],"bundled":3}],"products":[{"vendor":"xensource_inc","product":"xen"}],"references":[{"url":"http://www.mandriva.com/security/advisories?name=MDKSA-2007:203","tags":["vendor-advisory","x_refsource_MANDRIVA","x_transferred"]},{"url":"https://issues.rpath.com/browse/RPL-1752","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://www.redhat.com/archives/fedora-package-announce/2007-October/msg00030.html","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred"]},{"url":"http://secunia.com/advisories/27047","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://secunia.com/advisories/26986","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory"]},{"url":"http://secunia.com/advisories/27486","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://secunia.com/advisories/27085","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=1068","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://secunia.com/advisories/27141","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"https://www.redhat.com/archives/fedora-package-announce/2007-November/msg00004.html","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred"]},{"url":"http://secunia.com/advisories/27103","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://www.securityfocus.com/archive/1/481825/100/0/threaded","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred"]},{"url":"http://www.redhat.com/support/errata/RHSA-2007-0323.html","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"]},{"url":"http://secunia.com/advisories/27161","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://www.securityfocus.com/bid/25825","tags":["vdb-entry","x_refsource_BID","x_transferred"]},{"url":"http://secunia.com/advisories/27072","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11240","tags":["vdb-entry","signature","x_refsource_OVAL","x_transferred"]},{"url":"https://www.redhat.com/archives/fedora-package-announce/2007-October/msg00082.html","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred"]},{"url":"http://www.ubuntu.com/usn/usn-527-1","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred"]},{"url":"http://www.debian.org/security/2007/dsa-1384","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred"]},{"url":"http://www.vupen.com/english/advisories/2007/3348","tags":["vdb-entry","x_refsource_VUPEN","x_transferred"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2007-4993","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-43w7-6v4p-jxc3"},{"url":"https://access.redhat.com/errata/RHSA-2007:0323","tags":["advisory"]},{"url":"http://www.redhat.com/security/updates/classification/#important","tags":["article"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=237342","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=237343","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=302801","tags":["report"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2007/rhsa-2007_0323.json","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2007-1320","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2007-1320","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2007-1320","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2007-1321","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2007-1321","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2007-1321","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2007-4993","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2007-4993","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2007-4993","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.","status":"published","published":"2007-09-27T17:00:00Z","modified":"2024-08-07T15:17:27.851Z","updated_at":"2026-11-02T13:33:19.093583Z"}],"euvd":[{"id":"EUVD-2007-4974","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.","status":"published","published":"2007-09-27T17:00:00Z","modified":"2024-08-07T15:17:27Z","updated_at":"2026-11-03T01:16:19.217323Z"}],"ghsa":[{"id":"GHSA-43w7-6v4p-jxc3","title":"pygrub (tools/pygrub/src/GrubConf.py) in Xen 3.0.3, when booting a guest domain, allows local...","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.","status":"published","published":"2022-05-01T18:28:59Z","modified":"2023-01-31T05:04:36Z","cwes":["CWE-20"],"updated_at":"2026-11-02T14:48:41.999229Z"}],"nvd":[{"id":"CVE-2007-4993","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.","status":"published","published":"2007-09-27T17:17:00Z","modified":"2026-06-16T22:45:14.447Z","cvss":[{"version":"2.0","score":6.9,"vector":"AV:L/AC:M/Au:N/C:C/I:C/A:C","level":"medium","assessor":"primary"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T14:01:21.141213Z"}],"osv":[{"id":"DSA-1384-1","title":"xen-3.0","status":"published","published":"2007-10-05T00:00:00Z","modified":"2026-03-09T01:01:33.065854Z","updated_at":"2026-11-02T15:46:14.285228Z"},{"id":"RHSA-2007:0323","title":"Red Hat Security Advisory: xen security update","status":"published","published":"2024-09-15T16:39:31Z","modified":"2026-06-26T12:17:51.019637018Z","updated_at":"2026-11-02T15:52:59.70892Z"}]}}
