Ubuntu 4.10 : php4 vulnerabilities (USN-40-1)

critical Nessus Plugin ID 20657

Synopsis

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

Description

Stefan Esser reported several buffer overflows in PHP's variable unserializing handling. These could allow an attacker to execute arbitrary code on the server with the PHP interpreter's privileges by sending specially crafted input strings (form data, cookie values, and similar).

Additionally, Ilia Alshanetsky discovered a buffer overflow in the exif_read_data() function. Attackers could execute arbitrary code on the server by sending a JPEG image with a very long 'sectionname' value to PHP applications that support image uploads.

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

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

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:libapache2-mod-php4, p-cpe:/a:canonical:ubuntu_linux:php4, p-cpe:/a:canonical:ubuntu_linux:php4-cgi, p-cpe:/a:canonical:ubuntu_linux:php4-curl, p-cpe:/a:canonical:ubuntu_linux:php4-dev, p-cpe:/a:canonical:ubuntu_linux:php4-domxml, p-cpe:/a:canonical:ubuntu_linux:php4-gd, p-cpe:/a:canonical:ubuntu_linux:php4-ldap, p-cpe:/a:canonical:ubuntu_linux:php4-mcal, p-cpe:/a:canonical:ubuntu_linux:php4-mhash, p-cpe:/a:canonical:ubuntu_linux:php4-mysql, p-cpe:/a:canonical:ubuntu_linux:php4-odbc, p-cpe:/a:canonical:ubuntu_linux:php4-pear, p-cpe:/a:canonical:ubuntu_linux:php4-recode, p-cpe:/a:canonical:ubuntu_linux:php4-snmp, p-cpe:/a:canonical:ubuntu_linux:php4-sybase, p-cpe:/a:canonical:ubuntu_linux:php4-xslt, cpe:/o:canonical:ubuntu_linux:4.10

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

Patch Publication Date: 12/16/2004

Reference Information

CVE: CVE-2004-1019, CVE-2004-1065

CWE: 20

USN: 40-1