.. / CVE-2018-1335

Exploit for Apache Tika <1.1.8- Header Command Injection (CVE-2018-1335)

Description:

Apache Tika versions 1.7 to 1.17 allow clients to 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.

Nuclei Template

View the template here CVE-2018-1335.yaml

Validate with Nuclei

echo "$URL" | nuclei -t ~/nuclei-templates/http/cves/2018/CVE-2018-1335.yaml
Copy

References:

https://www.exploit-db.com/exploits/47208
https://rhinosecuritylabs.com/application-security/exploiting-cve-2018-1335-apache-tika/
http://packetstormsecurity.com/files/153864/Apache-Tika-1.17-Header-Command-Injection.html
https://nvd.nist.gov/vuln/detail/CVE-2018-1335
https://lists.apache.org/thread.html/b3ed4432380af767effd4c6f27665cc7b2686acccbefeb9f55851dca@%3Cdev.tika.apache.org%3E