Ubuntu update for php5



Published: 2021-07-13
Risk High
Patch available YES
Number of vulnerabilities 5
CVE-ID CVE-2020-7068
CVE-2020-7071
CVE-2021-21702
CVE-2021-21704
CVE-2021-21705
CWE-ID CWE-416
CWE-20
CWE-476
CWE-121
CWE-918
Exploitation vector Network
Public exploit Public exploit code for vulnerability #2 is available.
Vulnerable software
Subscribe
Ubuntu
Operating systems & Components / Operating system

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

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

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

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

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

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

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

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

Vendor Canonical Ltd.

Security Bulletin

This security bulletin contains information about 5 vulnerabilities.

1) Use-after-free

EUVDB-ID: #VU34121

Risk: Medium

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-2020-7068

CWE-ID: CWE-416 - Use After Free

Exploit availability: No

Description

The vulnerability allows a remote attacker to compromise vulnerable system.

The vulnerability exists due to a use-after-free error in the "phar_parse_zipfile" function. A remote attacker can can cause a denial of service (DoS) condition on the target system.

Mitigation

Update the affected package php5 to the latest version.

Vulnerable software versions

Ubuntu: 14.04 - 16.04

php5-fpm (Ubuntu package): before 7.0.330u buntu0.16.04.16+esm1

php5-cli (Ubuntu package): before 7.0.330u buntu0.16.04.16+esm1

php5-cgi (Ubuntu package): before 7.0.330u buntu0.16.04.16+esm1

libapache2-mod-php5 (Ubuntu package): before 7.0.330u buntu0.16.04.16+esm1

php7.0-fpm (Ubuntu package): before 7.0.330u buntu0.16.04.16+esm1

php7.0-cli (Ubuntu package): before 7.0.330u buntu0.16.04.16+esm1

php7.0-cgi (Ubuntu package): before 7.0.330u buntu0.16.04.16+esm1

libapache2-mod-php7.0 (Ubuntu package): before 7.0.330u buntu0.16.04.16+esm1

External links

http://ubuntu.com/security/notices/USN-5006-2


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) Input validation error

EUVDB-ID: #VU49338

Risk: Medium

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

CVE-ID: CVE-2020-7071

CWE-ID: CWE-20 - Improper input validation

Exploit availability: No

Description

The vulnerability allows a remote attacker to bypass implemented security restrictions.

The vulnerability exists due to insufficient validation of URL performed via the "FILTER_VALIDATE_URL" setting. A remote attacker can use the "@" characters in the URL to bypass implemented filter and force the application to accept arbitrary URL instead of the defined by the option.

Example:

http://evel.website@trusted.website

Mitigation

Update the affected package php5 to the latest version.

Vulnerable software versions

Ubuntu: 14.04 - 16.04

php5-fpm (Ubuntu package): before 7.0.330u buntu0.16.04.16+esm1

php5-cli (Ubuntu package): before 7.0.330u buntu0.16.04.16+esm1

php5-cgi (Ubuntu package): before 7.0.330u buntu0.16.04.16+esm1

libapache2-mod-php5 (Ubuntu package): before 7.0.330u buntu0.16.04.16+esm1

php7.0-fpm (Ubuntu package): before 7.0.330u buntu0.16.04.16+esm1

php7.0-cli (Ubuntu package): before 7.0.330u buntu0.16.04.16+esm1

php7.0-cgi (Ubuntu package): before 7.0.330u buntu0.16.04.16+esm1

libapache2-mod-php7.0 (Ubuntu package): before 7.0.330u buntu0.16.04.16+esm1

External links

http://ubuntu.com/security/notices/USN-5006-2


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.

3) NULL pointer dereference

EUVDB-ID: #VU50403

Risk: Medium

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-2021-21702

CWE-ID: CWE-476 - NULL Pointer Dereference

Exploit availability: No

Description

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to a NULL pointer dereference error within the SoapClient in PHP. A remote attacker can pass specially crafted data to the application and perform a denial of service (DoS) attack.

Mitigation

Update the affected package php5 to the latest version.

Vulnerable software versions

