OS Command Injection in Apache Tika - CVE-2018-1335
Published: October 20, 2019 / Updated: June 17, 2021
Vulnerability details
The vulnerability allows a remote attacker to execute arbitrary shell commands on the target system.
The vulnerability exists due to incorrect processing of HTTP headers. A remote unauthenticated attacker can send specially crafted headers to the affected server and execute arbitrary OS commands on the target system.
Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.
Affected software
How to mitigate CVE-2018-1335
Links to Public Exploits and PoC-codes
- Exploit #6029 - Apache Tika-server < 1.18 - Command Injection (June 17, 2021)
- Exploit #6005 - Apache Tika 1.15 - 1.17 - Header Command Injection (Metasploit) (June 17, 2021)
- Exploit #2075 - CVEs (Proof-of-Concept exploits for CVEs found by the team at Rhino Security Labs) (March 18, 2020)
- Exploit #1527 - Apache Tika Header Command Injection (March 18, 2020)