PT-2018-10811 · Apache · Apache Tika

Tim Allison

·

Published

2018-09-19

·

Updated

2018-11-20

·

CVE-2018-11762

CVSS v3.1

5.9

Medium

VectorAV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
Name of the Vulnerable Software and Affected Versions Apache Tika versions 0.9 through 1.18
Description The issue arises in a rare edge case where a user does not specify an extract directory on the command line and the input file has an embedded file with an absolute path. For example, if the input file contains "C:/evil.bat", tika-app would overwrite that file.
Recommendations For Apache Tika versions 0.9 through 1.18, consider specifying an extract directory on the command line using the --extract-dir option to avoid potential file overwrites. As a temporary workaround, restrict the use of absolute paths in embedded files to minimize the risk of exploitation.

Fix

Path traversal

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2018-11762
GHSA-W6G3-V46Q-5P28

Affected Products

Apache Tika