Lucene search

K
freebsdFreeBSDC01A25F5-8F20-11DA-8C1D-000E0C2E438A
HistoryJan 11, 2006 - 12:00 a.m.

texindex -- temporary file privilege escalation

2006-01-1100:00:00
vuxml.freebsd.org
8

1.2 Low

CVSS2

Access Vector

LOCAL

Access Complexity

HIGH

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

PARTIAL

Availability Impact

NONE

AV:L/AC:H/Au:N/C:N/I:P/A:N

0.001 Low

EPSS

Percentile

27.0%

Problem description
The “sort_offline” function used by texindex(1) employs the
“maketempname” function, which produces predictable file names
and fails to validate that the paths do not exist.
Impact
These predictable temporary file names are problematic because
they allow an attacker to take advantage of a race condition in
order to execute a symlink attack, which could enable them to
overwrite files on the system in the context of the user running
the texindex(1) utility.
Workaround
No workaround is available, but the problematic code is only
executed if the input file being processed is 500kB or more in
length; as a result, users working with documents of less than
several hundred pages are very unlikely to be affected.

OSVersionArchitecturePackageVersionFilename
FreeBSDanynoarchfreebsd= 6.0UNKNOWN
FreeBSDanynoarchfreebsd< 6.0_2UNKNOWN

1.2 Low

CVSS2

Access Vector

LOCAL

Access Complexity

HIGH

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

PARTIAL

Availability Impact

NONE

AV:L/AC:H/Au:N/C:N/I:P/A:N

0.001 Low

EPSS

Percentile

27.0%