Ubuntu update for php7.2



Risk Medium
Patch available YES
Number of vulnerabilities 3
CVE-ID CVE-2023-0567
CVE-2023-0568
CVE-2023-0662
CWE-ID CWE-330
CWE-787
CWE-20
Exploitation vector Network
Public exploit N/A
Vulnerable software
Ubuntu
Operating systems & Components / Operating system

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

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

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

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

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

php8.1 (Ubuntu package)
Operating systems & Components / Operating system package or component

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

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

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

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

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

libapache2-mod-php8.1 (Ubuntu package)
Other

php8.1-cgi (Ubuntu package)
Other

php8.1-cli (Ubuntu package)
Other

php8.1-fpm (Ubuntu package)
Other

Vendor Canonical Ltd.

Security Bulletin

This security bulletin contains information about 3 vulnerabilities.

1) Use of insufficiently random values

EUVDB-ID: #VU72166

Risk: Medium

CVSSv4.0: 1.7 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:U/U:Green]

CVE-ID: CVE-2023-0567

CWE-ID: CWE-330 - Use of Insufficiently Random Values

Exploit availability: No

Description

The vulnerability allows a remote attacker to bypass authentication.

The vulnerability exists due to an error within the Password_verify() function, which always returns true with some hashes. A remote attacker can bypass authentication process and gain unauthorized access to the application.

Mitigation

Update the affected package php7.2 to the latest version.

Vulnerable software versions

Ubuntu: 18.04 - 22.10

php7.4-cli (Ubuntu package): before 7.4.3-4ubuntu2.18

php7.4-fpm (Ubuntu package): before 7.4.3-4ubuntu2.18

php7.4 (Ubuntu package): before 7.4.3-4ubuntu2.18

php7.4-cgi (Ubuntu package): before 7.4.3-4ubuntu2.18

libapache2-mod-php7.4 (Ubuntu package): before 7.4.3-4ubuntu2.18

libapache2-mod-php8.1 (Ubuntu package): before 8.1.2-1ubuntu2.11

php8.1 (Ubuntu package): before 8.1.2-1ubuntu2.11

php8.1-cgi (Ubuntu package): before 8.1.2-1ubuntu2.11

php8.1-cli (Ubuntu package): before 8.1.2-1ubuntu2.11

php8.1-fpm (Ubuntu package): before 8.1.2-1ubuntu2.11

php7.2-fpm (Ubuntu package): before 7.2.24-0ubuntu0.18.04.17

php7.2-cli (Ubuntu package): before 7.2.24-0ubuntu0.18.04.17

php7.2-cgi (Ubuntu package): before 7.2.24-0ubuntu0.18.04.17

php7.2 (Ubuntu package): before 7.2.24-0ubuntu0.18.04.17

libapache2-mod-php7.2 (Ubuntu package): before 7.2.24-0ubuntu0.18.04.17

CPE2.3 External links

https://ubuntu.com/security/notices/USN-5902-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) Out-of-bounds write

EUVDB-ID: #VU72167

Risk: Medium

CVSSv4.0: 7.2 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Green]

CVE-ID: CVE-2023-0568

CWE-ID: CWE-787 - Out-of-bounds write

Exploit availability: No

Description

The vulnerability allows a remote attacker to compromise vulnerable system.

The vulnerability exists due to a boundary error when processing untrusted input in fopen_wrappers.c. A remote attacker can pass a specially crafted filename to the affected application, trigger a one-byte buffer overflow and crash the application or potentially execute arbitrary code.

Mitigation

Update the affected package php7.2 to the latest version.

Vulnerable software versions

Ubuntu: 18.04 - 22.10

php7.4-cli (Ubuntu package): before 7.4.3-4ubuntu2.18

php7.4-fpm (Ubuntu package): before 7.4.3-4ubuntu2.18

php7.4 (Ubuntu package): before 7.4.3-4ubuntu2.18

php7.4-cgi (Ubuntu package): before 7.4.3-4ubuntu2.18

libapache2-mod-php7.4 (Ubuntu package): before 7.4.3-4ubuntu2.18

libapache2-mod-php8.1 (Ubuntu package): before 8.1.2-1ubuntu2.11

php8.1 (Ubuntu package): before 8.1.2-1ubuntu2.11

php8.1-cgi (Ubuntu package): before 8.1.2-1ubuntu2.11

php8.1-cli (Ubuntu package): before 8.1.2-1ubuntu2.11

php8.1-fpm (Ubuntu package): before 8.1.2-1ubuntu2.11

php7.2-fpm (Ubuntu package): before 7.2.24-0ubuntu0.18.04.17

php7.2-cli (Ubuntu package): before 7.2.24-0ubuntu0.18.04.17

php7.2-cgi (Ubuntu package): before 7.2.24-0ubuntu0.18.04.17

php7.2 (Ubuntu package): before 7.2.24-0ubuntu0.18.04.17

libapache2-mod-php7.2 (Ubuntu package): before 7.2.24-0ubuntu0.18.04.17

CPE2.3 External links

https://ubuntu.com/security/notices/USN-5902-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) Input validation error

EUVDB-ID: #VU72165

Risk: Medium

CVSSv4.0: 6.6 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Green]

CVE-ID: CVE-2023-0662

CWE-ID: CWE-20 - Improper input validation

Exploit availability: No

Description

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

The vulnerability exists due to insufficient validation of user-supplied input when parsing multipart request body. A remote attacker can pass specially crafted input to the application and perform a denial of service (DoS) attack.

Mitigation

Update the affected package php7.2 to the latest version.

Vulnerable software versions

Ubuntu: 18.04 - 22.10

php7.4-cli (Ubuntu package): before 7.4.3-4ubuntu2.18

php7.4-fpm (Ubuntu package): before 7.4.3-4ubuntu2.18

php7.4 (Ubuntu package): before 7.4.3-4ubuntu2.18

php7.4-cgi (Ubuntu package): before 7.4.3-4ubuntu2.18

libapache2-mod-php7.4 (Ubuntu package): before 7.4.3-4ubuntu2.18

libapache2-mod-php8.1 (Ubuntu package): before 8.1.2-1ubuntu2.11

php8.1 (Ubuntu package): before 8.1.2-1ubuntu2.11

php8.1-cgi (Ubuntu package): before 8.1.2-1ubuntu2.11

php8.1-cli (Ubuntu package): before 8.1.2-1ubuntu2.11

php8.1-fpm (Ubuntu package): before 8.1.2-1ubuntu2.11

php7.2-fpm (Ubuntu package): before 7.2.24-0ubuntu0.18.04.17

php7.2-cli (Ubuntu package): before 7.2.24-0ubuntu0.18.04.17

php7.2-cgi (Ubuntu package): before 7.2.24-0ubuntu0.18.04.17

php7.2 (Ubuntu package): before 7.2.24-0ubuntu0.18.04.17

libapache2-mod-php7.2 (Ubuntu package): before 7.2.24-0ubuntu0.18.04.17

CPE2.3 External links

https://ubuntu.com/security/notices/USN-5902-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###