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

Goal: 1000 CNY · Raised: 1110 CNY

100%

CVE-2017-16997 PoC — GNU C Library 代码问题漏洞

Source
Associated Vulnerability
Title:GNU C Library 代码问题漏洞 (CVE-2017-16997)
Description:elf/dl-load.c in the GNU C Library (aka glibc or libc6) 2.19 through 2.26 mishandles RPATH and RUNPATH containing $ORIGIN for a privileged (setuid or AT_SECURE) program, which allows local users to gain privileges via a Trojan horse library in the current working directory, related to the fillin_rpath and decompose_rpath functions. This is associated with misinterpretion of an empty RPATH/RUNPATH token as the "./" directory. NOTE: this configuration of RPATH/RUNPATH for a privileged program is apparently very uncommon; most likely, no such program is shipped with any common Linux distribution.
Description
A proof-of-concept for CVE-2017-16997
File Snapshot

[4.0K] /data/pocs/730efdf854211df70960e8c803c54b72e2fe959e ├── [1.4K] CVE-2017-16997.sh ├── [ 386] Makefile ├── [ 182] README.rst └── [4.0K] src ├── [ 49] foo_bad.c ├── [ 50] foo_good.c ├── [ 50] foo.h └── [ 316] test.c 1 directory, 7 files
Shenlong Bot has cached this for you
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 →