Directory traversal vulnerability in openpam_configure.c in OpenPAM before r478 on FreeBSD 8.1 allows local users to load arbitrary DSOs and gain privileges via a .. (dot dot) in the service_name argument to the pam_start function, as demonstrated by a .. in the -c option to kcheckpass.
The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.
Link | Tags |
---|---|
http://stealth.openwall.net/xSports/pamslam | |
http://secunia.com/advisories/46756 | third party advisory vendor advisory |
http://openwall.com/lists/oss-security/2011/12/07/3 | mailing list |
http://trac.des.no/openpam/changeset/478/trunk/lib/openpam_configure.c | |
https://exchange.xforce.ibmcloud.com/vulnerabilities/71205 | vdb entry |
http://osvdb.org/76945 | vdb entry |
http://c-skills.blogspot.com/2011/11/openpam-trickery.html | exploit |
http://openwall.com/lists/oss-security/2011/12/08/9 | mailing list |
http://secunia.com/advisories/46804 | third party advisory vendor advisory |