Ubuntu update for PHP



Published: 2020-05-11
Risk High
Patch available YES
Number of vulnerabilities 3
CVE-ID CVE-2020-7064
CVE-2020-7065
CVE-2020-7066
CWE-ID CWE-125
CWE-121
CWE-20
Exploitation vector Network
Public exploit N/A
Vulnerable software
Subscribe
php7.4 (Ubuntu package)
Operating systems & Components / Operating system package or component

Vendor Canonical Ltd.

Security Bulletin

This security bulletin contains information about 3 vulnerabilities.

1) Out-of-bounds read

EUVDB-ID: #VU26259

Risk: Low

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

CVE-ID: CVE-2020-7064

CWE-ID: CWE-125 - Out-of-bounds read

Exploit availability: No

Description

The vulnerability allows a remote attacker to gain access to potentially sensitive information.

The vulnerability exists due to a boundary condition within exif_read_data() PHP function. A remote attacker can pass specially crafted data to the application that uses the vulnerable function, trigger one byte out-of-bounds read error and read contents of memory on the system.

Mitigation

Update the affected packages.

Ubuntu 20.04 LTS
libapache2-mod-php7.4 - 7.4.3-4ubuntu1.1
php7.4-cgi - 7.4.3-4ubuntu1.1
php7.4-cli - 7.4.3-4ubuntu1.1
php7.4-fpm - 7.4.3-4ubuntu1.1
php7.4-mbstring - 7.4.3-4ubuntu1.1

Vulnerable software versions

php7.4 (Ubuntu package): 7.4.0-1 - 7.4.3-4ubuntu1

External links

http://usn.ubuntu.com/4330-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) Stack-based buffer overflow

EUVDB-ID: #VU26260

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

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.

The vulnerability exists due to a boundary error within php_unicode_tolower_full() function, as demonstrated by the mb_strtolower() call. A remote attacker can pass specially crafted data to the application that uses affected function, trigger 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 packages.

Ubuntu 20.04 LTS
libapache2-mod-php7.4 - 7.4.3-4ubuntu1.1
php7.4-cgi - 7.4.3-4ubuntu1.1
php7.4-cli - 7.4.3-4ubuntu1.1
php7.4-fpm - 7.4.3-4ubuntu1.1
php7.4-mbstring - 7.4.3-4ubuntu1.1

Vulnerable software versions

php7.4 (Ubuntu package): 7.4.0-1 - 7.4.3-4ubuntu1

External links

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

3) Input validation error

EUVDB-ID: #VU26257

Risk: Low

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

CVE-ID: CVE-2020-7066

CWE-ID: CWE-20 - Improper input validation

Exploit availability: No

Description

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

The vulnerability exists due to get_headers() PHP function silently truncates headers after receiving a NULL byte character. A remote attacker can abuse this behavior to bypass implemented security restrictions with in the application.

Mitigation

Update the affected packages.

Ubuntu 20.04 LTS
libapache2-mod-php7.4 - 7.4.3-4ubuntu1.1
php7.4-cgi - 7.4.3-4ubuntu1.1
php7.4-cli - 7.4.3-4ubuntu1.1
php7.4-fpm - 7.4.3-4ubuntu1.1
php7.4-mbstring - 7.4.3-4ubuntu1.1

Vulnerable software versions

php7.4 (Ubuntu package): 7.4.0-1 - 7.4.3-4ubuntu1

External links

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