Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

FeedsContactPrivacy© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
CVE-2015-7501 — Scanner and proof-of-concept exploit for CVE-2015-7501, the JBoss JMXInvokerServlet/EJBInvokerServlet insecure deserialization RCE via Apache Commons Collections gadget chains. | Kitploit
Tools/GitHubGitHub/jonathan1010/cve-2015-7501
ReconnaissanceVulnerability ScannersPayload GenerationExploitationWeb Application ExploitationPenetration TestingRemote Access Trojan
GitHub
Share
jonathan1010/cve-2015-7501

CVE-2015-7501

Scanner and proof-of-concept exploit for CVE-2015-7501, the JBoss JMXInvokerServlet/EJBInvokerServlet insecure deserialization RCE via Apache Commons Collections gadget chains.

View Repository
Dec 4, 2026Not yet reviewed

CVE-2015-7501

Red Hat JBoss - Insecure Deserialization (JMXInvokerServlet / EJBInvokerServlet) - Remote Code Execution

Metadata

fieldvalue
CVECVE-2015-7501
severitycritical
CVSS9.8 (template CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H; NVD primary 3.0 vector CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H)
fixed inRHSA-2015:2538 (JBoss EAP 6.4); EAP 7.x removes the affected invoker servlets; Apache Commons Collections 3.2.2 / 4.1+
classdeserialization RCE (NVD CWE-502), unsafe readObject on the /invoker/* HTTP invoker endpoints
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/CT5RVX

Summary

Red Hat JBoss Application Server (4.x, 5.x, 6.x) contains an insecure deserialization vulnerability in the JMXInvokerServlet and EJBInvokerServlet HTTP Invoker endpoints. These endpoints deserialize arbitrary Java objects from unauthenticated HTTP POST requests. An attacker can send a crafted Apache Commons Collections gadget chain to achieve remote code execution. CVE-2015-7501 is the original 2015 FoxGlove Security disclosure of the Java Commons Collections deserialization vulnerability class. The template issues a GET /jmx-console/ pre-match plus POST probes to the three invoker endpoints (stop-at-first-match, max-request: 7). NVD: EPSS 0.85562 (percentile 0.99723), published 2017-11-09 by [email protected].

Full description

The invoker servlets live under /invoker/ on the JBoss HTTP port (8080 by default) and speak raw Java serialization (application/x-java-serialized-object). The template is a flow: http(1) && http(2) pair:

  • Request 1 - GET {BaseURL}/jmx-console/; the internal DSL matcher requires any of the lowercased words jboss, jmx agent, jmx-console, j_security_check, jboss.system, jboss.deployment in the body (the JBoss management console page).
  • Request 2 - raw POST of the CommonsCollections3.1 gadget bytes (generate_java_gadget("commons-collections3.1", "nslookup {{interactsh-url}}", "raw"), clusterbombed over the payloads /invoker/JMXInvokerServlet, /invoker/EJBInvokerServlet, /invoker/readonly, stop-at-first-match: true) with Content-Type: application/x-java-serialized-object and Accept: application/x-java-serialized-object.
  • Final matchers (matchers-condition: and) - the interactsh protocol recorded a dns interaction, and the answer body contains classcastexception or jboss (case-insensitive).

The gadget is the classic chain HashMap -> TiedMapEntry -> LazyMap -> ChainedTransformer -> ConstantTransformer(Runtime) / InvokerTransformer(getRuntime, getMethod, invoke, exec); during readObject the InvokerTransformer chain calls Runtime.exec with the probe command. Patched deployments (EAP 6.4 via RHSA-2015:2538, EAP 7.x, or Commons Collections 3.2.2/4.1 with an object filter) answer the same shape but no longer run the gadget. NVD lists JBoss A-MQ 6.x, BPMS 6.x, BRMS 6.x/5.x, JDG 6.x, JDV 6.x/5.x, EAP 6.x/5.x/4.3.x, Fuse 6.x, FSW 6.x, JON 3.x, Portal 6.x, SOA-P 5.x, JWS 3.x, OpenShift/xPAAS 3.x and Subscription Asset Manager 1.3.

Detection model

  • At most 4 requests per target (1 console GET + up to 3 invoker POSTs, stop-at-first-match), inside the template max-request: 7.
  • Pre-match: GET /jmx-console/; verdict requires the DSL contains_any over the six template words (case-insensitive).
  • Probe: raw-bytes POST of the CC3.1 gadget to each endpoint in template order; the first endpoint answering HTTP 200 with a body containing classcastexception or jboss wins.
  • check(url) returns (True, details) only when the console pre-match and one invoker word match both hold; details keeps the per-word flags (pre1..pre6, per-endpoint word1/word2), the matched endpoint, a 200-char snippet and the extractor string jboss invoker fault: pre=N/6 matched=<ep> status=S.
  • The template's interactsh matcher is transcribed as the oast note (stdlib has no interactsh client; the gadget carries the probe command nslookup localhost).
  • A 12-char md5 token is computed over the JSON result so a merely reflected page is distinguishable from a real invoker answer.
  • Every request retries (2 attempts, linear backoff); scheme-less hosts in urls.txt are auto-prefixed with http://.

Usage

# scanner (GitHub side): streamed CSV + optional JSON sidecar
python scanner/CVE-2015-7501/scanner.py urls.txt 8 CVE-2015-7501.csv --json CVE-2015-7501.json

# exploit (satoshidisk side): result dict + optional CSV/JSON dumps
python exploit/CVE-2015-7501/exploit.py http://jboss-host:8080 --csv CVE-2015-7501.csv --json CVE-2015-7501.json --verbose

urls.txt is a plain file, one target per line, # for comments. Lines may omit the scheme (jboss-host:8080 works, http:// is prepended). The invoker endpoints and the console share the JBoss HTTP port (8080 by default, 9990 for the native JMX port which the template does not use).

Example scanner output

RCE POC SUITE
 scanner : CVE-2015-7501 v1.0.0
 threads : 4 | csv: CVE-2015-7501.csv | json: CVE-2015-7501.json
RCE POC SUITE
[..] loaded 2 target(s) from urls.txt
[..] [1/2] http://127.0.0.1:8090 -> VULNERABLE
[..] [2/2] http://127.0.0.1:8090 -> VULNERABLE
[..] json sidecar saved: CVE-2015-7501.json
[..] summary: total=2 vulnerable=2 not-vuln=0 errors=0
[..] timing : avg=7ms max=7ms wall=0.01s
[..] report saved: CVE-2015-7501.csv

Scanner report columns

columnmeaning
n1-based row number
urltarget as provided
statusok / error
vulnerableverdict
elapsed_msper-target timing
tokenmd5 proof-of-match (12 chars)
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-2015-7501/exploit.py - two-stage POC.

Exit codes

codemeaning
0at least one target answered
2every target errored (or no targets loaded)

The POC returns 0 when its token verification passes and 2 on verification failed.

References

  • Nuclei template: http/cves/2015/CVE-2015-7501.yaml
  • NVD: https://nvd.nist.gov/vuln/detail/CVE-2015-7501
  • Red Hat vulnerability page: https://access.redhat.com/security/vulnerabilities/986a8488-052e-46d1-8ede-c55cbfceb822
  • Foxglove advisory: https://foxglovesecurity.com/2015/11/06/what-do-weblogic-websphere-jboss-jenkins-opennms-and-your-application-have-in-common-this-vulnerability/
  • Shodan hint (template): http.html:"/jmx-console/" http.title:JBoss
Download Tool

Related Tools

  • amass

    In-depth attack surface mapping and asset discovery

  • subfinder

    Fast passive subdomain enumeration tool.

  • reconftw

    reconFTW is a tool designed to perform automated recon on a target domain by running the best set of tools to perform scanning and finding out vulnerabilities

Most Popular

View all →

Discover the most used tools by our community.

  • 1

    Callisto

    jetp1ane/callisto

    Automated binary vulnerability analysis tool that decompiles executables via Ghidra, scans pseudo-C code with Semgrep, and validates findings using GPT-3.5-Turbo to reduce false positives.

    796
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    One-tap Android kernel exploit app for CVE-2026-43499, providing privilege escalation via kernel module loading, with offset extraction and on-device analysis tools.

    735
  • 3

    IMSIcatcher

    28zaaky/imsicatcher

    IMSI Catcher platform that deploys a rogue GSM cell to intercept SMS, inject messages and track mobile devices

    721
  • 4

    opencti

    opencti-platform/opencti

    Open Cyber Threat Intelligence Platform

    535
  • 5

    ARTEX

    baarai/artex

    LLM multi-agent autonomous penetration testing platform with planner/worker agents, asset and exploration graphs, MITM traffic recording, and vulnerability retesting.

    424
  • 6

    DFRoot

    a2333c/dfroot

    Android root tool for Samsung Galaxy S25 Ultra (SM-S938B) that chains DirtyFrag CVE-2026-43284 and CVE-2026-43499 to gain root automatically at boot via KernelSU.

    419

Explore all tools

Browse our collection of tools

View all tools →