Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 237093 (CVE-2008-3970) - sys-auth/pam_mount <0.47 Missing security checks on user-defined mounts (CVE-2008-3970)
Summary: sys-auth/pam_mount <0.47 Missing security checks on user-defined mounts (CVE-...
Status: RESOLVED FIXED
Alias: CVE-2008-3970
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: High trivial (vote)
Assignee: Gentoo Security
URL: http://sourceforge.net/mailarchive/fo...
Whiteboard: ~? [noglsa]
Keywords:
Depends on: 237092
Blocks:
  Show dependency tree
 
Reported: 2008-09-08 19:44 UTC by Rodrigo Severo
Modified: 2008-09-09 15:10 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Ebuild for pam_mount 0.47 (pam_mount-0.47.ebuild,942 bytes, text/plain)
2008-09-08 19:45 UTC, Rodrigo Severo
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rodrigo Severo 2008-09-08 19:44:19 UTC
There is a new pam_mount release: 0.47 at <http://downloads.sourceforge.net/pam-mount/pam_mount-0.47.tar.lzma?modtime=1220593408&big_mirror=0>.

This versions has a working sgrp parameter even when logining in through a ldap server.
Comment 1 Rodrigo Severo 2008-09-08 19:45:53 UTC
Created attachment 164952 [details]
Ebuild for pam_mount 0.47

This ebuild is a copy of pam_mount 0.43 with the dependency for libhx changed to "=sys-libs/libhx-1.23" as this seems to be the only compatible version of libhx.
Comment 2 Hanno Böck gentoo-dev 2008-09-08 23:44:27 UTC
ccing security, 0.47 has a security fix (cve requested). We have no stable pam_mount versions though, so maybe there isn't much more to do than bumping.
Comment 3 Robert Buchholz (RETIRED) gentoo-dev 2008-09-09 09:05:32 UTC
Would this allow for privilege escalation, or is the user-defined mount function only limited to, e.g. home ?

Patch:
http://dev.medozas.de/gitweb.cgi?p=pam_mount;a=commit;h=33b91d7659ae3aa78b1e94fd3f8e545ae5ff25db
Comment 4 Hanno Böck gentoo-dev 2008-09-09 09:12:40 UTC
Bump already done. Do we need to do anything else? (no glsa afaik for non-stable-keyworded packages)
Comment 5 Robert Buchholz (RETIRED) gentoo-dev 2008-09-09 10:57:47 UTC
(In reply to comment #4)
> Bump already done. Do we need to do anything else? (no glsa afaik for
> non-stable-keyworded packages)

That's true.

Still, what's the impact (comment #3)?
Comment 6 Rodrigo Severo 2008-09-09 13:39:33 UTC
(In reply to comment #5)
> (In reply to comment #4)
> Still, what's the impact (comment #3)?

As far as I know mounts that should happen as the user is attached to some group as a secondary group didn't happen at all so I wouldn't describe it as a security issue at all.

Maybe Robert has some other info.


Comment 7 Robert Buchholz (RETIRED) gentoo-dev 2008-09-09 15:10:23 UTC
CVE-2008-3970 has been assigned.