Debian DSA-283-1 : xfsdump - insecure file creation

high Nessus Plugin ID 15120

Synopsis

The remote Debian host is missing a security-related update.

Description

Ethan Benson discovered a problem in xfsdump, that contains administrative utilities for the XFS filesystem. When filesystem quotas are enabled xfsdump runs xfsdq to save the quota information into a file at the root of the filesystem being dumped. The manner in which this file is created is unsafe.

While fixing this, a new option '-f path' has been added to xfsdq(8) to specify an output file instead of using the standard output stream.
This file is created by xfsdq and xfsdq will fail to run if it exists already. The file is also created with a more appropriate mode than whatever the umask happened to be when xfsdump(8) was run.

Solution

Upgrade the xfsdump package immediately.

For the stable distribution (woody) this problem has been fixed in version 2.0.1-2.

The old stable distribution (potato) is not affected since it doesn't contain xfsdump packages.

See Also

http://www.debian.org/security/2003/dsa-283

Plugin Details

Severity: High

ID: 15120

File Name: debian_DSA-283.nasl

Version: 1.23

Type: local

Agent: unix

Published: 9/29/2004

Updated: 1/4/2021

Supported Sensors: Agentless Assessment, Continuous Assessment, Frictionless Assessment Agent, Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: High

Base Score: 7.2

Temporal Score: 6.3

Vector: CVSS2#AV:L/AC:L/Au:N/C:C/I:C/A:C

Vulnerability Information

CPE: p-cpe:/a:debian:debian_linux:xfsdump, cpe:/o:debian:debian_linux:3.0

Required KB Items: Host/local_checks_enabled, Host/Debian/release, Host/Debian/dpkg-l

Exploit Available: true

Exploit Ease: No exploit is required

Patch Publication Date: 4/11/2003

Reference Information

CVE: CVE-2003-0173

BID: 7321

CERT: 111673

DSA: 283