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

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2014-6271 PoC — GNU Bash 远程代码执行漏洞

Source
Associated Vulnerability
Title:GNU Bash 远程代码执行漏洞 (CVE-2014-6271)
Description:GNU Bash through 4.3 processes trailing strings after function definitions in the values of environment variables, which allows remote attackers to execute arbitrary code via a crafted environment, as demonstrated by vectors involving the ForceCommand feature in OpenSSH sshd, the mod_cgi and mod_cgid modules in the Apache HTTP Server, scripts executed by unspecified DHCP clients, and other situations in which setting the environment occurs across a privilege boundary from Bash execution, aka "ShellShock." NOTE: the original fix for this issue was incorrect; CVE-2014-7169 has been assigned to cover the vulnerability that is still present after the incorrect fix.
Description
Using google to scan sites for "ShellShock" (CVE-2014-6271)
Readme
Prerequisite
============

1. `sudo pip install shell`
2. install google python search.  https://github.com/MarioVilas/google

Run
===
I use google to search first 1000 sites and try to get the `/etc/passwd`
After tesing, there are many many many host that can be rooted!!!!
By the way, this is only a proto, it has false positives.

Output like this:
if second field is `!!!`, then You Can Get SHELL!

```
$ python shellshock.py
0 --- http://nomad3.ncep.noaa.gov/cgi-bin/pdisp_sst.sh
1 --- http://nomad5.ncep.noaa.gov/cgi-bin/pdisp_gfs.sh?ctlfile=gfs_00z.ctl&povlp=noovlp&ptype=map&dir
```

References
===========
http://vonnyfly.github.io/

https://www.invisiblethreat.ca/2014/09/cve-2014-6271/
File Snapshot

[4.0K] /data/pocs/5e1ad3143bdca326c0e108db61fdce8b08704f0f ├── [ 697] README.md └── [ 950] shellshock.py 0 directories, 2 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 →