CVE-2018-1335 is an OS command-injection vulnerability in Apache Tika Server versions 1.7 through 1.17. Tika Server incorporates attacker-controlled, carefully crafted HTTP header values into a server-side command line without adequate neutralization, allowing injection of additional operating-system commands.
Mallory correlates every CVE against your assets, your vendors, and active adversary campaigns. Know which vulnerabilities matter for you, not just which ones are loud.
What it means. What to do now. Patch path, mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
If you can’t patch tonight, do this now.
Patch, then assume compromise.
2 valid exploits after Mallory filtered fakes, detection scripts, and README-only repos (1 hidden).
This repository contains a single Metasploit module targeting a command injection vulnerability (CVE-2018-1335) in Apache Tika versions 1.15 to 1.17 running on Windows. The exploit abuses the OCR functionality by sending a specially crafted HTTP PUT request with a JP2 image and malicious headers to the /meta endpoint. This allows the attacker to execute arbitrary JScript code via cscript.exe, ultimately enabling remote code execution as the user running the Tika service. The module uses Metasploit's CmdStager to deliver staged payloads, typically resulting in a reverse shell. The exploit is operational and requires the target to be accessible over the network, with the Tika server running and OCR enabled. The only file present is a Ruby script implementing the exploit logic as a Metasploit module.
This repository contains a proof-of-concept exploit for CVE-2018-1335, a command injection vulnerability in Apache Tika-server versions 1.7 to 1.17. The exploit is implemented in Python (exploit.py) and targets the /meta HTTP endpoint of a vulnerable Tika-server instance. The exploit works by sending a specially crafted PUT request with malicious HTTP headers (X-Tika-OCRTesseractPath and X-Tika-OCRLanguage) and a JScript payload in the body. This allows the attacker to execute arbitrary commands on the target Windows server, as demonstrated by launching calc.exe. The README provides a detailed explanation of the vulnerability, exploitation steps, and references to official advisories and research articles. The exploit requires network access to the Tika-server and is effective on Windows platforms where cscript.exe is available. No hardcoded IPs or domains are present; the target is specified via command-line arguments.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
Vendor-confirmed product mapping. Mallory continuously reconciles this list against your asset inventory.
2 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.
A command-injection vulnerability in Apache Tika Server allowing remote arbitrary command execution through crafted headers.
A command injection vulnerability in Apache Tika allowing remote code execution.
Query your assets running an affected version, and investigate the blast radius.
Every observed campaign linking this CVE to a named adversary.
Malware families riding this exploit, with evidence and IOCs.
YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Cross-references every affected SKU, including bundled OEM variants.
Community discussion across Reddit, Mastodon, and other social sources.