Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

debian логотип

CVE-2021-21703

Опубликовано: 25 окт. 2021
Источник: debian
EPSS Низкий

Описание

In PHP versions 7.3.x up to and including 7.3.31, 7.4.x below 7.4.25 and 8.0.x below 8.0.12, when running PHP FPM SAPI with main FPM daemon process running as root and child worker processes running as lower-privileged users, it is possible for the child processes to access memory shared with the main process and write to it, modifying it in a way that would cause the root process to conduct invalid memory reads and writes, which can be used to escalate privileges from local unprivileged user to the root user.

Пакеты

ПакетСтатусВерсия исправленияРелизТип
php8.0removedpackage
php7.4fixed7.4.26-1package
php7.3removedpackage
php7.0removedpackage

Примечания

  • Fixed in 8.0.12, 7.4.25

  • PHP Bug: http://bugs.php.net/81026

  • https://github.com/php/php-src/commit/fadb1f8c1d08ae62b4f0a16917040fde57a3b93b

  • https://www.ambionics.io/blog/php-fpm-local-root

  • https://www.openwall.com/lists/oss-security/2021/10/26/7

EPSS

Процентиль: 34%
0.00133
Низкий

Связанные уязвимости

CVSS3: 7.8
ubuntu
около 4 лет назад

In PHP versions 7.3.x up to and including 7.3.31, 7.4.x below 7.4.25 and 8.0.x below 8.0.12, when running PHP FPM SAPI with main FPM daemon process running as root and child worker processes running as lower-privileged users, it is possible for the child processes to access memory shared with the main process and write to it, modifying it in a way that would cause the root process to conduct invalid memory reads and writes, which can be used to escalate privileges from local unprivileged user to the root user.

CVSS3: 6.4
redhat
около 4 лет назад

In PHP versions 7.3.x up to and including 7.3.31, 7.4.x below 7.4.25 and 8.0.x below 8.0.12, when running PHP FPM SAPI with main FPM daemon process running as root and child worker processes running as lower-privileged users, it is possible for the child processes to access memory shared with the main process and write to it, modifying it in a way that would cause the root process to conduct invalid memory reads and writes, which can be used to escalate privileges from local unprivileged user to the root user.

CVSS3: 7.8
nvd
около 4 лет назад

In PHP versions 7.3.x up to and including 7.3.31, 7.4.x below 7.4.25 and 8.0.x below 8.0.12, when running PHP FPM SAPI with main FPM daemon process running as root and child worker processes running as lower-privileged users, it is possible for the child processes to access memory shared with the main process and write to it, modifying it in a way that would cause the root process to conduct invalid memory reads and writes, which can be used to escalate privileges from local unprivileged user to the root user.

CVSS3: 7.8
msrc
около 1 месяца назад

PHP-FPM memory access in root process leading to privilege escalation

suse-cvrf
почти 4 года назад

Security update for php72

EPSS

Процентиль: 34%
0.00133
Низкий