Bug 724005 (CVE-2011-2709) - CVE-2011-2709 libgssapi, libgssglue: Ability to load untrusted configuration file, when loading GSS mechanisms and their definitions during initialization
Summary: CVE-2011-2709 libgssapi, libgssglue: Ability to load untrusted configuration ...
Keywords:
Status: CLOSED WONTFIX
Alias: CVE-2011-2709
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 724008 724009
Blocks: 724019
TreeView+ depends on / blocked
 
Reported: 2011-07-21 17:32 UTC by Jan Lieskovsky
Modified: 2021-02-24 15:01 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-08-22 16:07:22 UTC
Embargoed:


Attachments (Terms of Use)

Description Jan Lieskovsky 2011-07-21 17:32:26 UTC
It was found that libgssapi and libgssglue GSSAPI interface exporting libraries did not properly sanitize content of user-provided configuration file, determining which GSS mechanisms and their definitions will be loaded during library initialization. A local attacker, allowed to mount a network file system (NFS) share could use this flaw to execute arbitrary code with the privileges of the the privileged system user (root).

References:
[1] https://bugzilla.novell.com/show_bug.cgi?id=694598
[2] http://lists.opensuse.org/opensuse-security-announce/2011-06/msg00013.html
[3] http://lwn.net/Alerts/449415/

Links to patches, applied by SUSE Linux distribution (couldn't find their 
related source code form though):
[4] http://download.novell.com/patch/finder/?keywords=5b5de538464acbf06386b39d37563e66
[5] http://download.novell.com/patch/finder/?keywords=88b0a4c3666d54637f8fff06918865ef
[6] http://download.novell.com/patch/finder/?keywords=f3c8cc7c70c0e2250dce0f068395c09e

Comment 1 Jan Lieskovsky 2011-07-21 17:35:38 UTC
This issue affects the versions of the libgssapi package, as shipped with Red Hat Enterprise Linux 4 and 5.

--

This issue affects the version of the libgssglue package, as shipped with Red Hat Enterprise Linux 6.

--

This issue affects the versions of the libgssapi package, as shipped with Fedora release of 14 and 15.

This issue affects the versions of the libgssglue package, as shipped with Fedora release of 14 and 15.

Please schedule an update.

Comment 2 Jan Lieskovsky 2011-07-21 17:36:45 UTC
Created libgssglue tracking bugs for this issue

Affects: fedora-all [bug 724009]

Comment 3 Jan Lieskovsky 2011-07-21 17:36:49 UTC
Created libgssapi tracking bugs for this issue

Affects: fedora-all [bug 724008]

Comment 4 Jan Lieskovsky 2011-07-21 17:44:16 UTC
Request for CVE and plaintext version of the patches:
[7] http://www.openwall.com/lists/oss-security/2011/07/21/3

Comment 5 Jan Lieskovsky 2011-07-24 13:23:09 UTC
The CVE identifier of CVE-2011-2709 has been assigned to this issue:
[8] http://www.openwall.com/lists/oss-security/2011/07/22/4

Comment 7 Tomas Hoger 2011-08-15 06:52:00 UTC
Patch that was used by SUSE:
http://thread.gmane.org/gmane.comp.security.oss.general/5544/focus=5712

It checks for uid != euid to handle setuid mount.nfs use case.  Adding gid != egid check to cover possible setgid use case (even though none seem to be known at the moment) seems like a reasonable extension to SUSE's fix.

Comment 9 Stefan Cornelius 2012-05-09 11:45:35 UTC
Upstream fixed this in libgssglue-0.4:
http://www.citi.umich.edu/projects/nfsv4/linux/libgssglue/libgssglue-0.4.tar.gz

Comment 11 Stefan Cornelius 2012-12-18 09:49:36 UTC
Although the library is affected by this vulnerability, we are not aware of an application shipping as part of RHEL that would offer a suitable attack vector to actually exploit this vulnerability in a way that would cross security boundaries.

It can't be ruled out completely that third party applications offer a suitable attack vector (e.g. a suid/sgid binary that triggers the affected initialization routines of the library). However, we are currently not aware of such an application.

Thus, this issue has been rated as having a low security impact, even though the theoretical CVSSv2 score is quite high. It's still being tracked and a future update may address this issue.

Comment 12 Vincent Danen 2015-08-22 16:07:08 UTC
Statement:

Red Hat Product Security has rated this issue as having Low security impact. This issue is not currently planned to be addressed in future updates. For additional information, refer to the Issue Severity Classification: https://access.redhat.com/security/updates/classification/.


Note You need to log in before you can comment on or make changes to this bug.