Debian DSA-419-1 : phpgroupware - missing filename sanitising, SQL injection

high Nessus Plugin ID 15256

Synopsis

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

Description

The authors of phpgroupware, a web-based groupware system written in PHP, discovered several vulnerabilities. The Common Vulnerabilities and Exposures project identifies the following problems :

- CAN-2004-0016 In the 'calendar' module, 'save extension' was not enforced for holiday files. As a result, server-side php scripts may be placed in directories that then could be accessed remotely and cause the webserver to execute those. This was resolved by enforcing the extension '.txt' for holiday files.

- CAN-2004-0017

Some SQL injection problems (non-escaping of values used in SQL strings) the 'calendar' and 'infolog' modules.

Additionally, the Debian maintainer adjusted the permissions on world writable directories that were accidentally created by former postinst during the installation.

Solution

Upgrade the phpgroupware, phpgroupware-calendar and phpgroupware-infolog packages.

For the stable distribution (woody) this problem has been fixed in version 0.9.14-0.RC3.2.woody3.

See Also

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

Plugin Details

Severity: High

ID: 15256

File Name: debian_DSA-419.nasl

Version: 1.25

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.3

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:phpgroupware, 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/9/2004

Vulnerability Publication Date: 10/21/2003

Reference Information

CVE: CVE-2004-0016, CVE-2004-0017

BID: 9386, 9387

DSA: 419