openEuler 20.03 LTS SP3 update for php



Published: 2023-09-09 | Updated: 2024-04-17
Risk Critical
Patch available YES
Number of vulnerabilities 8
CVE-ID CVE-2022-31630
CVE-2022-31631
CVE-2023-0567
CVE-2023-0568
CVE-2023-0662
CVE-2023-3247
CVE-2023-3823
CVE-2023-3824
CWE-ID CWE-125
CWE-190
CWE-330
CWE-787
CWE-20
CWE-611
CWE-119
Exploitation vector Network
Public exploit Vulnerability #8 is being exploited in the wild.
Vulnerable software
Subscribe
openEuler
Operating systems & Components / Operating system

php-sodium
Operating systems & Components / Operating system package or component

php-common
Operating systems & Components / Operating system package or component

php-snmp
Operating systems & Components / Operating system package or component

php-pgsql
Operating systems & Components / Operating system package or component

php-soap
Operating systems & Components / Operating system package or component

php-embedded
Operating systems & Components / Operating system package or component

php-gmp
Operating systems & Components / Operating system package or component

php-ldap
Operating systems & Components / Operating system package or component

php-debugsource
Operating systems & Components / Operating system package or component

php-tidy
Operating systems & Components / Operating system package or component

php-enchant
Operating systems & Components / Operating system package or component

php-opcache
Operating systems & Components / Operating system package or component

php-xml
Operating systems & Components / Operating system package or component

php-mysqlnd
Operating systems & Components / Operating system package or component

php-debuginfo
Operating systems & Components / Operating system package or component

php-mbstring
Operating systems & Components / Operating system package or component

php-dba
Operating systems & Components / Operating system package or component

php-dbg
Operating systems & Components / Operating system package or component

php-help
Operating systems & Components / Operating system package or component

php-process
Operating systems & Components / Operating system package or component

php-pdo
Operating systems & Components / Operating system package or component

php-bcmath
Operating systems & Components / Operating system package or component

php-odbc
Operating systems & Components / Operating system package or component

php-devel
Operating systems & Components / Operating system package or component

php-ffi
Operating systems & Components / Operating system package or component

php-intl
Operating systems & Components / Operating system package or component

php-cli
Operating systems & Components / Operating system package or component

php-fpm
Operating systems & Components / Operating system package or component

php-gd
Operating systems & Components / Operating system package or component

php
Operating systems & Components / Operating system package or component

Vendor openEuler

Security Bulletin

This security bulletin contains information about 8 vulnerabilities.

1) Out-of-bounds read

EUVDB-ID: #VU68886

Risk: Medium

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

CVE-ID: CVE-2022-31630

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 the imageloadfont() function. A remote attacker can pass specially crafted data to the web application, trigger an out-of-bounds read error and read contents of memory on the system.

Mitigation

Install updates from vendor's repository.

Vulnerable software versions

openEuler: 20.03 LTS SP3

php-sodium: before 8.0.30-1

php-common: before 8.0.30-1

php-snmp: before 8.0.30-1

php-pgsql: before 8.0.30-1

php-soap: before 8.0.30-1

php-embedded: before 8.0.30-1

php-gmp: before 8.0.30-1

php-ldap: before 8.0.30-1

php-debugsource: before 8.0.30-1

php-tidy: before 8.0.30-1

php-enchant: before 8.0.30-1

php-opcache: before 8.0.30-1

php-xml: before 8.0.30-1

php-mysqlnd: before 8.0.30-1

php-debuginfo: before 8.0.30-1

php-mbstring: before 8.0.30-1

php-dba: before 8.0.30-1

php-dbg: before 8.0.30-1

php-help: before 8.0.30-1

php-process: before 8.0.30-1

php-pdo: before 8.0.30-1

php-bcmath: before 8.0.30-1

php-odbc: before 8.0.30-1

php-devel: before 8.0.30-1

php-ffi: before 8.0.30-1

php-intl: before 8.0.30-1

php-cli: before 8.0.30-1

php-fpm: before 8.0.30-1

