Bug 491572 (CVE-2009-1072)

Summary: CVE-2009-1072 kernel: nfsd should drop CAP_MKNOD for non-root
Product: [Other] Security Response Reporter: Eugene Teo (Security Response) <eteo>
Component: vulnerabilityAssignee: Nobody <nobody>
Status: ASSIGNED --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: bhu, eparis, jbacik, lgoncalv, rkhan, vgoyal, williams
Target Milestone: ---Keywords: Reopened, Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-03-27 07:02:51 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: 499072, 499073, 499074, 499075, 499076    
Bug Blocks:    
Attachments:
Description Flags
Upstream patch none

Description Eugene Teo (Security Response) 2009-03-23 04:15:43 UTC
Description of problem:
Since creating a device node is normally an operation requiring special privilege, Igor Zhbanov points out that it is surprising (to say the least) that a client can, for example, create a device node on a filesystem exported with root_squash.

So, make sure CAP_MKNOD is among the capabilities dropped when an nfsd thread handles a request from a non-root user.

References:
http://groups.google.com/group/fa.linux.kernel/browse_thread/thread/665b99fdc970bee3
http://article.gmane.org/gmane.comp.security.oss.general/1581

Comment 11 errata-xmlrpc 2009-06-03 15:37:08 UTC
This issue has been addressed in following products:

  MRG for RHEL-5

Via RHSA-2009:1081 https://rhn.redhat.com/errata/RHSA-2009-1081.html

Comment 12 errata-xmlrpc 2009-06-16 22:34:37 UTC
This issue has been addressed in following products:

  Red Hat Enterprise Linux 5

Via RHSA-2009:1106 https://rhn.redhat.com/errata/RHSA-2009-1106.html

Comment 13 errata-xmlrpc 2009-06-30 08:06:28 UTC
This issue has been addressed in following products:

  Red Hat Enterprise Linux 4

Via RHSA-2009:1132 https://rhn.redhat.com/errata/RHSA-2009-1132.html