CVE-2024-9026: PHP-FPM logs from children may be altered

Published Sep 26, 2024
·
Updated

Fixed bug (Logs from childrens may be altered). (CVE-2024-9026)

Other sources

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 catchworkersoutput = 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.

Red Hat

PHP-FPM logs from children may be altered

Microsoft

Affected Software

14 affected componentsFixes available
PHP PHP<8.3.12
8.3.12
php-fpm PHP-FPM>=8.1.0<8.1.30
php-fpm PHP-FPM>=8.2.0<8.2.24
php-fpm PHP-FPM>=8.3.0<8.3.12
debian/php7.4<=7.4.33-1+deb11u5
7.4.33-1+deb11u8
debian/php8.2
8.2.26-1~deb12u18.2.28-1~deb12u1
PHP PHP>=8.1.0<8.1.30
PHP PHP>=8.2.0<8.2.24
PHP PHP>=8.3.0<8.3.12
Microsoft cbl2 php 8.1.29-1
Microsoft cbl2 php 8.1.29-1
Microsoft azl3 php 8.3.8-1
Microsoft cbl2 php 8.1.30-1
Microsoft azl3 php 8.3.12-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade PHP to a version that resolves this vulnerability.

    Fixed in 8.3.12
  2. Upgrade

    Upgrade debian/php7.4 to a version that resolves this vulnerability.

    Fixed in 7.4.33-1+deb11u8
  3. Upgrade

    Upgrade debian/php8.2 to a version that resolves this vulnerability.

    Fixed in 8.2.26-1~deb12u1Fixed in 8.2.28-1~deb12u1
  4. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 8.1.30
  5. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 8.2.24
  6. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 8.3.12
  7. Configuration

    If using PHP-FPM SAPI, set catch_workers_output = no to avoid catching workers output (the vulnerability requires catch_workers_output = yes to pollute the final log / remove up to 4 characters).

    PHP-FPM (catch_workers_output) catch_workers_output = no

Event History

Sep 26, 2024
CVE Published
via PHP·12:00 AM
Oct 8, 2024
CVE Published
via MITRE·04:07 AM
Data Sourced
via MITRE·04:07 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·04:15 AM
DescriptionSeverityWeaknessAffected Software
Data Sourced
via Red Hat·04:20 AM
DescriptionSeverityAffected Software
Nov 1, 2024
Data Sourced
via Microsoft·07:00 AM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·07:00 AM
Affected Software
Updated
via Microsoft·07:00 AM
SeverityAffected Software
Updated
via Microsoft·07:00 AM
Affected Software
Updated
via Microsoft·07:00 AM
DescriptionSeverity
Nov 14, 2024
Data Sourced
via Ubuntu·05:02 PM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2024-9026?

CVE-2024-9026 has a medium severity rating due to the potential for log pollution in PHP-FPM configurations.

2

How do I fix CVE-2024-9026?

To fix CVE-2024-9026, upgrade PHP-FPM to versions 8.1.30, 8.2.24, or 8.3.12 or higher.

3

Which PHP versions are affected by CVE-2024-9026?

CVE-2024-9026 affects PHP versions 8.1.* before 8.1.30, 8.2.* before 8.2.24, and 8.3.* before 8.3.12.

4

What is the primary issue caused by CVE-2024-9026?

The primary issue of CVE-2024-9026 is the potential alteration and pollution of logs when using PHP-FPM with catch_workers_output enabled.

5

Are there any recommended remediation steps for CVE-2024-9026?

The recommended remediation steps for CVE-2024-9026 include upgrading to the latest, patched versions of PHP-FPM.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203