### [CVE-2011-4122](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2011-4122) ![](https://img.shields.io/static/v1?label=Product&message=n%2Fa&color=blue) ![](https://img.shields.io/static/v1?label=Version&message=n%2Fa&color=blue) ![](https://img.shields.io/static/v1?label=Vulnerability&message=n%2Fa&color=brighgreen) ### Description 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. ### POC #### Reference - http://c-skills.blogspot.com/2011/11/openpam-trickery.html - http://stealth.openwall.net/xSports/pamslam #### Github - https://github.com/Snoopy-Sec/Localroot-ALL-CVE