Lucene search

K
gentooGentoo FoundationGLSA-200412-05
HistoryDec 07, 2004 - 12:00 a.m.

mirrorselect: Insecure temporary file creation

2004-12-0700:00:00
Gentoo Foundation
security.gentoo.org
10

CVSS2

5

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

PARTIAL

Availability Impact

NONE

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

EPSS

0.004

Percentile

72.3%

Background

mirrorselect is a tool to help select distfiles mirrors for Gentoo.

Description

Ervin Nemeth discovered that mirrorselect creates temporary files in world-writable directories with predictable names.

Impact

A local attacker could create symbolic links in the temporary files directory, pointing to a valid file somewhere on the filesystem. When mirrorselect is executed, this would result in the file being overwritten with the rights of the user running the utility, which could be the root user.

Workaround

There is no known workaround at this time.

Resolution

All mirrorselect users should upgrade to the latest version:

 # emerge --sync
 # emerge --ask --oneshot --verbose ">=app-portage/mirrorselect-0.89"
OSVersionArchitecturePackageVersionFilename
Gentooanyallapp-portage/mirrorselect< 0.89UNKNOWN

CVSS2

5

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

PARTIAL

Availability Impact

NONE

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

EPSS

0.004

Percentile

72.3%

Related for GLSA-200412-05