patchminder
Weaponized · Metasploit CVE-2018-1335

Vulnerabilityin Apache Tika.

Published 25 Apr 2018 · Updated 17 Sep 2024 · Every fact sourced

JSONCite
Is it exploited?
Not confirmed

Weaponized: a Metasploit exploit is public.

Attack code is public
Severity
High 8.1
CVSSA severity score from 0 to 10. 9 and higher is critical. 3.0 · no login needed
Attack likelihood
Very high
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 93.6% chance in 30 days · 4 Dec 2026
Fix
Available
Upgrade to 1.18 or later
In plain words

From Apache Tika versions 1.7 to 1.17, clients could send carefully crafted headers to tika-server that could be used to inject commands into the command line of the server running tika-server. This vulnerability only affects those running tika-server on a server that is open to untrusted clients. The mitigation is to upgrade to Tika 1.18.

What to do now
  • Upgrade org.apache.tika:tika-core (Maven) to 1.18 or later.
Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
Apache Tika
1.7 to 1.17
Not confirmed
CVE record
org.apache.tika:tika-core (Maven)
1.7 to before 1.18
1.18
GitHub advisory

From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.

Timeline

From first report to first attacks

  1. 7 Dec 2017
    CVE ID reserved by apache.
  2. 25 Apr 2018
    Published in the CVE List.
  3. 25 Apr 2018
    Metasploit module: Apache Tika Header Command Injection.
  4. 20 Mar 2019
    First public proof of concept on GitHub.
  5. 17 Sep 2024
    CVE record last updated.
Exploit code

Attack code anyone can find

Exploit maturity: Weaponized (Metasploit).

Metasploit module
1 module
Nuclei scan template
Available
Exploit-DB
2 entries
GitHub proof of concepts
5 repositories
MetasploitApache Tika Header Command Injectionrank excellent
Exploit-DBEDB-ID 47208remote exploit for windows, published 5 Aug 2019, verified by Exploit-DB
Exploit-DBEDB-ID 46540remote exploit for windows, published 13 Mar 2019, verified by Exploit-DB
GitHubno warning signs foundSkyBlueEternal/CVE-2018-1335-EXP-GUI14 stars · created 20 Mar 2019GUI版 EXP
GitHubno warning signs foundcanumay/cve-2018-13351 stars · created 18 Jan 2021CENG 325 · Principles of Information Security And Privacy
GitHubno warning signs foundN0b1e6/CVE-2018-1335-Python30 stars · created 11 Feb 2020
GitHubno warning signs foundsiramk/CVE-2018-13350 stars · created 26 Mar 2021
GitHubno warning signs foundDigitalNinja00/CVE-2018-13350 stars · created 6 Jun 2024
Referencewww.exploit-db.comnamed as exploit in the CVE record

Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.

Related

Other Tika vulnerabilities

References
Cite this page

Patchminder. CVE-2018-1335: Vulnerability in Apache Tika. https://patchminder.com/cve/cve-2018-1335/ (accessed 5 December 2026).