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-2016-3088 — Threaded scanner and two-stage PoC for CVE-2016-3088 in Apache ActiveMQ Fileserver, detecting arbitrary file write via PUT/GET matchers and chaining MOVE to JSP RCE. | Kitploit
Tools/GitHubGitHub/jonathan1010/cve-2016-3088
Vulnerability ScannersWeb Vulnerability ScannersExploitationWeb Application ExploitationPenetration TestingRemote Access ToolPayload Development
GitHubjonathan1010/cve-2016-3088

CVE-2016-3088

Threaded scanner and two-stage PoC for CVE-2016-3088 in Apache ActiveMQ Fileserver, detecting arbitrary file write via PUT/GET matchers and chaining MOVE to JSP RCE.

View Repository
Dec 4, 2026Not yet reviewed

Related Tools

  • nuclei

    Fast YAML-based vulnerability scanner with template-driven detection engine for automated security testing across web apps, APIs, networks, DNS, and cloud infrastructure.

  • zaproxy

    Open-source web application security scanner for automated vulnerability detection, manual penetration testing, and API security testing with a proxy-based interception engine.

  • openvas-scanner

    This repository contains the scanner component for Greenbone Community Edition.

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 →
Share

CVE-2016-3088

Apache ActiveMQ Fileserver - Arbitrary File Write

Metadata

fieldvalue
CVECVE-2016-3088
severitycritical
CVSS9.8 (CVSS:3.0 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H, EPSS 0.98518)
fixed inApache ActiveMQ 5.14.0
classarbitrary file write via PUT + MOVE on the Fileserver web app (CWE-20), CISA KEV listed
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/CT5RXR

Summary

The Apache ActiveMQ 5.x web console (default port 8161) exposes a Fileserver application backed by an embedded jetty handler set. In 5.x before 5.14.0 the handler implements PUT (store the request body under the webapps root, answer 204 No Content) and MOVE (copy via the Destination header, answer 204). The nuclei template scores the observable with two requests: PUT /fileserver/<name>.txt with an 8-digit numeric body must answer status_code_1==204, then GET /fileserver/<name>.txt must answer status_code_2==200 with a body containing that same value (contains(body_2, rand1), condition: and). All three dsl matchers holding means the writable file server is live, i.e. vulnerable. Because MOVE copies the file into the /api context (and a .jsp body is executed by the JSP servlet), the chain yields remote code execution.

Full description

Apache ActiveMQ 5.x before 5.14.0 allows remote attackers to upload and execute arbitrary files via an HTTP PUT followed by an HTTP MOVE request via the Fileserver web application. The classic chain: PUT a JSP one-liner (or a marker value) to /fileserver/test.txt (204), MOVE it with Destination: <base>/api/test.jsp into the executed context, then GET the copied path and the server-side interpreter runs the injected body. No authentication is required on the default install. Remediation is to upgrade to ActiveMQ 5.14.0 or later, where the file server handler set was reworked (assembly jetty.xml moves the static contexts to explicit ResourceHandler beans and the put/move handlers are constrained). NVD keeps the record critical at 9.8 and the entry is in the CISA KEV catalog.

Detection model

  • Two requests per target, matching the template max-request: 2: PUT /fileserver/test.txt with body rand1 (integer in 11111111..99999999), then GET /fileserver/test.txt on the same host; redirects are not followed and the direct answers are scored.
  • Matcher 1: the PUT reply status must be 204 (status_code_1==204).
  • Matcher 2: the GET reply status must be 200 (status_code_2==200).
  • Matcher 3: the GET reply body must contain the rand1 value (contains(body_2, rand1)).
  • condition: and - check() returns True only when all three hold; any missing element yields False, never a partial pass.
  • A target that never answers is scored error, not not-vuln.
  • Rows are streamed to the CSV as each worker finishes (flush + fsync per row); the --json sidecar mirrors the same rows for tooling.

Usage

Scanner:

python scanner/CVE-2016-3088/scanner.py urls.txt [threads] [out.csv] [--json out.json]

urls.txt takes one target per line (# comments skipped, scheme auto-prepended when missing), e.g. broker.local:8161 or http://broker.local:8161.

python exploit/CVE-2016-3088/exploit.py http://broker.local:8161 [--csv out.csv] [--json out.json] [--verbose]

It replays the template chain (PUT /fileserver/test.txt body PWNED-CVE-2016-3088, GET /fileserver/test.txt), then the MOVE follow-up (Destination: <base>/api/test.txt, GET /api/test.txt), prints numbered checks 1 to 5, the result dict (stage1 = PUT answer, stage2 = GET/MOVE answers, token = md5 over the probe value), and the final verdict line.

Example scanner output

RCE POC SUITE
 scanner : CVE-2016-3088 v1.0.0 (Apache ActiveMQ Fileserver, fixed in 5.14.0)
 endpoint: PUT /fileserver/<name>.txt then GET /fileserver/<name>.txt (web console, default port 8161)
 matchers: status_code_1==204 AND status_code_2==200 AND contains(body_2, rand1) (and)
 threads : 2 | csv: scan3088.csv | json: scan3088.json
[2026-12-03 16:23:58] loaded 1 target(s) from urls3088.txt
[2026-12-03 16:23:58] summary total=1 answered=1 vulnerable=1 errors=0
[2026-12-03 16:23:58] timing wall=3ms avg=1ms max=1ms
[2026-12-03 16:23:58] wrote scan3088.csv (1 row(s)) and scan3088.json

Scanner report columns

columnmeaning
n1-based row number
urltarget as provided (scheme auto-prepended if missing)
statusok if the HTTP layer answered, error otherwise
vulnerableTrue/False verdict from check() (all three dsl matchers)
elapsed_msper-target timing
token12-char md5 over `url
result_b64base64(JSON) full details (per-matcher evidence, observed statuses, probe value)

Files

  • scanner/CVE-2016-3088/scanner.py - threaded black-box scanner.
  • scanner/CVE-2016-3088/README.md - this document.
  • scanner/CVE-2016-3088/DESCRIPTION.md - architecture and probe plan.
  • exploit/CVE-2016-3088/exploit.py - two-stage POC (PUT store + GET read-back, MOVE copy into /api).

Exit codes

  • 0 - completed and at least one target scored vulnerable.
  • 2 - completed with no vulnerable target (or no targets loaded).

References

  • nuclei template: http/cves/2016/CVE-2016-3088.yaml
  • NVD: https://nvd.nist.gov/vuln/detail/CVE-2016-3088
  • Exploit-DB 40857: https://www.exploit-db.com/exploits/40857
  • Apache advisory: http://activemq.apache.org/security-advisories.data/CVE-2016-3088-announcement.txt
  • Red Hat RHSA-2016-2036: http://rhn.redhat.com/errata/RHSA-2016-2036.html
Download Tool