Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1310 CNY

100%

CVE-2015-7547 PoC — GNU C Library 缓冲区错误漏洞

Source
Associated Vulnerability
Title:GNU C Library 缓冲区错误漏洞 (CVE-2015-7547)
Description:Multiple stack-based buffer overflows in the (1) send_dg and (2) send_vc functions in the libresolv library in the GNU C Library (aka glibc or libc6) before 2.23 allow remote attackers to cause a denial of service (crash) or possibly execute arbitrary code via a crafted DNS response that triggers a call to the getaddrinfo function with the AF_UNSPEC or AF_INET6 address family, related to performing "dual A/AAAA DNS queries" and the libnss_dns.so.2 NSS module.
Description
test script for CVE-2015-7547
Readme
# CVE-2015-7547
### glibc vulnerability test script
This provides a shell script for testing the glibc vulnerability CVE-2015-7547. It's written for rpm based systems such as `Red Hat Enterprise Linux / RHEL / CentOS (5/6/7)`. Detection for other distributions may follow.

### Resolution
1. Run `bin/test-glibc.sh` to check if your system is vulnerable
1. Update the glibc packages
1. Reboot the system or restart all affected services
1. Run `bin/test-glibc.sh` again to verify

In case you are unable to restart the entire system after applying the update, execute the following command to list all running processes (not restricted to services) still using the old [in-memory] version of glibc on your system.
```
lsof +c0 -d DEL | awk 'NR==1 || /libc-/ {print $2,$1,$4,$NF}' | column -t
```

### Further information

**Google Security Blog:**

https://googleonlinesecurity.blogspot.be/2016/02/cve-2015-7547-glibc-getaddrinfo-stack.html

**Glibc Bug Report:**

https://sourceware.org/bugzilla/show_bug.cgi?id=18665

**Red Hat / CentOS:**

https://access.redhat.com/articles/2161461

https://access.redhat.com/security/cve/CVE-2015-7547

**Debian Squeeze, Wheezy, Jessy & Stretch:**

https://security-tracker.debian.org/tracker/CVE-2015-7547

**Ubuntu 12.04 & 14.04:**

http://people.canonical.com/~ubuntu-security/cve/2015/CVE-2015-7547.html

On Ubuntu 14.04 LTS make sure you get the following output
```
ldd --version | head -1
ldd (Ubuntu EGLIBC 2.19-0ubuntu6.7) 2.19
```
File Snapshot

Log in to view the POC file snapshot cached by Shenlong Bot

Log in to view
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 →