Lucene search

K
gentooGentoo FoundationGLSA-200509-21
HistorySep 30, 2005 - 12:00 a.m.

Hylafax: Insecure temporary file creation in xferfaxstats script

2005-09-3000:00:00
Gentoo Foundation
security.gentoo.org
10

CVSS2

2.1

Attack Vector

LOCAL

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

PARTIAL

Availability Impact

NONE

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

EPSS

0

Percentile

5.1%

Background

Hylafax is a client-server fax package for class 1 and 2 fax modems.

Description

Javier Fernandez-Sanguino has discovered that xferfaxstats cron script supplied by Hylafax insecurely creates temporary files with predictable filenames.

Impact

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

Workaround

There is no known workaround at this time.

Resolution

All Hylafax users should upgrade to the latest version:

 # emerge --sync
 # emerge --ask --oneshot --verbose net-misc/hylafax
OSVersionArchitecturePackageVersionFilename
Gentooanyallnet-misc/hylafax< 4.2.2UNKNOWN

CVSS2

2.1

Attack Vector

LOCAL

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

PARTIAL

Availability Impact

NONE

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

EPSS

0

Percentile

5.1%