Debian DLA-2801-1 : cron - LTS security update

medium Nessus Plugin ID 154747

Synopsis

The remote Debian host is missing one or more security-related updates.

Description

The remote Debian 9 host has a package installed that is affected by multiple vulnerabilities as referenced in the dla-2801 advisory.

- In the cron package through 3.0pl1-128 on Debian, and through 3.0pl1-128ubuntu2 on Ubuntu, the postinst maintainer script allows for group-crontab-to-root privilege escalation via symlink attacks against unsafe usage of the chown and chmod programs. (CVE-2017-9525)

- Vixie Cron before the 3.0pl1-133 Debian package allows local users to cause a denial of service (daemon crash) via a large crontab file because the calloc return value is not checked. (CVE-2019-9704)

- Vixie Cron before the 3.0pl1-133 Debian package allows local users to cause a denial of service (memory consumption) via a large crontab file because an unlimited number of lines is accepted. (CVE-2019-9705)

- Vixie Cron before the 3.0pl1-133 Debian package allows local users to cause a denial of service (use- after-free and daemon crash) because of a force_rescan_user error. (CVE-2019-9706)

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version number.

Solution

Upgrade the cron packages.

For Debian 9 stretch, these problems have been fixed in version 3.0pl1-128+deb9u2.

See Also

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=809167

https://security-tracker.debian.org/tracker/source-package/cron

https://www.debian.org/lts/security/2021/dla-2801

https://security-tracker.debian.org/tracker/CVE-2017-9525

https://security-tracker.debian.org/tracker/CVE-2019-9704

https://security-tracker.debian.org/tracker/CVE-2019-9705

https://security-tracker.debian.org/tracker/CVE-2019-9706

https://packages.debian.org/source/stretch/cron

Plugin Details

Severity: Medium

ID: 154747

File Name: debian_DLA-2801.nasl

Version: 1.3

Type: local

Agent: unix

Published: 10/30/2021

Updated: 11/27/2023

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

Base Score: 6.9

Temporal Score: 5.4

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

CVSS Score Source: CVE-2017-9525

CVSS v3

Risk Factor: Medium

Base Score: 6.7

Temporal Score: 6

Vector: CVSS:3.0/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

Vulnerability Information

CPE: cpe:/o:debian:debian_linux:9.0, p-cpe:/a:debian:debian_linux:cron

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: 10/30/2021

Vulnerability Publication Date: 12/27/2015

Reference Information

CVE: CVE-2017-9525, CVE-2019-9704, CVE-2019-9705, CVE-2019-9706