Ubuntu 4.10 : sharutils vulnerabilities (USN-102-1)

high Nessus Plugin ID 20488

Synopsis

The remote Ubuntu host is missing one or more security-related patches.

Description

Shaun Colley discovered a buffer overflow in 'shar' that was triggered by output files (specified with -o) with names longer than 49 characters. This could be exploited to run arbitrary attacker specified code on systems that automatically process uploaded files with shar.

Ulf Harnhammar discovered that shar does not check the data length returned by the 'wc' command. However, it is believed that this cannot actually be exploited on real systems.

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

Solution

Update the affected sharutils and / or sharutils-doc packages.

Plugin Details

Severity: High

ID: 20488

File Name: ubuntu_USN-102-1.nasl

Version: 1.15

Type: local

Agent: unix

Published: 1/15/2006

Updated: 1/19/2021

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

Vulnerability Information

CPE: p-cpe:/a:canonical:ubuntu_linux:sharutils, p-cpe:/a:canonical:ubuntu_linux:sharutils-doc, cpe:/o:canonical:ubuntu_linux:4.10

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

Patch Publication Date: 3/29/2005

Reference Information

USN: 102-1