Rapid7 Vulnerability & Exploit Database

Oracle Linux: CVE-2022-31626: ELSA-2022-5904: php security update (IMPORTANT) (Multiple Advisories)

Free InsightVM Trial No Credit Card Necessary
2024 Attack Intel Report Latest research by Rapid7 Labs
Back to Search

Oracle Linux: CVE-2022-31626: ELSA-2022-5904: php security update (IMPORTANT) (Multiple Advisories)

Severity
9
CVSS
(AV:N/AC:L/Au:S/C:C/I:C/A:C)
Published
05/16/2022
Created
07/16/2022
Added
07/05/2022
Modified
07/22/2024

Description

In PHP versions 7.4.x below 7.4.30, 8.0.x below 8.0.20, and 8.1.x below 8.1.7, when pdo_mysql extension with mysqlnd driver, if the third party is allowed to supply host to connect to and the password for the connection, password of excessive length can trigger a buffer overflow in PHP, which can lead to a remote code execution vulnerability. A buffer overflow vulnerability was found in PHP when processing passwords in mysqlnd/pdo in mysqlnd_wireprotocol.c. When using the pdo_mysql extension with mysqlnd driver, if the third party is allowed to supply a MySQL database server password in the mysqlnd driver to the host for the connection, a password of excessive length can trigger a buffer overflow in PHP. This flaw allows a remote attacker to pass a password (with an excessive length) via PDO to the MySQL server, triggering arbitrary code execution on the target system.

Solution(s)

  • oracle-linux-upgrade-apcu-panel
  • oracle-linux-upgrade-libzip
  • oracle-linux-upgrade-libzip-devel
  • oracle-linux-upgrade-libzip-tools
  • oracle-linux-upgrade-php
  • oracle-linux-upgrade-php-bcmath
  • oracle-linux-upgrade-php-cli
  • oracle-linux-upgrade-php-common
  • oracle-linux-upgrade-php-dba
  • oracle-linux-upgrade-php-dbg
  • oracle-linux-upgrade-php-devel
  • oracle-linux-upgrade-php-embedded
  • oracle-linux-upgrade-php-enchant
  • oracle-linux-upgrade-php-ffi
  • oracle-linux-upgrade-php-fpm
  • oracle-linux-upgrade-php-gd
  • oracle-linux-upgrade-php-gmp
  • oracle-linux-upgrade-php-intl
  • oracle-linux-upgrade-php-json
  • oracle-linux-upgrade-php-ldap
  • oracle-linux-upgrade-php-mbstring
  • oracle-linux-upgrade-php-mysqlnd
  • oracle-linux-upgrade-php-odbc
  • oracle-linux-upgrade-php-opcache
  • oracle-linux-upgrade-php-pdo
  • oracle-linux-upgrade-php-pear
  • oracle-linux-upgrade-php-pecl-apcu
  • oracle-linux-upgrade-php-pecl-apcu-devel
  • oracle-linux-upgrade-php-pecl-rrd
  • oracle-linux-upgrade-php-pecl-xdebug
  • oracle-linux-upgrade-php-pecl-xdebug3
  • oracle-linux-upgrade-php-pecl-zip
  • oracle-linux-upgrade-php-pgsql
  • oracle-linux-upgrade-php-process
  • oracle-linux-upgrade-php-snmp
  • oracle-linux-upgrade-php-soap
  • oracle-linux-upgrade-php-xml
  • oracle-linux-upgrade-php-xmlrpc

With Rapid7 live dashboards, I have a clear view of all the assets on my network, which ones can be exploited, and what I need to do in order to reduce the risk in my environment in real-time. No other tool gives us that kind of value and insight.

– Scott Cheney, Manager of Information Security, Sierra View Medical Center

;