SB2015042001 - Ubuntu update for PHP



SB2015042001 - Ubuntu update for PHP

Published: April 20, 2015 Updated: November 27, 2018

Security Bulletin ID SB2015042001
Severity
High
Patch available
YES
Number of vulnerabilities 6
Exploitation vector Remote access
Highest impact Code execution

Breakdown by Severity

High 33% Low 67%
  • Low
  • Medium
  • High
  • Critical

Description

This security bulletin contains information about 6 secuirty vulnerabilities.


1) Improper input validation (CVE-ID: CVE-2015-3330)

The vulnerability allows a remote attacker to cause DoS condition on the target system.

The weakness exists due to an error in the php_handler function in sapi/apache2handler/sapi_apache2.c in PHP before 5.4.40, 5.5.x before 5.5.24, and 5.6.x before 5.6.8, when the Apache HTTP Server 2.4.x is used. A remote attacker can cause application crash or possibly execute arbitrary code via pipelined HTTP requests that result in a "deconfigured interpreter."

2) Stack-based buffer overflow (CVE-ID: CVE-2015-3329)

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The weakness exists due to multiple stack-based buffer overflows in the phar_set_inode function in phar_internal.h in PHP before 5.4.40, 5.5.x before 5.5.24, and 5.6.x before 5.6.8. A remote attacker can trigger memory corruption and execute arbitrary code via a crafted length value in a (1) tar, (2) phar, or (3) ZIP archive.

3) Integer overflow (CVE-ID: CVE-2015-2305)

The vulnerability allows a local attacker to execute arbitrary code on the target system.

The vulnerability exists due to \integer overflow in the regcomp implementation in the Henry Spencer BSD regex library (aka rxspencer) alpha3.8.g5 on 32-bit platforms, as used in NetBSD through 6.1.5 and other products. A local attacker can trigger heap-based buffer overflow via a large regular expression and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


4) Security restrictions bypass (CVE-ID: CVE-2015-2348)

The vulnerability allows a remote attacker to bypass security restrictions on the target system.

The weakness exists due to an error when the move_uploaded_file implementation in ext/standard/basic_functions.c in PHP before 5.4.39, 5.5.x before 5.5.23, and 5.6.x before 5.6.7 truncates a pathname upon encountering a x00 character. A remote attacker can bypass intended extension restrictions and create files with unexpected names via a crafted second argument.

5) Buffer over-read (CVE-ID: CVE-2015-2783)

The vulnerability allows a remote attacker to obtain potentially sensitive information or cause DoS condition on the target system.

The weakness exists due to buffer over-read in ext/phar/phar.c in PHP before 5.4.40, 5.5.x before 5.5.24, and 5.6.x before 5.6.8. A remote attacker can obtain sensitive information from process memory or cause a denial of service via a crafted length value in conjunction with crafted serialized data in a phar archive, related to the phar_parse_metadata and phar_parse_pharfile functions.

6) Use-after-free error (CVE-ID: CVE-2015-2787)

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The weakness exists due to use-after-free vulnerability in the process_nested_data function in ext/standard/var_unserializer.re in PHP before 5.4.39, 5.5.x before 5.5.23, and 5.6.x before 5.6.7. A remote attacker can trigger memory corruption and execute arbitrary code via a crafted unserialize call that leverages use of the unset function within an __wakeup function.

Remediation

Install update from vendor's website.