Ubuntu 4.10 / 5.04 / 5.10 : php4, php5 vulnerabilities (USN-261-1)

medium Nessus Plugin ID 21068

Synopsis

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

Description

Stefan Esser discovered that the 'session' module did not sufficiently verify the validity of the user-supplied session ID. A remote attacker could exploit this to insert arbitrary HTTP headers into the response sent by the PHP application, which could lead to HTTP Response Splitting (forging of arbitrary responses on behalf the PHP application) and Cross Site Scripting (XSS) (execution of arbitrary web script code in the client's browser) attacks. (CVE-2006-0207)

PHP applications were also vulnerable to several Cross Site Scripting (XSS) flaws if the options 'display_errors' and 'html_errors' were enabled. Please note that enabling 'html_errors' is not recommended for production systems. (CVE-2006-0208).

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

ID: 21068

File Name: ubuntu_USN-261-1.nasl

Version: 1.16

Type: local

Agent: unix

Published: 3/13/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: Low

Score: 3.4

CVSS v2

Risk Factor: Medium

Base Score: 5

Temporal Score: 3.7

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

Vulnerability Information

CPE: p-cpe:/a:canonical:ubuntu_linux:libapache2-mod-php4, p-cpe:/a:canonical:ubuntu_linux:libapache2-mod-php5, p-cpe:/a:canonical:ubuntu_linux:php-pear, p-cpe:/a:canonical:ubuntu_linux:php4, p-cpe:/a:canonical:ubuntu_linux:php4-cgi, p-cpe:/a:canonical:ubuntu_linux:php4-cli, p-cpe:/a:canonical:ubuntu_linux:php4-common, 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, p-cpe:/a:canonical:ubuntu_linux:php5, p-cpe:/a:canonical:ubuntu_linux:php5-cgi, p-cpe:/a:canonical:ubuntu_linux:php5-cli, p-cpe:/a:canonical:ubuntu_linux:php5-common, p-cpe:/a:canonical:ubuntu_linux:php5-curl, p-cpe:/a:canonical:ubuntu_linux:php5-dev, p-cpe:/a:canonical:ubuntu_linux:php5-gd, p-cpe:/a:canonical:ubuntu_linux:php5-ldap, p-cpe:/a:canonical:ubuntu_linux:php5-mhash, p-cpe:/a:canonical:ubuntu_linux:php5-mysql, p-cpe:/a:canonical:ubuntu_linux:php5-odbc, p-cpe:/a:canonical:ubuntu_linux:php5-pgsql, p-cpe:/a:canonical:ubuntu_linux:php5-recode, p-cpe:/a:canonical:ubuntu_linux:php5-snmp, p-cpe:/a:canonical:ubuntu_linux:php5-sqlite, p-cpe:/a:canonical:ubuntu_linux:php5-sybase, p-cpe:/a:canonical:ubuntu_linux:php5-xmlrpc, p-cpe:/a:canonical:ubuntu_linux:php5-xsl, cpe:/o:canonical:ubuntu_linux:4.10, cpe:/o:canonical:ubuntu_linux:5.04, cpe:/o:canonical:ubuntu_linux:5.10

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

Exploit Ease: No known exploits are available

Patch Publication Date: 3/10/2006

Vulnerability Publication Date: 1/11/2006

Reference Information

CVE: CVE-2006-0207, CVE-2006-0208

BID: 16220

USN: 261-1