php-gd: before 8.0.30-1

php: before 8.0.30-1

External links

http://www.openeuler.org/en/security/security-bulletins/detail/?id=openEuler-SA-2023-1620


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) Integer overflow

EUVDB-ID: #VU70788

Risk: Medium

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

CVE-ID: CVE-2022-31631

CWE-ID: CWE-190 - Integer overflow

Exploit availability: No

Description

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

The vulnerability exists due to integer overflow when processing untrusted input within the PDO::quote() in PDO_SQLite. A remote attacker can pass a specially crafted input to the application that after being processed by the affected PDO::quote() method will return a quoted string, which can result in a SQL injection.

Mitigation

Install updates from vendor's repository.

Vulnerable software versions

openEuler: 20.03 LTS SP3

php-sodium: before 8.0.30-1

php-common: before 8.0.30-1

php-snmp: before 8.0.30-1

php-pgsql: before 8.0.30-1

php-soap: before 8.0.30-1

php-embedded: before 8.0.30-1

php-gmp: before 8.0.30-1

php-ldap: before 8.0.30-1

php-debugsource: before 8.0.30-1

php-tidy: before 8.0.30-1

php-enchant: before 8.0.30-1

php-opcache: before 8.0.30-1

php-xml: before 8.0.30-1

php-mysqlnd: before 8.0.30-1

php-debuginfo: before 8.0.30-1

php-mbstring: before 8.0.30-1

php-dba: before 8.0.30-1

php-dbg: before 8.0.30-1

php-help: before 8.0.30-1

php-process: before 8.0.30-1

php-pdo: before 8.0.30-1

php-bcmath: before 8.0.30-1

php-odbc: before 8.0.30-1

php-devel: before 8.0.30-1

php-ffi: before 8.0.30-1

php-intl: before 8.0.30-1

php-cli: before 8.0.30-1

php-fpm: before 8.0.30-1

php-gd: before 8.0.30-1

php: before 8.0.30-1

External links

http://www.openeuler.org/en/security/security-bulletins/detail/?id=openEuler-SA-2023-1620


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) Use of insufficiently random values

EUVDB-ID: #VU72166

Risk: Medium

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

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

Install updates from vendor's repository.

Vulnerable software versions

openEuler: 20.03 LTS SP3

php-sodium: before 8.0.30-1

php-common: before 8.0.30-1

php-snmp: before 8.0.30-1

php-pgsql: before 8.0.30-1

php-soap: before 8.0.30-1

php-embedded: before 8.0.30-1

php-gmp: before 8.0.30-1

php-ldap: before 8.0.30-1

php-debugsource: before 8.0.30-1

php-tidy: before 8.0.30-1

php-enchant: before 8.0.30-1

php-opcache: before 8.0.30-1

php-xml: before 8.0.30-1

php-mysqlnd: before 8.0.30-1

php-debuginfo: before 8.0.30-1

php-mbstring: before 8.0.30-1

php-dba: before 8.0.30-1

php-dbg: before 8.0.30-1

php-help: before 8.0.30-1

php-process: before 8.0.30-1

php-pdo: before 8.0.30-1

php-bcmath: before 8.0.30-1

php-odbc: before 8.0.30-1

php-devel: before 8.0.30-1

php-ffi: before 8.0.30-1

php-intl: before 8.0.30-1

php-cli: before 8.0.30-1

php-fpm: before 8.0.30-1

php-gd: before 8.0.30-1

php: before 8.0.30-1

External links

http://www.openeuler.org/en/security/security-bulletins/detail/?id=openEuler-SA-2023-1620


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) Out-of-bounds write

EUVDB-ID: #VU72167

Risk: Medium

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

Install updates from vendor's repository.

Vulnerable software versions

openEuler: 20.03 LTS SP3

php-sodium: before 8.0.30-1

php-common: before 8.0.30-1

php-snmp: before 8.0.30-1

php-pgsql: before 8.0.30-1

php-soap: before 8.0.30-1

php-embedded: before 8.0.30-1

php-gmp: before 8.0.30-1

