Bug 857283 (CVE-2012-4425)

Summary: CVE-2012-4425 spice-gtk/glib: Possible privilege escalation via un-sanitized environment variable
Product: [Other] Security Response Reporter: Huzaifa S. Sidhpurwala <huzaifas>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: berrange, cfergeau, dblechte, hdegoede, jlieskov, kem, marcandre.lureau, mclasen, rbalakri, virt-maint
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard: impact=moderate,public=20120912,reported=20120727,source=oss-security,cvss2=6.9/AV:L/AC:M/Au:N/C:C/I:C/A:C,rhel-6/spice-gtk=affected,fedora-all/spice-gtk=affected,fedora-all/glib2=affected
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Bug Depends On: 854819, 854822, 854823, 854825, 857227, 857228    
Bug Blocks: 847403    

Description Huzaifa S. Sidhpurwala 2012-09-13 22:44:06 EDT
It was discovered that the spice-gtk setuid helper application, spice-client-glib-usb-acl-helper, did not clear the environment variables read by the libraries it uses. A local attacker could possibly use this flaw to escalate their privileges by setting specific environment variables before running the helper application. 

This flaw is similar to  CVE-2012-3524
Comment 2 Huzaifa S. Sidhpurwala 2012-09-13 22:54:44 EDT
Created spice-gtk tracking bugs for this issue

Affects: fedora-all [bug 857228]
Comment 3 Huzaifa S. Sidhpurwala 2012-09-13 22:58:56 EDT

Red Hat would like to thank Sebastian Krahmer of the SUSE Security Team for
reporting this issue.
Comment 4 Huzaifa S. Sidhpurwala 2012-09-13 23:01:01 EDT

Comment 6 Huzaifa S. Sidhpurwala 2012-09-13 23:23:32 EDT
Created glib2 tracking bugs for this issue

Affects: fedora-all [bug 857227]
Comment 7 errata-xmlrpc 2012-09-17 12:54:06 EDT
This issue has been addressed in following products:

  Red Hat Enterprise Linux 6

Via RHSA-2012:1284 https://rhn.redhat.com/errata/RHSA-2012-1284.html