Ubuntu update for PHP



Published: 2015-10-28 | Updated: 2018-11-27
Risk Low
Patch available YES
Number of vulnerabilities 2
CVE-ID CVE-2015-7803
CVE-2015-7804
CWE-ID CWE-476
CWE-193
Exploitation vector Network
Public exploit N/A
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) NULL pointer dereference

EUVDB-ID: #VU16132

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-2015-7803

CWE-ID: CWE-476 - NULL Pointer Dereference

Exploit availability: No

Description

The vulnerability allows a remote attacker to cause DoS condition.

The vulnerability exists due to NULL pointer dereference in the phar_get_entry_data function in ext/phar/util.c in PHP before 5.5.30 and 5.6.x before 5.6.14. A remote attacker can trigger NULL pointer dereference and cause the service to crash via a .phar file with a crafted TAR archive entry in which the Link indicator references a file that does not exist.

Mitigation

Update the affected packages.


Ubuntu 15.10:
php5-cli 5.6.11+dfsg-1ubuntu3.1
php5-cgi 5.6.11+dfsg-1ubuntu3.1
libapache2-mod-php5 5.6.11+dfsg-1ubuntu3.1
php5-fpm 5.6.11+dfsg-1ubuntu3.1
Ubuntu 15.04:
php5-cli 5.6.4+dfsg-4ubuntu6.4
php5-cgi 5.6.4+dfsg-4ubuntu6.4
libapache2-mod-php5 5.6.4+dfsg-4ubuntu6.4
php5-fpm 5.6.4+dfsg-4ubuntu6.4
Ubuntu 14.04 LTS:
php5-cli 5.5.9+dfsg-1ubuntu4.14
php5-cgi 5.5.9+dfsg-1ubuntu4.14
libapache2-mod-php5 5.5.9+dfsg-1ubuntu4.14
php5-fpm 5.5.9+dfsg-1ubuntu4.14
Ubuntu 12.04 LTS:
php5-cli 5.3.10-1ubuntu3.21
php5-cgi 5.3.10-1ubuntu3.21
libapache2-mod-php5 5.3.10-1ubuntu3.21
php5-fpm 5.3.10-1ubuntu3.21

Vulnerable software versions

php5 (Ubuntu package): 5.3.10-1ubuntu3.1 - 5.3.10-1ubuntu3.20

External links

http://www.ubuntu.com/usn/usn-2786-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.

2) Off-by-one

EUVDB-ID: #VU16133

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-2015-7804

CWE-ID: CWE-193 - Off-by-one Error

Exploit availability: No

Description

The vulnerability allows a remote attacker to cause DoS condition.

The vulnerability exists due to off-by-one error in the phar_parse_zipfile function in ext/phar/zip.c in PHP before 5.5.30 and 5.6.x before 5.6.14. A remote attacker can trigger uninitialized pointer dereference and cause the service to crash by including the / filename in a .zip PHAR archive.

Mitigation

Update the affected packages.


Ubuntu 15.10:
php5-cli 5.6.11+dfsg-1ubuntu3.1
php5-cgi 5.6.11+dfsg-1ubuntu3.1
libapache2-mod-php5 5.6.11+dfsg-1ubuntu3.1
php5-fpm 5.6.11+dfsg-1ubuntu3.1
Ubuntu 15.04:
php5-cli 5.6.4+dfsg-4ubuntu6.4
php5-cgi 5.6.4+dfsg-4ubuntu6.4
libapache2-mod-php5 5.6.4+dfsg-4ubuntu6.4
php5-fpm 5.6.4+dfsg-4ubuntu6.4
Ubuntu 14.04 LTS:
php5-cli 5.5.9+dfsg-1ubuntu4.14
php5-cgi 5.5.9+dfsg-1ubuntu4.14
libapache2-mod-php5 5.5.9+dfsg-1ubuntu4.14
php5-fpm 5.5.9+dfsg-1ubuntu4.14
Ubuntu 12.04 LTS:
php5-cli 5.3.10-1ubuntu3.21
php5-cgi 5.3.10-1ubuntu3.21
libapache2-mod-php5 5.3.10-1ubuntu3.21
php5-fpm 5.3.10-1ubuntu3.21

Vulnerable software versions

php5 (Ubuntu package): 5.3.10-1ubuntu3.1 - 5.3.10-1ubuntu3.20

External links

http://www.ubuntu.com/usn/usn-2786-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###