CVE-2024-9026 PHP-FPM logs from children may be altered
LowCVSS 3.3
EPSS 0.49%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
- Technology
- PHPUbuntuDebianPHP (language)
Description
In PHP versions 8.1.* before 8.1.30, 8.2.* before 8.2.24, 8.3.* before 8.3.12, when using PHP-FPM SAPI and it is configured to catch workers output through catch_workers_output = yes, it may be possible to pollute the final log or remove up to 4 characters from the log messages by manipulating log message content. Additionally, if PHP-FPM is configured to use syslog output, it may be possible to further remove log data using the same vulnerability.
Upgrade path
9 packages: 9 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| alpine/php81(Alpine v3.19) | < 8.1.30-r0 | 8.1.30-r0 | Fixed |
| alpine/php82(Alpine v3.20) | < 8.2.24-r0 | 8.2.24-r0 | Fixed |
| alpine/php83(Alpine v3.20) | < 8.3.12-r0 | 8.3.12-r0 | Fixed |
| debian/php8.2(Debian 12) | < 8.2.24-1~deb12u1; = 8.2.5-2; = 8.2.7-1; = 8.2.7-1.1 +15 more | 8.2.24-1~deb12u1 | Fixed |
| Microsoft azure linux | < 8.3.12-1 | 8.3.12-1 | Fixed |
| Microsoft cbl mariner | < 8.1.30-1 | 8.1.30-1 | Fixed |
| PHP | < 8.1.30; < 8.2.24; < 8.3.12; >= 8.1.0, < 8.1.30 +2 more | 8.1.30, 8.2.24, 8.3.12 | Fixed |
| ubuntu/php8.1(Ubuntu 22.04) | < 8.1.2-1ubuntu2.19 | 8.1.2-1ubuntu2.19 | Fixed |
| ubuntu/php8.3(Ubuntu 24.04) | < 8.3.6-0ubuntu0.24.04.2 | 8.3.6-0ubuntu0.24.04.2 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| Microsoft azure linux | < 8.3.12-1 | 8.3.12-1 |
| Microsoft cbl mariner | < 8.1.30-1 | 8.1.30-1 |
| debian/php8.2(Debian:12) | < 8.2.24-1~deb12u1 | 8.2.24-1~deb12u1 |
| debian/php8.2(Debian:12) | = 8.2.10-1 | No fix listed |
| debian/php8.2(Debian:12) | = 8.2.10-2 | No fix listed |
| debian/php8.2(Debian:12) | = 8.2.12-1 | No fix listed |
| debian/php8.2(Debian:12) | = 8.2.16-1 | No fix listed |
| debian/php8.2(Debian:12) | = 8.2.16-2 | No fix listed |
| debian/php8.2(Debian:12) | = 8.2.17-1 | No fix listed |
| debian/php8.2(Debian:12) | = 8.2.18-1 | No fix listed |
| debian/php8.2(Debian:12) | = 8.2.18-1~deb12u1 | No fix listed |
| debian/php8.2(Debian:12) | = 8.2.20-1~deb12u1 | No fix listed |
| debian/php8.2(Debian:12) | = 8.2.20-2 | No fix listed |
| debian/php8.2(Debian:12) | = 8.2.20-3 | No fix listed |
| debian/php8.2(Debian:12) | = 8.2.21-1 | No fix listed |
| debian/php8.2(Debian:12) | = 8.2.23-1 | No fix listed |
| debian/php8.2(Debian:12) | = 8.2.5-2 | No fix listed |
| debian/php8.2(Debian:12) | = 8.2.7-1 | No fix listed |
| debian/php8.2(Debian:12) | = 8.2.7-1.1 | No fix listed |
| debian/php8.2(Debian:12) | = 8.2.7-1.2 | No fix listed |
| debian/php8.2(Debian:12) | = 8.2.7-1~deb12u1 | No fix listed |
| ubuntu/php8.1(Ubuntu:22.04) | < 8.1.2-1ubuntu2.19 | 8.1.2-1ubuntu2.19 |
| PHP | < 8.1.30 | 8.1.30 |
| PHP | < 8.2.24 | 8.2.24 |
| PHP | < 8.3.12 | 8.3.12 |
Show 7 more
| Product | Affected versions | Fixed in |
|---|---|---|
| PHP | >= 8.1.0, < 8.1.30 | 8.1.30 |
| PHP | >= 8.2.0, < 8.2.24 | 8.2.24 |
| PHP | >= 8.3.0, < 8.3.12 | 8.3.12 |
| alpine/php81(Alpine:v3.19) | < 8.1.30-r0 | 8.1.30-r0 |
| alpine/php82(Alpine:v3.20) | < 8.2.24-r0 | 8.2.24-r0 |
| alpine/php83(Alpine:v3.20) | < 8.3.12-r0 | 8.3.12-r0 |
| ubuntu/php8.3(Ubuntu:24.04) | < 8.3.6-0ubuntu0.24.04.2 | 8.3.6-0ubuntu0.24.04.2 |
References
- MSRC Security Update Guide vendor-advisory
- php vendor-advisory
- Debian Security Tracker CVE-2024-9026 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- USN-7049-1 vendor-advisory
- www.cve.org
- github.com exploit vendor-advisory
- security.netapp.com
- lists.debian.org
- security.alpinelinux.org vendor-advisory