Debian DSA-230-1 : bugzilla - insecure permissions, spurious backup files

high Nessus Plugin ID 15067

Synopsis

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

Description

Two vulnerabilities have been discovered in Bugzilla, a web-based bug tracking system, by its authors. The Common Vulnerabilities and Exposures Project identifies the following vulnerabilities :

CAN-2003-0012 (BugTraq ID 6502)

The provided data collection script intended to be run as a nightly cron job changes the permissions of the data/mining directory to be world-writable every time it runs. This would enable local users to alter or delete the collected data.

CAN-2003-0013 (BugTraq ID 6501)

The default .htaccess scripts provided by checksetup.pl do not block access to backups of the localconfig file that might be created by editors such as vi or emacs (typically these will have a .swp or ~ suffix). This allows an end user to download one of the backup copies and potentially obtain your database password.

This does not affect the Debian installation because there is no .htaccess as all data file aren't under the CGI path as they are on the standard Bugzilla package. Additionally, the configuration is in /etc/bugzilla/localconfig and hence outside of the web directory.

Solution

Upgrade the bugzilla packages.

For the current stable distribution (woody) these problems have been fixed in version 2.14.2-0woody4.

The old stable distribution (potato) does not contain a Bugzilla package.

See Also

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

Plugin Details

Severity: High

ID: 15067

File Name: debian_DSA-230.nasl

Version: 1.20

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: 5.8

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 5.5

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

Vulnerability Information

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

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

Exploit Ease: No known exploits are available

Patch Publication Date: 1/16/2003

Vulnerability Publication Date: 12/3/2002

Reference Information

CVE: CVE-2003-0012, CVE-2003-0013

BID: 6501, 6502

DSA: 230