SUSE SLED12 / SLES12 Security Update : mgetty (SUSE-SU-2018:2979-1)

High Nessus Plugin ID 117903

Synopsis

The remote SUSE host is missing one or more security updates.

Description

This update for mgetty fixes the following security issues :

CVE-2018-16741: The function do_activate() did not properly sanitize shell metacharacters to prevent command injection (bsc#1108752)

CVE-2018-16745: The mail_to parameter was not sanitized, leading to a buffer overflow if long untrusted input reached it (bsc#1108756)

CVE-2018-16744: The mail_to parameter was not sanitized, leading to command injection if untrusted input reached reach it (bsc#1108757)

CVE-2018-16742: Prevent stack-based buffer overflow that could have been triggered via a command-line parameter (bsc#1108762)

CVE-2018-16743: The command-line parameter username wsa passed unsanitized to strcpy(), which could have caused a stack-based buffer overflow (bsc#1108761)

Note that Tenable Network Security has extracted the preceding description block directly from the SUSE security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.

Solution

To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or 'zypper patch'.

Alternatively you can run the command listed for your product :

SUSE Linux Enterprise Server 12-SP3:zypper in -t patch SUSE-SLE-SERVER-12-SP3-2018-2122=1

SUSE Linux Enterprise Desktop 12-SP3:zypper in -t patch SUSE-SLE-DESKTOP-12-SP3-2018-2122=1

See Also

https://bugzilla.suse.com/show_bug.cgi?id=1108752

https://bugzilla.suse.com/show_bug.cgi?id=1108756

https://bugzilla.suse.com/show_bug.cgi?id=1108757

https://bugzilla.suse.com/show_bug.cgi?id=1108761

https://bugzilla.suse.com/show_bug.cgi?id=1108762

https://www.suse.com/security/cve/CVE-2018-16741/

https://www.suse.com/security/cve/CVE-2018-16742/

https://www.suse.com/security/cve/CVE-2018-16743/

https://www.suse.com/security/cve/CVE-2018-16744/

https://www.suse.com/security/cve/CVE-2018-16745/

http://www.nessus.org/u?41c540f8

Plugin Details

Severity: High

ID: 117903

File Name: suse_SU-2018-2979-1.nasl

Version: 1.3

Type: local

Agent: unix

Published: 2018/10/03

Modified: 2018/12/01

Dependencies: 12634

Risk Information

Risk Factor: High

CVSS v2.0

Base Score: 7.2

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

CVSS v3.0

Base Score: 7.8

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

Vulnerability Information

CPE: p-cpe:/a:novell:suse_linux:g3utils, p-cpe:/a:novell:suse_linux:g3utils-debuginfo, p-cpe:/a:novell:suse_linux:mgetty, p-cpe:/a:novell:suse_linux:mgetty-debuginfo, p-cpe:/a:novell:suse_linux:mgetty-debugsource, cpe:/o:novell:suse_linux:12

Required KB Items: Host/local_checks_enabled, Host/cpu, Host/SuSE/release, Host/SuSE/rpm-list

Patch Publication Date: 2018/10/02

Reference Information

CVE: CVE-2018-16741, CVE-2018-16742, CVE-2018-16743, CVE-2018-16744, CVE-2018-16745