---
cve: "CVE-2018-1335"
severity: "HIGH"
cvss: 8.1
epss: "93.8%"
vendor: "Apache Software Foundation"
kev: false
exploited: false
published: "2018-04-25 21:29:00"
tags: [cve, security, high]
source: tsecurity.de CVE-Dossier
exported: "2026-10-10T15:10:45+02:00"
---

# CVE-2018-1335

> 8.1 HIGH · 🧪 PoC

## Beschreibung

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-Vektor

```
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
```

| Metrik | Wert | Bewertung |
|---|---|---|
| AV Angriffsvektor | Netzwerk | bad |
| AC Komplexität | Hoch | good |
| PR Privilegien | Keine | bad |
| UI Interaktion | Keine | bad |
| S Scope | Unverändert | good |
| C Vertraulichkeit | Hoch | bad |
| I Integrität | Hoch | bad |
| A Verfügbarkeit | Hoch | bad |

## Exploit-Evidenz

- [EDB-47208 — Apache Tika 1.15 - 1.17 - Header Command Injection (Metasploit)](https://www.exploit-db.com/exploits/47208) ✅
- [EDB-46540 — Apache Tika-server < 1.18 - Command Injection](https://www.exploit-db.com/exploits/46540) ✅

## Patch verfügbar (OSV)

- 38ff2a986af24ee255f1f91d654ea402f4016696 (Commit)

## Referenzen

- <https://lists.apache.org/thread.html/b3ed4432380af767effd4c6f27665cc7b2686acccbefeb9f55851dca%40%3Cdev.tika.apache.org%3E>
- <http://www.securityfocus.com/bid/104001>
- <https://www.exploit-db.com/exploits/46540/>
- <http://packetstormsecurity.com/files/153864/Apache-Tika-1.17-Header-Command-Injection.html>
- <https://access.redhat.com/errata/RHSA-2019:3140>

---
_Exportiert aus dem [tsecurity.de CVE-Dossier](https://tsecurity.de/sicherheitsluecken/cve-2018-1335/) · Datenquellen: EUVD (ENISA), NVD, OSV, CISA KEV, FIRST EPSS, Exploit-DB, BSI WID (CSAF)_
