Files
CVEs-PoC/2015/CVE-2015-8325.md
T
2025-09-29 21:09:30 +02:00

27 lines
1.2 KiB
Markdown

### [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%20&color=brightgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=n%2Fa&color=brightgreen)
### 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
- https://cert-portal.siemens.com/productcert/pdf/ssa-412672.pdf
#### Github
- https://github.com/Live-Hack-CVE/CVE-2015-8325
- https://github.com/Maribel0370/Nebula-io
- https://github.com/NeoOniX/5ATTACK
- https://github.com/austinhawthorne/net-scan
- https://github.com/bioly230/THM_Skynet
- https://github.com/lekctut/sdb-hw-13-01
- https://github.com/pedr0alencar/vlab-metasploitable2
- https://github.com/retr0-13/cveScannerV2
- https://github.com/scmanjarrez/CVEScannerV2
- https://github.com/vshaliii/Basic-Pentesting-2-Vulnhub-Walkthrough