Debian DSA-428-1 : slocate - buffer overflow

medium Nessus Plugin ID 15265

Synopsis

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

Description

A vulnerability was discovered in slocate, a program to index and search for files, whereby a specially crafted database could overflow a heap-based buffer. This vulnerability could be exploited by a local attacker to gain the privileges of the 'slocate' group, which can access the global database containing a list of pathnames of all files on the system, including those which should only be visible to privileged users.

This problem, and a category of potential similar problems, have been fixed by modifying slocate to drop privileges before reading a user-supplied database.

Solution

For the current stable distribution (woody) this problem has been fixed in version 2.6-1.3.2.

We recommend that you update your slocate package.

See Also

https://bugs.debian.org/226103

http://www.debian.org/security/2004/dsa-428

Plugin Details

Severity: Medium

ID: 15265

File Name: debian_DSA-428.nasl

Version: 1.22

Type: local

Agent: unix

Published: 9/29/2004

Updated: 1/4/2021

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

Risk Information

VPR

Risk Factor: Medium

Score: 6.6

CVSS v2

Risk Factor: Medium

Base Score: 4.6

Temporal Score: 3.8

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

Vulnerability Information

CPE: p-cpe:/a:debian:debian_linux:slocate, 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: Exploits are available

Patch Publication Date: 1/20/2004

Reference Information

CVE: CVE-2003-0848

BID: 8780

CERT: 441956

DSA: 428