[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: [netbsd-5-1] src/dist/openpam/lib
Module Name: src
Committed By: bouyer
Date: Sat Nov 19 13:59:30 UTC 2011
src/dist/openpam/lib [netbsd-5-1]: openpam_configure.c
Pull up following revision(s) (requested by drochner in ticket #1696):
dist/openpam/lib/openpam_configure.c: revision 1.6
Don't allow '/' characters in the "service" argument to pam_start()
The "service" is blindly appended to config directories ("/etc/pam.d/"),
and if a user can control the "service" it can get PAM to read config
files from any location.
This is not a problem with most software because the "service" is
usually a constant string. The check protects 3rd party software
from being abused.
To generate a diff of this commit:
cvs rdiff -u -r1.5 -r18.104.22.168 src/dist/openpam/lib/openpam_configure.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Main Index |
Thread Index |