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.
The product does not restrict or incorrectly restricts access to a resource from an unauthorized actor.
Name | Vendor | Start Version | End Version |
---|---|---|---|
Php | Php | 7.3.0 (including) | 7.3.31 (including) |
Php | Php | 7.4.0 (including) | 7.4.25 (excluding) |
Php | Php | 8.0.0 (including) | 8.0.12 (excluding) |
Php5 | Ubuntu | trusty | * |
Php5 | Ubuntu | trusty/esm | * |
Php7.0 | Ubuntu | esm-infra/xenial | * |
Php7.0 | Ubuntu | xenial | * |
Php7.2 | Ubuntu | bionic | * |
Php7.4 | Ubuntu | focal | * |
Php7.4 | Ubuntu | hirsute | * |
Php8.0 | Ubuntu | impish | * |
Php8.0 | Ubuntu | upstream | * |
Red Hat Enterprise Linux 8 | RedHat | php:7.4-8060020220120080432.0a326c83 | * |
Red Hat Software Collections for Red Hat Enterprise Linux 7 | RedHat | rh-php73-php-0:7.3.33-1.el7 | * |
Access control involves the use of several protection mechanisms such as:
When any mechanism is not applied or otherwise fails, attackers can compromise the security of the product by gaining privileges, reading sensitive information, executing commands, evading detection, etc. There are two distinct behaviors that can introduce access control weaknesses: