Skip to content
KitploitKITPLOIT
उपकरणएक्सप्लॉइटब्लॉग
Log in
जमा करें
उपकरणएक्सप्लॉइटब्लॉग
जमा करें

हैकिंग, पेनटेस्ट और साइबर सुरक्षा उपकरण आपके सुरक्षा शस्त्रागार के लिए!

Kitploit हैकिंग, साइबर सुरक्षा और पेंटेस्टिंग टूल्स की एक निर्देशिका है। कमजोरियों को खोजने, सिस्टम का विश्लेषण करने, परीक्षण को स्वचालित करने और अपनी सुरक्षा को मजबूत करने के लिए नवीनतम प्रोजेक्ट अपडेट खोजें।

फ़ीडसंपर्कगोपनीयता© 2026 Kitploit

टूल निर्देशिका

श्रेणियाँ

सभी श्रेणियाँ देखें
Loading categories
CVE-2014-6271 — Python scanner and proof-of-concept exploit for the GNU Bash ShellShock RCE (CVE-2014-6271), probing CGI endpoints with crafted headers to detect command execution. | Kitploit
उपकरण/GitHubGitHub/jonathan1010/cve-2014-6271
Vulnerability ScannersWeb Vulnerability ScannersExploitationWeb Application ExploitationInformation GatheringPenetration TestingRemote Access Tool
GitHubjonathan1010/cve-2014-6271

CVE-2014-6271

Python scanner and proof-of-concept exploit for the GNU Bash ShellShock RCE (CVE-2014-6271), probing CGI endpoints with crafted headers to detect command execution.

रिपॉजिटरी देखें
4 दिस॰ 2026अभी तक समीक्षित नहीं

संबंधित टूल

  • nuclei

    तेज़ YAML-आधारित भेद्यता स्कैनर, जिसमें वेब ऐप्स, एपीआई, नेटवर्क, DNS और क्लाउड इंफ्रास्ट्रक्चर में स्वचालित सुरक्षा परीक्षण के लिए टेम्पलेट-संचालित डिटेक्शन इंजन है।

  • zaproxy

    स्वचालित भेद्यता का पता लगाने, मैनुअल पेनिट्रेशन टेस्टिंग, और प्रॉक्सी-आधारित इंटरसेप्शन इंजन के साथ API सुरक्षा परीक्षण के लिए ओपन-सोर्स वेब एप्लिकेशन सुरक्षा स्कैनर।

  • openvas-scanner

    इस रिपॉजिटरी में Greenbone Community Edition के लिए स्कैनर घटक शामिल है।

सबसे लोकप्रिय

सभी देखें →

हमारे समुदाय द्वारा सबसे अधिक उपयोग किए जाने वाले उपकरण खोजें।

  • 1

    Callisto

    jetp1ane/callisto

    स्वचालित बाइनरी भेद्यता विश्लेषण उपकरण जो Ghidra के माध्यम से निष्पादन योग्य फ़ाइलों को डीकंपाइल करता है, Semgrep के साथ स्यूडो-सी कोड को स्कैन करता है, और गलत सकारात्मकता को कम करने के लिए GPT-3.5-Turbo का उपयोग करके निष्कर्षों को मान्य करता है।

    796
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    # घोस्टलॉक वन-टैप निष्पादन ऐप (CVE-2026-43499)

    735
  • 3

    IMSIcatcher

    28zaaky/imsicatcher

    IMSI Catcher प्लेटफ़ॉर्म जो SMS को इंटरसेप्ट करने, संदेश इंजेक्ट करने और मोबाइल उपकरणों को ट्रैक करने के लिए एक रोगी GSM सेल तैनात करता है

    721
  • 4

    opencti

    opencti-platform/opencti

    खुला साइबर खतरा बुद्धिमत्ता प्लेटफॉर्म

    535
  • 5

    ARTEX

    baarai/artex

    प्लानर/वर्कर एजेंट, एसेट और एक्सप्लोरेशन ग्राफ़, MITM ट्रैफ़िक रिकॉर्डिंग, और भेद्यता पुनःपरीक्षण के साथ LLM मल्टी-एजेंट स्वायत्त पेनेट्रेशन टेस्टिंग प्लेटफ़ॉर्म।

    424
  • 6

    DFRoot

    a2333c/dfroot

    Samsung Galaxy S25 Ultra (SM-S938B) के लिए Android रूट टूल जो बूट पर KernelSU के माध्यम से स्वचालित रूप से रूट प्राप्त करने के लिए DirtyFrag CVE-2026-43284 और CVE-2026-43499 को चेन करता है।

    419

सभी उपकरण खोजें

हमारे उपकरणों का संग्रह ब्राउज़ करें

सभी उपकरण देखें →
साझा करें
अनुरोधित भाषा में सामग्री उपलब्ध नहीं है। अंग्रेज़ी संस्करण दिखाया जा रहा है।

CVE-2014-6271

GNU Bash through 4.3 - ShellShock environment-parsing RCE

Metadata

fieldvalue
CVECVE-2014-6271
severitycritical
CVSS9.8 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H); NVD also carries CVSS v2 10.0 (AV:N/AC:L/Au:N/C:C/I:C/A:C)
fixed inGNU Bash 4.3 patch level 25 (bash43-025); follow-up levels 26 and 27 close the incomplete-fix sibling CVE-2014-7169
classremote code execution, environment-parser mishandling (CWE-78)
scanner version1.0.0
python3.8+ stdlib only, no third-party deps

Exploit

