CVE-2018-1335
highpriority · attend · 75EPSS 0.936 · 100 %ileexploit · weaponizedEUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
weaknesses
The CWE weakness classes this flaw belongs to.
exploits (8)
Public proof-of-concept and weaponised exploit code.
- exploit/windows/http/apache_tika_jp2_jscriptApache Tika Header Command Injectionweaponized · metasploit
- EDB-46540Apache Tika-server < 1.18 - Command Injectionfunctional · exploit_db
- EDB-47208Apache Tika 1.15 - 1.17 - Header Command Injection (Metasploit)functional · exploit_db
- DigitalNinja00/CVE-2018-1335DigitalNinja00/CVE-2018-1335PoC · poc_in_github
- N0b1e6/CVE-2018-1335-Python3N0b1e6/CVE-2018-1335-Python3PoC · poc_in_github
- SkyBlueEternal/CVE-2018-1335-EXP-GUIGUI版 EXPPoC · poc_in_github
affected products (3)
Products and version ranges known to be affected.
advisories (1)
Vendor and ecosystem advisories describing this.
- GHSA-9r24-gp44-h3pmCommand injection in org.apache.tika:tika-core2018-10-17ghsa · osvUS
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.
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (21)
External citations — patches, advisories, analysis.
- http://www.securityfocus.com/bid/104001cnnvd
- https://access.redhat.com/errata/RHSA-2019:3140cnnvd
- https://lists.apache.org/thread.html/b3ed4432380af767effd4c6f27665cc7b2686acccbefeb9f55851dca@%3Cdev.tika.apache.org%3Ecnnvd
- https://packetstormsecurity.com/files/152076/Apache-Tika-Server-Command-Injection.htmlcnnvd
- https://packetstormsecurity.com/files/153864/Apache-Tika-1.17-Header-Command-Injection.htmlcnnvd
- https://packetstormsecurity.com/files/154906/Red-Hat-Security-Advisory-2019-3140-01.htmlcnnvd
- https://www.auscert.org.au/bulletins/ESB-2019.3899/cnnvd
- https://www.exploit-db.com/exploits/46540cnnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan