CVE-2018-10545: Infoleak

Published Nov 30, 2017
·
Updated

A flaw was found in PHP versions 5.6 and 7.x. After changing UID and GID, PHP-FPM sets pool worker processes to be dumpable. This allows a local user with the same UID and GID to attach to the PHP-FPM workers and gain access to any restricted resources that are not supposed to be allowed. As a result sensitive configuration data for other accounts can be accessed directly in the PHP worker process's memory.

References: https://bugs.php.net/bug.php?id=75605

Patch: https://bugs.php.net/patch-display.php?bugid=75605&patch=bug75605-patch-for-5-6&revision=latest https://bugs.php.net/patch-display.php?bugid=75605&patch=bug75605-patch-for-7-0&revision=latest

Other sources

An issue was discovered in PHP before 5.6.35, 7.0.x before 7.0.29, 7.1.x before 7.1.16, and 7.2.x before 7.2.4. Dumpable FPM child processes allow bypassing opcache access controls because fpmunix.c makes a PRSETDUMPABLE prctl call, allowing one user (in a multiuser environment) to obtain sensitive information from the process memory of a second user's PHP applications by running gcore on the PID of the PHP-FPM worker process.

Fixed bug (Dumpable FPM child processes allow bypassing opcache access controls). (CVE-2018-10545)

— PHP

Affected Software

23 affected componentsFixes available
redhat/rh-php71-php<0:7.1.30-1.el7
0:7.1.30-1.el7
debian/php5
debian/php7.0
debian/php7.1
redhat/php<5.6.35
5.6.35
redhat/php<7.0.29
7.0.29
redhat/php<7.1.16
7.1.16
redhat/php<7.2.4
7.2.4
PHP PHP<7.0.29
7.0.29
PHP PHP<5.6.35
PHP PHP>=7.0.0<7.0.29
PHP PHP>=7.1.0<7.1.16
PHP PHP>=7.2.0<7.2.4
Canonical Ubuntu Linux=12.04
Canonical Ubuntu Linux=14.04
Canonical Ubuntu Linux=16.04
Canonical Ubuntu Linux=17.10
Canonical Ubuntu Linux=18.04
Debian Debian Linux=7.0
Debian Debian Linux=8.0
Debian Debian Linux=9.0
NetApp Storage Automation Store
alpine/php7<7.1.17-r0
7.1.17-r0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/rh-php71-php to a version that resolves this vulnerability.

    Fixed in 0:7.1.30-1.el7
  2. Upgrade

    Upgrade redhat/php to a version that resolves this vulnerability.

    Fixed in 5.6.35
  3. Upgrade

    Upgrade redhat/php to a version that resolves this vulnerability.

    Fixed in 7.0.29
  4. Upgrade

    Upgrade redhat/php to a version that resolves this vulnerability.

    Fixed in 7.1.16
  5. Upgrade

    Upgrade redhat/php to a version that resolves this vulnerability.

    Fixed in 7.2.4
  6. Upgrade

    Upgrade PHP to a version that resolves this vulnerability.

    Fixed in 7.0.29
  7. Upgrade

    Upgrade alpine/php7 to a version that resolves this vulnerability.

    Fixed in 7.1.17-r0
  8. Upgrade

    Upgrade PHP-FPM to a version that resolves this vulnerability.

    Fixed in 5.6.35
  9. Upgrade

    Upgrade PHP-FPM to a version that resolves this vulnerability.

    Fixed in 7.0.29
  10. Upgrade

    Upgrade PHP-FPM to a version that resolves this vulnerability.

    Fixed in 7.1.16
  11. Upgrade

    Upgrade PHP-FPM to a version that resolves this vulnerability.

    Fixed in 7.2.4

Event History

Nov 30, 2017
CVE Published
12:00 AM
Apr 29, 2018
CVE Published
via MITRE·09:00 PM
Data Sourced
via MITRE·09:00 PM
Description
Data Sourced
via OSV·09:29 PM
DescriptionSeverityAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is the severity of CVE-2018-10545?

CVE-2018-10545 has been classified as a medium-severity vulnerability due to its potential impact on sensitive data exposure.

2

How do I fix CVE-2018-10545?

To resolve CVE-2018-10545, update PHP to versions 5.6.35, 7.0.29, 7.1.30, or 7.2.4 as recommended in the vendor documentation.

3

What versions of PHP are affected by CVE-2018-10545?

PHP versions 5.6 and 7.0.x through 7.1.x prior to 7.1.30 are vulnerable to CVE-2018-10545.

4

Can local users exploit CVE-2018-10545?

Yes, local users with the same UID and GID can exploit CVE-2018-10545 to attach to PHP-FPM workers.

5

Is CVE-2018-10545 related to PHP-FPM?

Yes, CVE-2018-10545 specifically impacts the PHP-FPM component, allowing unauthorized access to worker processes.

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