Ubuntu: 14.04 - 16.04

php5-fpm (Ubuntu package): before 7.0.330u buntu0.16.04.16+esm1

php5-cli (Ubuntu package): before 7.0.330u buntu0.16.04.16+esm1

php5-cgi (Ubuntu package): before 7.0.330u buntu0.16.04.16+esm1

libapache2-mod-php5 (Ubuntu package): before 7.0.330u buntu0.16.04.16+esm1

php7.0-fpm (Ubuntu package): before 7.0.330u buntu0.16.04.16+esm1

php7.0-cli (Ubuntu package): before 7.0.330u buntu0.16.04.16+esm1

php7.0-cgi (Ubuntu package): before 7.0.330u buntu0.16.04.16+esm1

libapache2-mod-php7.0 (Ubuntu package): before 7.0.330u buntu0.16.04.16+esm1

External links

http://ubuntu.com/security/notices/USN-5006-2


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.

4) Stack-based buffer overflow

EUVDB-ID: #VU54566

Risk: High

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

CVE-ID: CVE-2021-21704

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

Exploit availability: No

Description

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

Multiple boundary errors exists within firebird_info_cb(), firebird_handle_doer(), firebird_stmt_execute(), and firebird_fetch_blob() function. A remote attacker can pass specially crafted input to the application, trigger a stack-based buffer overflow and execute arbitrary code on the target system.

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

Mitigation

Update the affected package php5 to the latest version.

Vulnerable software versions

Ubuntu: 14.04 - 16.04

php5-fpm (Ubuntu package): before 7.0.330u buntu0.16.04.16+esm1

php5-cli (Ubuntu package): before 7.0.330u buntu0.16.04.16+esm1

php5-cgi (Ubuntu package): before 7.0.330u buntu0.16.04.16+esm1

libapache2-mod-php5 (Ubuntu package): before 7.0.330u buntu0.16.04.16+esm1

php7.0-fpm (Ubuntu package): before 7.0.330u buntu0.16.04.16+esm1

php7.0-cli (Ubuntu package): before 7.0.330u buntu0.16.04.16+esm1

php7.0-cgi (Ubuntu package): before 7.0.330u buntu0.16.04.16+esm1

libapache2-mod-php7.0 (Ubuntu package): before 7.0.330u buntu0.16.04.16+esm1

External links

http://ubuntu.com/security/notices/USN-5006-2


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.

5) Server-Side Request Forgery (SSRF)

EUVDB-ID: #VU54565

Risk: Medium

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

CVE-ID: CVE-2021-21705

CWE-ID: CWE-918 - Server-Side Request Forgery (SSRF)

Exploit availability: No

Description

The disclosed vulnerability allows a remote attacker to perform SSRF attacks.

The vulnerability exists due to insufficient validation of user-supplied input. A remote attacker can send a specially crafted HTTP request, bypass the FILTER_VALIDATE_URL and trick the application to initiate requests to arbitrary systems.

Successful exploitation of this vulnerability may allow a remote attacker gain access to sensitive data, located in the local network or send malicious requests to other servers from the vulnerable system.

Mitigation

Update the affected package php5 to the latest version.

Vulnerable software versions

Ubuntu: 14.04 - 16.04

php5-fpm (Ubuntu package): before 7.0.330u buntu0.16.04.16+esm1

php5-cli (Ubuntu package): before 7.0.330u buntu0.16.04.16+esm1

php5-cgi (Ubuntu package): before 7.0.330u buntu0.16.04.16+esm1

libapache2-mod-php5 (Ubuntu package): before 7.0.330u buntu0.16.04.16+esm1

php7.0-fpm (Ubuntu package): before 7.0.330u buntu0.16.04.16+esm1

php7.0-cli (Ubuntu package): before 7.0.330u buntu0.16.04.16+esm1

php7.0-cgi (Ubuntu package): before 7.0.330u buntu0.16.04.16+esm1

libapache2-mod-php7.0 (Ubuntu package): before 7.0.330u buntu0.16.04.16+esm1

External links

http://ubuntu.com/security/notices/USN-5006-2


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###