Bug 709139 (CVE-2011-1709)

Summary: CVE-2011-1709 gdm: URI scheme handling change in glib2 allows running default browser in GDM session
Product: [Other] Security Response Reporter: Vincent Danen <vdanen>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: mclasen, rstrode, security-response-team
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-06-10 10:57:49 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 709508    
Bug Blocks:    
Attachments:
Description Flags
upstream patch none

Description Vincent Danen 2011-05-30 19:35:19 UTC
Henne Vogelsang discovered that, as of glib 2.28, it was possible to run the default web browser (usually Firefox) in the GDM session, as the gdm user.  This resulted in uncontrolled access to the local file system and possibly other resources as the gdm user.  This is because glib 2.28 has changed the way URI handlers are registered; while it used to be controlled via gconf settings, it now is controlled via x-scheme-handler/<scheme> mime types (e.g. x-scheme-handler/http).

Statement:

Not vulnerable. This issue did not affect the versions of gdm as shipped with Red Hat Enterprise Linux 4, 5, or 6.

Comment 1 Vincent Danen 2011-05-30 19:36:23 UTC
Created attachment 501874 [details]
upstream patch

Comment 3 Vincent Danen 2011-05-30 19:38:03 UTC
This issue only affects Fedora 15; earlier releases of Fedora and Red Hat Enterprise Linux still use the old gconf-based URI-handling method that is not vulnerable to this flaw.

Comment 5 Tomas Hoger 2011-05-31 19:08:21 UTC
Public now via:
http://git.gnome.org/browse/gdm/commit/?id=d13dd72531599ab7e4c747db3b58a8c17753e08d

This fix adds a custom MIME configuration for the gdm user to ensure no default URI scheme handler is used to work around the change in glib.

Comment 6 Vincent Danen 2011-05-31 20:46:34 UTC
Created gdm tracking bugs for this issue

Affects: fedora-15 [bug 709508]