Ubuntu update for PHP



Published: 2015-12-12 | Updated: 2018-11-27
Risk High
Patch available YES
Number of vulnerabilities 2
CVE-ID CVE-2013-6420
CVE-2013-6712
CWE-ID CWE-119
CWE-126
Exploitation vector Network
Public exploit Public exploit code for vulnerability #1 is available.
Vulnerable software
Subscribe
php5 (Ubuntu package)
Operating systems & Components / Operating system package or component

Vendor Canonical Ltd.

Security Bulletin

This security bulletin contains information about 2 vulnerabilities.

1) Buffer overflow

EUVDB-ID: #VU16076

Risk: High

CVSSv3.1: 8.8 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P/RL:O/RC:C]

CVE-ID: CVE-2013-6420

CWE-ID: CWE-119 - Memory corruption

Exploit availability: Yes

Description

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

The vulnerability exists due to a boundary error when the asn1_time_to_time_t function in ext/openssl/openssl.c in PHP before 5.3.28, 5.4.x before 5.4.23, and 5.5.x before 5.5.7 does not properly parse (1) notBefore and (2) notAfter timestamps in X.509 certificates. A remote attacker can supply specially crafted X.509 certificates, trigger memory corruption and cause the service to crash or execute arbitrary code on the target system.

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

Mitigation

Update the affected packages.

Ubuntu 13.10:
php5-cli 5.5.3+dfsg-1ubuntu2.1
php5-cgi 5.5.3+dfsg-1ubuntu2.1
libapache2-mod-php5 5.5.3+dfsg-1ubuntu2.1
Ubuntu 13.04:
php5-cli 5.4.9-4ubuntu2.4
php5-cgi 5.4.9-4ubuntu2.4
libapache2-mod-php5 5.4.9-4ubuntu2.4
Ubuntu 12.10:
php5-cli 5.4.6-1ubuntu1.5
php5-cgi 5.4.6-1ubuntu1.5
libapache2-mod-php5 5.4.6-1ubuntu1.5
Ubuntu 12.04 LTS:
php5-cli 5.3.10-1ubuntu3.9
php5-cgi 5.3.10-1ubuntu3.9
libapache2-mod-php5 5.3.10-1ubuntu3.9
Ubuntu 10.04 LTS:
php5-cli 5.3.2-1ubuntu4.22
php5-cgi 5.3.2-1ubuntu4.22
libapache2-mod-php5 5.3.2-1ubuntu4.22

Vulnerable software versions

php5 (Ubuntu package): 5.3.2-1ubuntu4.1 - 5.3.10-1ubuntu3.8

External links

http://www.ubuntu.com/usn/usn-2055-1/


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability. However, proof of concept for this vulnerability is available.

2) Buffer over-read

EUVDB-ID: #VU16077

Risk: Low

CVSSv3.1: 6.5 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:U/RL:O/RC:C]

CVE-ID: CVE-2013-6712

CWE-ID: CWE-126 - Buffer over-read

Exploit availability: No

Description

The vulnerability allows a remote attacker to cause DoS condition.

The vulnerability exists due to the scan function in ext/date/lib/parse_iso_intervals.c in PHP through 5.5.6 does not properly restrict creation of DateInterval objects. A remote attacker can trigger heap-based buffer over-read and cause the service to crash via a crafted interval specification.

Mitigation

Update the affected packages.

Ubuntu 13.10:
php5-cli 5.5.3+dfsg-1ubuntu2.1
php5-cgi 5.5.3+dfsg-1ubuntu2.1
libapache2-mod-php5 5.5.3+dfsg-1ubuntu2.1
Ubuntu 13.04:
php5-cli 5.4.9-4ubuntu2.4
php5-cgi 5.4.9-4ubuntu2.4
libapache2-mod-php5 5.4.9-4ubuntu2.4
Ubuntu 12.10:
php5-cli 5.4.6-1ubuntu1.5
php5-cgi 5.4.6-1ubuntu1.5
libapache2-mod-php5 5.4.6-1ubuntu1.5
Ubuntu 12.04 LTS:
php5-cli 5.3.10-1ubuntu3.9
php5-cgi 5.3.10-1ubuntu3.9
libapache2-mod-php5 5.3.10-1ubuntu3.9
Ubuntu 10.04 LTS:
php5-cli 5.3.2-1ubuntu4.22
php5-cgi 5.3.2-1ubuntu4.22
libapache2-mod-php5 5.3.2-1ubuntu4.22

Vulnerable software versions

php5 (Ubuntu package): 5.3.2-1ubuntu4.1 - 5.3.10-1ubuntu3.8

External links

http://www.ubuntu.com/usn/usn-2055-1/


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.



###SIDEBAR###