Skip to content
OpenAdvisories
High · 8.1 Scanner template Public exploit CVE-2018-1335 EUVD-2018-0566GHSA-9r24-gp44-h3pm

Command injection in org.apache.tika:tika-core

Published Apr 25, 2018 · Updated Sep 17, 2024 · Assigned by apache

Description

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.

Affected products

VendorProductAffectedFixed
Apache Software Foundation Apache Tika 1.7 to 1.17 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 11 tika 1.18-1 —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 tika No fix yet —
Ubuntu 25.10 tika No fix yet —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

Metasploit 1 module

Exploit-DB 2

GitHub 5 repositories

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Automated scanner template

A ready-made Nuclei template detects this vulnerability automatically. Vulnerabilities with public scanner templates are typically probed across the internet soon after the template appears — exposed systems should be patched first.

Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.apache.tika:tika-core >= 1.7, < 1.18 1.18 GHSA-9r24-gp44-h3pm

References