If you want the exploit, find it here: https://satoshidisk.com/pay/CT5RU6

Summary

Bash through 4.3 parses an exported environment value as a function definition and then keeps executing the text that follows the closing brace, so any server that copies a client-supplied value into the environment of a Bash child process runs attacker text as code. The nuclei template proves it with a single conjunction: the request must answer 200 and the body must match root:.*:0:0:, which is the first record of /etc/passwd printed by the injected echo/cat pair. The request budget is max-request: 8 because the template walks eight candidate CGI endpoints with stop-at-first-match: true.

Full 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". The original fix was incomplete; CVE-2014-7169 covers the behaviour that survived it.

Upstream, the fix is patch bash43-025 (reported by Stephane Chazelas): variables.c now imports an exported function only when the name is a legal identifier and calls parse_and_execute() with the new SEVAL_FUNCDEF|SEVAL_ONECMD flags, while builtins/evalstring.c ignores anything that is not a single cm_function_def node. That is exactly the observed pair of artefacts: one Content-Type: text/html line and one /etc/passwd dump, with no further commands evaluated. Patch bash43-026 (Tavis Ormandy, lookahead character in parse.y) and patch bash43-027 (Florian Weimer, new exported-function encoding) belong to the follow-up CVE-2014-7169. EPSS 0.99999 (0.99993 percentile), CISA KEV listed; the template also references the US-CERT alert TA14-268A, the CERT/CC note VU#252743, and the Mageia advisory MGASA-2014-0388.

Detection model

  • One logical probe per target: the template's path list is walked in template order and the walk stops at the first match, mirroring stop-at-first-match: true with max-request: 8.
  • Candidate paths, exactly as in the YAML: `` (base URL), /cgi-bin/status, /cgi-bin/stats, /cgi-bin/test, /cgi-bin/status/status.cgi, /test.cgi, /debug.cgi, /cgi-bin/test-cgi.
  • The three template headers are sent verbatim on every probe: Shellshock, Referer and Cookie, each carrying () { ignored; }; echo Content-Type: text/html; echo ; /bin/cat /etc/passwd including its trailing space, because the trailing string after the closing brace is what Bash executes.
  • Verdict is the AND of the two template matchers only: status == 200 and re.search("root:.*:0:0:", body); no extra heuristics.
  • fetch() returns (text, status, content_type, reason) and reads the body of HTTPError too, so a 404 from a CGI-less server is still recorded as an observed answer instead of being lost.
  • Every request retries (2 attempts, linear backoff 0.2s/0.4s) with a 30s timeout; bodies are decoded with errors="replace".
  • Scheme-less tagger hosts (host:8080/path) are auto-prefixed with http://; a 12-char md5 token fingerprints each row.

Usage

# scanner: streamed CSV + optional JSON sidecar
python scanner/CVE-2014-6271/scanner.py urls.txt 8 CVE-2014-6271.csv --json CVE-2014-6271.json

# exploit: result dict + optional CSV/JSON dumps
python exploit/CVE-2014-6271/exploit.py http://target:80 --csv CVE-2014-6271.csv --json CVE-2014-6271.json --verbose

urls.txt is a plain file, one target per line, # for comments.

Example scanner output

[*] GNU Bash ShellShock CVE-2014-6271 environment-parsing RCE scanner
 scanner : CVE-2014-6271 v1.0.0
 threads : 2 | csv: .scratch/pos.csv | json: .scratch/pos.json
[*] GNU Bash ShellShock CVE-2014-6271 environment-parsing RCE scanner
[2026-12-03 12:43:59] loaded 1 target(s) from .scratch/urls_pos.txt
[2026-12-03 12:43:59] [1/1] http://127.0.0.1:8123/passwd.txt -> VULNERABLE
[2026-12-03 12:43:59] json sidecar saved: .scratch/pos.json
[2026-12-03 12:43:59] summary: total=1 vulnerable=1 not-vuln=0 errors=0
[2026-12-03 12:43:59] timing : avg=7ms max=7ms wall=0.01s
[2026-12-03 12:43:59] report saved: .scratch/pos.csv

Against a CGI-enabled Apache the "" probe answers 200 on the first path and the walk stops after one request; a static python -m http.server answers with a directory listing that has no root:...:0:0: record, so every row stays not-vuln.

Scanner report columns

columnmeaning
n1-based row number
urltarget as provided
statusok / error
vulnerableverdict
elapsed_msper-target timing
token12-char md5 over the row details
result_b64base64(JSON) full details

Files

  • scanner.py - detection only, stdlib, streamed CSV + JSON sidecar.
  • README.md - this file.
  • DESCRIPTION.md - deeper technical notes.
  • ../../exploit/CVE-2014-6271/exploit.py - two-request POC.

Exit codes

codemeaning
0at least one target answered
2every target errored

References

  • Nuclei template: http/cves/2014/CVE-2014-6271.yaml
  • NVD: https://nvd.nist.gov/vuln/detail/CVE-2014-6271
  • Follow-up (incomplete fix): https://nvd.nist.gov/vuln/detail/CVE-2014-7169
  • CERT/CC VU#252743: http://www.kb.cert.org/vuls/id/252743
  • US-CERT TA14-268A: http://www.us-cert.gov/ncas/alerts/TA14-268A
  • Mageia MGASA-2014-0388: http://advisories.mageia.org/MGASA-2014-0388.html
  • Upstream patch: https://ftp.gnu.org/gnu/bash/bash-4.3-patches/bash43-025
टूल डाउनलोड करें