Ubuntu 4.10 : libgd vulnerabilities (USN-21-1)

critical Nessus Plugin ID 20627

Synopsis

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

Description

Several buffer overflows have been discovered in libgd's PNG handling functions.

If an attacker tricked a user into loading a malicious PNG image, they could leverage this into executing arbitrary code in the context of the user opening image. Most importantly, this library is commonly used in PHP. One possible target would be a PHP driven photo website that lets users upload images. Therefore this vulnerability might lead to privilege escalation to a web server's privileges.

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

Plugin Details

Severity: Critical

ID: 20627

File Name: ubuntu_USN-21-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

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: Critical

Base Score: 10

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

Vulnerability Information

CPE: p-cpe:/a:canonical:ubuntu_linux:libgd-dev, p-cpe:/a:canonical:ubuntu_linux:libgd-noxpm-dev, p-cpe:/a:canonical:ubuntu_linux:libgd-xpm-dev, p-cpe:/a:canonical:ubuntu_linux:libgd1, p-cpe:/a:canonical:ubuntu_linux:libgd1-noxpm, p-cpe:/a:canonical:ubuntu_linux:libgd1-xpm, cpe:/o:canonical:ubuntu_linux:4.10

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

Patch Publication Date: 11/10/2004

Reference Information

CVE: CVE-2004-0990

USN: 21-1