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-2019-17558 — Apache Solr VelocityResponseWriter renders a user-provided template as code. Fixed in 8.3.1. Differential: directive executed on vuln, refused on fixed | Kitploit
Tools/GitHubGitHub/googlesky/cve-2019-17558
Vulnerability AnalysisExploitationWeb Application ExploitationSecurity VirtualizationPayload DevelopmentLabs & Practice
GitHubgooglesky/cve-2019-17558

CVE-2019-17558

Apache Solr VelocityResponseWriter renders a user-provided template as code. Fixed in 8.3.1. Differential: directive executed on vuln, refused on fixed

View Repository
Nov 26, 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-2019-17558 — Apache Solr Velocity template RCE

License: MIT Research status: validated

CVECVE-2019-17558
ComponentApache Solr — VelocityResponseWriter
Affected5.0.0 through 8.3.0
Fixed in8.3.1
CWECWE-94 (Code Injection)
ImpactA user-defined configset could contain a Velocity template with executable directives. The VelocityResponseWriter rendered it, allowing remote code execution.
Vectorcrafted Velocity template via configset or parameter
TriggerVelocity directive such as #set in the template

The vulnerable path:

# pre-fix (model from Apache Solr security bulletin)
attacker input accepted without the required protection

The derived guard:

# derived from observed behaviour, not copied from a vendor fix
if '#set(' in template or '@java' in template: reject

1. Root cause

User-supplied templates were rendered as code. The fix disables that path by default.

2. Reproduction environment

serviceimagerole
s58-vulncve-2019-17558:vulnvulnerable behaviour present
s58-guardcve-2019-17558:guardfixed behaviour
poccve-2019-17558-poc:localstdlib-only Python driver

Both sides are Python 3.12 images. The vulnerable behaviour is modelled from Apache Solr security bulletin; the guard is derived from the lab observation that the impact is reproduced. The fixed build applies the published upstream change.

3. Running the environment

./run-lab.sh build
./run-lab.sh up
./run-lab.sh sweep
./run-lab.sh down

The lab uses the isolated cve17558lab network and bounded containers.

4. The PoC

poc/poc.py takes a mode and an optional --host=...:

moderesult
checkexit 1 when the directive executes, 0 when the template is refused
exploitruns the full chain and reports the observed impact
probeprints the rce flag
mitigationexplains the derived guard

A standalone exploit ships at exploit/exploit.py:

python3 exploit/exploit.py --host=s58-vuln

It exits 1 on a confirmed finding and 0 on a guarded target.

5. Expected results

s58-vuln (pre-fix)s58-guard (derived)
crafted requestRCErefused
ordinary requestworksworks

Captured runs are in evidence/check-*-run.txt, evidence/exploit-*-run.txt, evidence/probe-*-run.txt, evidence/mitigation-*-run.txt, evidence/exploit-standalone-run.txt, evidence/exploit-standalone-fixed-run.txt, evidence/versions.txt and evidence/0day-sweep.txt.

6. Environment preconditions

Podman or Docker with the cve17558lab network. No production system is involved. Real-world exploitation needs an affected installation.

7. Additional findings (0-day sweep on the guarded build)

Ordinary requests still succeed on the fixed build.

8. Repository layout

README.md             this write-up
run-lab.sh            environment driver (build / up / sweep / down)
Makefile              convenience targets
poc/poc.py            the PoC (check / exploit / probe / mitigation)
exploit/exploit.py    standalone exploit
lab/harness-*.py      vulnerable behaviour / derived guard
lab/lab.Dockerfile    builds both sides
lab/service.py        HTTP wrapper (POST /check)
evidence/             captured runs on both sides
TRACKING.md           working record, excluded from the repo

9. References

  • CVE record — https://www.cve.org/CVERecord?id=CVE-2019-17558
  • Upstream advisory Apache Solr security bulletin — https://nvd.nist.gov/vuln/detail/CVE-2019-17558
Download Tool