Bug 454388 - (CVE-2008-2931) CVE-2008-2931 kernel: missing check before setting mount propagation
CVE-2008-2931 kernel: missing check before setting mount propagation
Status: CLOSED ERRATA
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
high Severity high
: ---
: ---
Assigned To: Red Hat Product Security
public=20070508,reported=20070509,sou...
: Security
Depends On: 454389 454390 454391 454392 454393
Blocks:
  Show dependency treegraph
 
Reported: 2008-07-08 02:32 EDT by Eugene Teo (Security Response)
Modified: 2010-12-21 12:20 EST (History)
5 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2010-12-21 12:20:50 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
Proposed backported patch for RHEL-5.3 (742 bytes, patch)
2008-07-10 03:20 EDT, Eugene Teo (Security Response)
no flags Details | Diff

  None (edit)
Description Eugene Teo (Security Response) 2008-07-08 02:32:00 EDT
The do_change_type routine has a missing check for capable(CAP_SYS_ADMIN). Even
though the mount command restricts the changing of mountpoint type to only root
users, it is possible for local unprivileged users to bypass and abuse this.
Comment 1 Eugene Teo (Security Response) 2008-07-08 02:37:14 EDT
Created attachment 311232 [details]
Upstream patch for this issue
Comment 6 Eugene Teo (Security Response) 2008-07-08 05:59:48 EDT
It is possible for a normal user to mark a mount unbindable which cannot be
rebounded, and deny the administrator from bind mounting it to somewhere else.
It is also possible for a normal user to mark a private mount shared silently,
such that if the administrator decides to bind mount it, it will become a
sharable mount, even though the administrator may not intend it to be sharable.
Comment 7 Eugene Teo (Security Response) 2008-07-10 03:20:04 EDT
Created attachment 311453 [details]
Proposed backported patch for RHEL-5.3
Comment 10 Vincent Danen 2010-12-21 12:20:50 EST
This was addressed via:

Red Hat Enterprise Linux version 5 (RHSA-2008:0885)

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