php-ldap: before 8.0.30-1

php-debugsource: before 8.0.30-1

php-tidy: before 8.0.30-1

php-enchant: before 8.0.30-1

php-opcache: before 8.0.30-1

php-xml: before 8.0.30-1

php-mysqlnd: before 8.0.30-1

php-debuginfo: before 8.0.30-1

php-mbstring: before 8.0.30-1

php-dba: before 8.0.30-1

php-dbg: before 8.0.30-1

php-help: before 8.0.30-1

php-process: before 8.0.30-1

php-pdo: before 8.0.30-1

php-bcmath: before 8.0.30-1

php-odbc: before 8.0.30-1

php-devel: before 8.0.30-1

php-ffi: before 8.0.30-1

php-intl: before 8.0.30-1

php-cli: before 8.0.30-1

php-fpm: before 8.0.30-1

php-gd: before 8.0.30-1

php: before 8.0.30-1

External links

http://www.openeuler.org/en/security/security-bulletins/detail/?id=openEuler-SA-2023-1620


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

EUVDB-ID: #VU72165

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

Install updates from vendor's repository.

Vulnerable software versions

openEuler: 20.03 LTS SP3

php-sodium: before 8.0.30-1

php-common: before 8.0.30-1

php-snmp: before 8.0.30-1

php-pgsql: before 8.0.30-1

php-soap: before 8.0.30-1

php-embedded: before 8.0.30-1

php-gmp: before 8.0.30-1

php-ldap: before 8.0.30-1

php-debugsource: before 8.0.30-1

php-tidy: before 8.0.30-1

php-enchant: before 8.0.30-1

php-opcache: before 8.0.30-1

php-xml: before 8.0.30-1

php-mysqlnd: before 8.0.30-1

php-debuginfo: before 8.0.30-1

php-mbstring: before 8.0.30-1

php-dba: before 8.0.30-1

php-dbg: before 8.0.30-1

php-help: before 8.0.30-1

php-process: before 8.0.30-1

php-pdo: before 8.0.30-1

php-bcmath: before 8.0.30-1

php-odbc: before 8.0.30-1

php-devel: before 8.0.30-1

php-ffi: before 8.0.30-1

php-intl: before 8.0.30-1

php-cli: before 8.0.30-1

php-fpm: before 8.0.30-1

php-gd: before 8.0.30-1

php: before 8.0.30-1

External links

http://www.openeuler.org/en/security/security-bulletins/detail/?id=openEuler-SA-2023-1620


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.

6) Use of insufficiently random values

EUVDB-ID: #VU77112

Risk: Medium

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

CVE-ID: CVE-2023-3247

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 a missing error check and insufficient random bytes in HTTP Digest authentication for SOAP. A remote attacker can perform a brute-force attack and bypass authentication process.

Mitigation

Install updates from vendor's repository.

Vulnerable software versions

openEuler: 20.03 LTS SP3

php-sodium: before 8.0.30-1

php-common: before 8.0.30-1

php-snmp: before 8.0.30-1

php-pgsql: before 8.0.30-1

php-soap: before 8.0.30-1

php-embedded: before 8.0.30-1

php-gmp: before 8.0.30-1

php-ldap: before 8.0.30-1

php-debugsource: before 8.0.30-1

php-tidy: before 8.0.30-1

php-enchant: before 8.0.30-1

php-opcache: before 8.0.30-1

php-xml: before 8.0.30-1

php-mysqlnd: before 8.0.30-1

php-debuginfo: before 8.0.30-1

php-mbstring: before 8.0.30-1

php-dba: before 8.0.30-1

php-dbg: before 8.0.30-1

php-help: before 8.0.30-1

php-process: before 8.0.30-1

php-pdo: before 8.0.30-1

php-bcmath: before 8.0.30-1

php-odbc: before 8.0.30-1

php-devel: before 8.0.30-1

php-ffi: before 8.0.30-1

php-intl: before 8.0.30-1

php-cli: before 8.0.30-1

php-fpm: before 8.0.30-1

