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.
Gravity: 1/4
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
Identifier: VIGILANCE-VUL-8095
IMPACTED PRODUCTS
Unix - plateform
DESCRIPTION
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.
CHARACTERISTICS
Identifiers: BID-31041, VIGILANCE-VUL-8095
Url: https://vigilance.aql.fr/tree/1/8095
Tweeter