### [CVE-2015-8325](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-8325) ![](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 The do_setup_env function in session.c in sshd in OpenSSH through 7.2p2, when the UseLogin feature is enabled and PAM is configured to read .pam_environment files in user home directories, allows local users to gain privileges by triggering a crafted environment for the /bin/login program, as demonstrated by an LD_PRELOAD environment variable. ### POC #### Reference No PoCs from references. #### Github - https://github.com/Live-Hack-CVE/CVE-2015-8325 - https://github.com/bioly230/THM_Skynet - https://github.com/retr0-13/cveScannerV2 - https://github.com/scmanjarrez/CVEScannerV2 - https://github.com/vshaliii/Basic-Pentesting-2-Vulnhub-Walkthrough