php-gd: before 8.0.30-1

php: before 8.0.30-1

External links

http://www.openeuler.org/en/security/security-bulletins/detail/?id=openEuler-SA-2023-1620


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.

7) XML External Entity injection

EUVDB-ID: #VU78977

Risk: High

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

CVE-ID: CVE-2023-3823

CWE-ID: CWE-611 - Improper Restriction of XML External Entity Reference ('XXE')

Exploit availability: No

Description

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

The vulnerability exists due to insufficient validation of user-supplied XML input. A remote attacker can pass a specially crafted XML code to the affected application and view contents of arbitrary files on the system or initiate requests to external systems.

Successful exploitation of the vulnerability may allow an attacker to view contents of arbitrary file on the server or perform network scanning of internal and external infrastructure.

Mitigation

Install updates from vendor's repository.

Vulnerable software versions

openEuler: 20.03 LTS SP3

php-sodium: before 8.0.30-1

php-common: before 8.0.30-1

php-snmp: before 8.0.30-1

php-pgsql: before 8.0.30-1

php-soap: before 8.0.30-1

php-embedded: before 8.0.30-1

php-gmp: before 8.0.30-1

php-ldap: before 8.0.30-1

php-debugsource: before 8.0.30-1

php-tidy: before 8.0.30-1

php-enchant: before 8.0.30-1

php-opcache: before 8.0.30-1

php-xml: before 8.0.30-1

php-mysqlnd: before 8.0.30-1

php-debuginfo: before 8.0.30-1

php-mbstring: before 8.0.30-1

php-dba: before 8.0.30-1

php-dbg: before 8.0.30-1

php-help: before 8.0.30-1

php-process: before 8.0.30-1

php-pdo: before 8.0.30-1

php-bcmath: before 8.0.30-1

php-odbc: before 8.0.30-1

php-devel: before 8.0.30-1

php-ffi: before 8.0.30-1

php-intl: before 8.0.30-1

php-cli: before 8.0.30-1

php-fpm: before 8.0.30-1

php-gd: before 8.0.30-1

php: before 8.0.30-1

External links

http://www.openeuler.org/en/security/security-bulletins/detail/?id=openEuler-SA-2023-1620


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.

8) Buffer overflow

EUVDB-ID: #VU78978

Risk: Critical

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

CVE-ID: CVE-2023-3824

CWE-ID: CWE-119 - Memory corruption

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 the phar_dir_read() function. A remote attacker can force the application to open a specially crafted .phar archive,  trigger memory corruption and execute arbitrary code on the target system.

Mitigation

Install updates from vendor's repository.

Vulnerable software versions

openEuler: 20.03 LTS SP3

php-sodium: before 8.0.30-1

php-common: before 8.0.30-1

php-snmp: before 8.0.30-1

php-pgsql: before 8.0.30-1

php-soap: before 8.0.30-1

php-embedded: before 8.0.30-1

php-gmp: before 8.0.30-1

php-ldap: before 8.0.30-1

php-debugsource: before 8.0.30-1

php-tidy: before 8.0.30-1

php-enchant: before 8.0.30-1

php-opcache: before 8.0.30-1

php-xml: before 8.0.30-1

php-mysqlnd: before 8.0.30-1

php-debuginfo: before 8.0.30-1

php-mbstring: before 8.0.30-1

php-dba: before 8.0.30-1

php-dbg: before 8.0.30-1

php-help: before 8.0.30-1

php-process: before 8.0.30-1

php-pdo: before 8.0.30-1

php-bcmath: before 8.0.30-1

php-odbc: before 8.0.30-1

php-devel: before 8.0.30-1

php-ffi: before 8.0.30-1

php-intl: before 8.0.30-1

php-cli: before 8.0.30-1

php-fpm: before 8.0.30-1

php-gd: before 8.0.30-1

php: before 8.0.30-1

External links

http://www.openeuler.org/en/security/security-bulletins/detail/?id=openEuler-SA-2023-1620


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?

Yes. This vulnerability is being exploited in the wild.



###SIDEBAR###