A privilege escalation flaw was found in the way DeviceKit used to handle labels for pluggable storage devices. A local, unprivileged user could provide a specially-crafted string as a name, for the newly created / added system device, leading to escalation of his privileges. Upstream bug report: -------------------- http://bugs.freedesktop.org/show_bug.cgi?id=23235 Upstream patch: --------------- http://cgit.freedesktop.org/DeviceKit/DeviceKit-disks/commit/?id=62f883c7d38e75d0669c162529062a1e81d00da2
This issue affects the versions of DeviceKit-disks package, as shipped with Fedora releases of 10 and 11 (DeviceKit-disks-002-1.git20080720.fc10 and DeviceKit-disks-004-4.fc11).
Relevant upstream commits, noted for posterity: http://cgit.freedesktop.org/DeviceKit/DeviceKit-disks/commit/?id=62f883c7d38e75d0669c162529062a1e81d00da2 http://cgit.freedesktop.org/DeviceKit/DeviceKit-disks/commit/?id=ebb84bae43ef43f0206b484585a3c5b4a589072e
This is corrected in the upstream version of DeviceKit-disks as shipped with Fedora 12. It is not fixed in Fedora 11.
This is CVE-2010-0746.
An exploit/proof-of-concept for this is now public: http://xorl.wordpress.com/2010/04/06/cve-2010-0746-devicekit-local-privilege-escalation/