Ubuntu update for PHP



Published: 2018-03-19 | Updated: 2019-05-02
Risk Low
Patch available YES
Number of vulnerabilities 3
CVE-ID CVE-2016-10712
CVE-2018-5712
CVE-2018-7584
CWE-ID CWE-20
CWE-79
CWE-121
Exploitation vector Network
Public exploit Public exploit code for vulnerability #1 is available.
Vulnerable software
Subscribe
php7.1 (Ubuntu package)
Operating systems & Components / Operating system package or component

php7.0 (Ubuntu package)
Operating systems & Components / Operating system package or component

php5 (Ubuntu package)
Operating systems & Components / Operating system package or component

Vendor Canonical Ltd.

Security Bulletin

This security bulletin contains information about 3 vulnerabilities.

1) Improper input validation

EUVDB-ID: #VU10948

Risk: Low

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

CVE-ID: CVE-2016-10712

CWE-ID: CWE-20 - Improper input validation

Exploit availability: No

Description

The vulnerability allows a remote unauthenticated attacker to obtain potentially sensitive information on the target system.

The weakness exists in the stream_get_meta_data function due to improper input validation. A remote attacker can send a specially crafted file and control metadata.

Mitigation

Update the affected packages.

Ubuntu 17.10
libapache2-mod-php7.1 - 7.1.15-0ubuntu0.17.10.1
php7.1-cgi - 7.1.15-0ubuntu0.17.10.1
php7.1-cli - 7.1.15-0ubuntu0.17.10.1
php7.1-fpm - 7.1.15-0ubuntu0.17.10.1
Ubuntu 16.04 LTS
libapache2-mod-php7.0 - 7.0.28-0ubuntu0.16.04.1
php7.0-cgi - 7.0.28-0ubuntu0.16.04.1
php7.0-cli - 7.0.28-0ubuntu0.16.04.1
php7.0-fpm - 7.0.28-0ubuntu0.16.04.1
Ubuntu 14.04 LTS
libapache2-mod-php5 - 5.5.9+dfsg-1ubuntu4.24
php5-cgi - 5.5.9+dfsg-1ubuntu4.24
php5-cli - 5.5.9+dfsg-1ubuntu4.24
php5-fpm - 5.5.9+dfsg-1ubuntu4.24

Vulnerable software versions

php7.1 (Ubuntu package): 7.1.11-0ubuntu0.17.10.1

php7.0 (Ubuntu package): 7.0.8-0ubuntu0.16.04.1 - 7.0.25-0ubuntu0.16.04.1

php5 (Ubuntu package): 5.5.9+dfsg-1 - 5.5.9+dfsg-1ubuntu4.23

External links

http://usn.ubuntu.com/3600-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) Reflected cross-site scripting

EUVDB-ID: #VU10389

Risk: Low

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

CVE-ID: CVE-2018-5712

CWE-ID: CWE-79 - Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Exploit availability: No

Description

The disclosed vulnerability allows a remote attacker to perform cross-site scripting (XSS) attacks.

The vulnerability exists on the PHAR 404 error page due to insufficient sanitization of user-supplied data. A remote attacker can trick the victim to follow a specially crafted link and execute arbitrary HTML and script code in user's browser in context of vulnerable website.

Successful exploitation of this vulnerability may allow a remote attacker to steal potentially sensitive information, change appearance of the web page, perform phishing and drive-by-download attacks.

Mitigation

Update the affected packages.

Ubuntu 17.10
libapache2-mod-php7.1 - 7.1.15-0ubuntu0.17.10.1
php7.1-cgi - 7.1.15-0ubuntu0.17.10.1
php7.1-cli - 7.1.15-0ubuntu0.17.10.1
php7.1-fpm - 7.1.15-0ubuntu0.17.10.1
Ubuntu 16.04 LTS
libapache2-mod-php7.0 - 7.0.28-0ubuntu0.16.04.1
php7.0-cgi - 7.0.28-0ubuntu0.16.04.1
php7.0-cli - 7.0.28-0ubuntu0.16.04.1
php7.0-fpm - 7.0.28-0ubuntu0.16.04.1
Ubuntu 14.04 LTS
libapache2-mod-php5 - 5.5.9+dfsg-1ubuntu4.24
php5-cgi - 5.5.9+dfsg-1ubuntu4.24
php5-cli - 5.5.9+dfsg-1ubuntu4.24
php5-fpm - 5.5.9+dfsg-1ubuntu4.24

Vulnerable software versions

php7.1 (Ubuntu package): 7.1.11-0ubuntu0.17.10.1

php7.0 (Ubuntu package): 7.0.8-0ubuntu0.16.04.1 - 7.0.25-0ubuntu0.16.04.1

php5 (Ubuntu package): 5.5.9+dfsg-1 - 5.5.9+dfsg-1ubuntu4.23

External links

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

3) Stack-based buffer overflow

EUVDB-ID: #VU10800

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-2018-7584

CWE-ID: CWE-121 - Stack-based buffer overflow

Exploit availability: No

Description

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

The weakness exists due to stack-based buffer overflow when handling malicious input. A remote attacker can send specially crafted HTTP response packets, trigger memory corruption and cause the application to crash.

Mitigation

Update the affected packages.

Ubuntu 17.10
libapache2-mod-php7.1 - 7.1.15-0ubuntu0.17.10.1
php7.1-cgi - 7.1.15-0ubuntu0.17.10.1
php7.1-cli - 7.1.15-0ubuntu0.17.10.1
php7.1-fpm - 7.1.15-0ubuntu0.17.10.1
Ubuntu 16.04 LTS
libapache2-mod-php7.0 - 7.0.28-0ubuntu0.16.04.1
php7.0-cgi - 7.0.28-0ubuntu0.16.04.1
php7.0-cli - 7.0.28-0ubuntu0.16.04.1
php7.0-fpm - 7.0.28-0ubuntu0.16.04.1
Ubuntu 14.04 LTS
libapache2-mod-php5 - 5.5.9+dfsg-1ubuntu4.24
php5-cgi - 5.5.9+dfsg-1ubuntu4.24
php5-cli - 5.5.9+dfsg-1ubuntu4.24
php5-fpm - 5.5.9+dfsg-1ubuntu4.24

Vulnerable software versions

php7.1 (Ubuntu package): 7.1.11-0ubuntu0.17.10.1

php7.0 (Ubuntu package): 7.0.8-0ubuntu0.16.04.1 - 7.0.25-0ubuntu0.16.04.1

php5 (Ubuntu package): 5.5.9+dfsg-1 - 5.5.9+dfsg-1ubuntu4.23

External links

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