Associated Vulnerability
Title:Glibc: buffer overflow in ld.so leading to privilege escalation (CVE-2023-4911)Description:A buffer overflow was discovered in the GNU C Library's dynamic loader ld.so while processing the GLIBC_TUNABLES environment variable. This issue could allow a local attacker to use maliciously crafted GLIBC_TUNABLES environment variables when launching binaries with SUID permission to execute code with elevated privileges.
Description
Exploit tool for CVE-2023-4911, targeting the 'Looney Tunables' glibc vulnerability in various Linux distributions.
Readme
# LooneyPwner
Exploit tool for CVE-2023-4911, targeting the 'Looney Tunables' glibc vulnerability in various Linux distributions.
LooneyPwner is a proof-of-concept (PoC) exploit tool targeting the critical buffer overflow vulnerability, nicknamed "Looney Tunables," found in the GNU C Library (glibc). This flaw, officially tracked as CVE-2023-4911, is present in various Linux distributions, posing significant risks, including unauthorized data access and system alterations.
# Vulnerability Background
The vulnerability in the GNU C Library (glibc) was disclosed last week, with notable security researchers and analysts releasing PoC exploits, indicating the potential for widespread attacks. The flaw, discovered by Qualys researchers, can grant attackers root privileges on various Linux distributions including Fedora, Ubuntu, and Debian.
Unauthorized root access provides attackers unrestricted authority, enabling them to:
* Modify, delete, or steal sensitive data.
* Install malicious software or backdoors.
* Facilitate ongoing attacks that may remain undetected for extended periods.
* Cause data breaches, accessing customer data, intellectual property, and financial records.
* Disrupt critical system operations, potentially causing service outages and harming an organization's reputation.
# Tool Capabilities
LooneyPwner exploits the "Looney Tunables" flaw, targeting affected glibc versions. The tool:
* Detects the installed glibc version.
* Checks for vulnerability status.
* Offers an option for exploitation if vulnerable.
# Usage
```bash
chmod +x looneypwner.sh
./looneypwner.sh
```

# Disclaimer
This tool is intended for educational purposes and security research only. The user assumes all responsibility for any damages or misuse resulting from its use.
# Credits
This exploit code is based on the work of [leesh3288](https://github.com/leesh3288/CVE-2023-4911). A big thanks to him for the foundational work on the exploit.
File Snapshot
[4.0K] /data/pocs/08a97c1359497432f777262fcdb900e3d363a680
├── [ 34K] LICENSE
├── [7.1K] looneypwner.sh
└── [2.1K] README.md
0 directories, 3 files
Remarks
1. It is advised to access via the original source first.
2. Local POC snapshots are reserved for subscribers — if the original source is unavailable, the local mirror is part of the paid plan.
3. Mirroring, verifying, and maintaining this POC archive takes ongoing effort, so local snapshots are a paid feature. Your subscription keeps the archive online — thank you for the support. View subscription plans →