Vigil@nce: pam_mount, mounting without restrictions
September 2008 by Vigil@nce
A local attacker can use the pam_mount module to mount directories with no restriction.
Consequences: data reading, data creation/edition
Provenance: user shell
Means of attack: 1 attack
Ability of attacker: technician (2/4)
Confidence: confirmed by the editor (5/5)
Diffusion of the vulnerable configuration: medium (2/3)
Creation date: 08/09/2008
Unix - plateform
The pam_mount module (Pluggable Authentication Module) mounts a directory when user is authenticated.
The "luserconf" configuration directive indicates the filename ( /.pam_mount.conf.xml) containing directories that user wishes to mount. Normally, user should only be allowed to mount directories that he owns. However, the code doing this check was incorrectly suppressed.
A local attacker can therefore use his luserconf file to mount directories to which he can normally not access.
Identifiers: BID-31041, VIGILANCE-VUL-8095