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

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

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

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

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

श्रेणियाँ

सभी श्रेणियाँ देखें
Loading categories
उपकरण/GitHubGitHub/jonathan1010/cve-2013-1965
Vulnerability ScannersWeb Vulnerability ScannersVulnerability AnalysisExploitationWeb Application ExploitationPenetration Testing
GitHubjonathan1010/cve-2013-1965

CVE-2013-1965

Scanner and proof-of-concept exploit for CVE-2013-1965 (Apache Struts2 S2-012 OGNL injection), with single-request detection and CSV/JSON reporting.

रिपॉजिटरी देखें
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-2013-1965

Apache Struts2 S2-012 - OGNL injection in the redirect result of the Showcase app

Metadata

fieldvalue
CVECVE-2013-1965
severitycritical
CVSS9.3 (CVSS:2.0 AV:N/AC:M/Au:N/C:C/I:C/A:C, NVD primary)
fixed inStruts 2.3.14.3 (2.3.x line; 2.3.14.1 already carries the OgnlUtil fix)
classOGNL / expression-language injection leading to RCE (CWE-94)
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/CT5RSF

Summary

The Apache Struts 2 Showcase application (2.0.0 through 2.3.13) evaluates the text of a redirect result through OgnlUtil, and the value of each request parameter is spliced into that text before evaluation. A request parameter whose value is itself a %{...} OGNL expression is therefore compiled and executed by the OGNL engine while the redirect location is being built, giving unauthenticated remote code execution. The nuclei template (http/cves/2013/CVE-2013-1965.yaml, max-request: 1) proves execution with a single POST to /user.action whose name parameter carries the classic chained OGNL payload that prints /etc/passwd.

Full description

In the showcase configuration the user action ends with a result such as

<result type="redirect">edit.action?skillName=${currentSkill.name}</result>

With parse="true" the whole location text is handed to OgnlUtil.getValue, and the parameter values that were pushed onto the value stack (name here) are substituted into it. Because the raw parameter value is part of the string that OGNL then compiles, an attacker controls the expression itself, not just a literal. The canonical S2-012 payload re-enables static method access (#_memberAccess['allowStaticMethodAccess']=true, #context['xwork.MethodAccessor.denyMethodExecution']=false), builds a java.lang.ProcessBuilder for cat /etc/passwd, reads its stream into a char array, and writes the result to the response obtained from #context.get("com.opensymphony.xwork2.dispatcher.HttpServletResponse"). The in-band oracle is the passwd listing itself: the template asserts the regex root:.*:0:0: is present in a 200 body. NVD records the issue as CWE-94 with CVSS2 base score 9.3, published 2013-07-10; the CPE ranges are Struts 2.0.0 (exclusive end 2.3.14.1) and struts2-showcase 2.0.0 through 2.3.13. The vendor bulletin states the fixed release is 2.3.14.3 and that the root cause is that OgnlUtil used to allow full eval expressions; the fix denies eval expressions by default.

Detection model

  • Single-request black-box check mirroring the template; the template request budget (metadata.max-request: 1) is the authoritative verdict.
  • Probe request: POST {base}/user.action with header Content-Type: application/x-www-form-urlencoded and the URL-encoded body name=%{...} of the template, verbatim.
  • Matchers (AND, per the template DSL): status_code == 200 and the regular expression root:.*:0:0: found in the body (re.S so the dot spans the line-broken passwd listing).
  • A second non-injected GET {base}/user.action is recorded as context (baseline_status, baseline_snippet) but is not part of the verdict, which keeps the template's single-request semantics.
  • Fragment comparison for the baseline is informational only; the regex matcher is case-sensitive, exactly as the template's regex type.
  • check(url) returns (True, details) only when both template matchers hold; every helper retries (2 attempts, linear backoff) and HTTPError bodies are read, because the 200 body carries the oracle.
  • Scheme-less hosts in urls.txt (tagger output such as host:8080/path) are auto-prefixed with http://; a 12-char md5 token fingerprints the per-row details.

Usage

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

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

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

Example scanner output

[*] Apache Struts2 S2-012 scanner (CVE-2013-1965 / OGNL injection via redirect result)
 scanner : CVE-2013-1965 v1.0.0
 threads : 8 | csv: CVE-2013-1965.csv | json: CVE-2013-1965.json
[*] Apache Struts2 S2-012 scanner (CVE-2013-1965 / OGNL injection via redirect result)
[2026-12-03 10:00:01] loaded 2 target(s) from urls.txt
[2026-12-03 10:00:02] [1/2] http://localhost:8080 -> VULNERABLE
[2026-12-03 10:00:02] [2/2] http://localhost:8081 -> not-vuln
[2026-12-03 10:00:02] summary: total=2 vulnerable=1 not-vuln=1 errors=0
[2026-12-03 10:00:02] timing : avg=182ms max=210ms wall=0.42s
[2026-12-03 10:00:02] report saved: CVE-2013-1965.csv

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-2013-1965/exploit.py - two-request POC.

Exit codes

codemeaning
0at least one target answered
2every target errored

References

  • Nuclei template: http/cves/2013/CVE-2013-1965.yaml
  • NVD: https://nvd.nist.gov/vuln/detail/CVE-2013-1965
  • Vendor bulletin: http://struts.apache.org/development/2.x/docs/s2-012.html
टूल डाउनलोड करें