CVE-2018-15132: Infoleak

Published Jul 19, 2018
·
Updated

An issue was discovered in ext/standard/linkwin32.c in PHP before 5.6.37, 7.0.x before 7.0.31, 7.1.x before 7.1.20, and 7.2.x before 7.2.8. The linkinfo function on Windows doesn't implement the openbasedir check. This could be abused to find files on paths outside of the allowed directories.

Other sources

Fixed bug (windows linkinfo lacks openbasedir check). (CVE-2018-15132)

— PHP

Affected Software

7 affected componentsFixes available
PHP PHP<5.6.37
PHP PHP>=7.0.0<7.0.31
PHP PHP>=7.1.0<7.1.20
PHP PHP>=7.2.0<7.2.8
NetApp Storage Automation Store
PHP PHP<7.0.31
7.0.31
alpine/php7<7.1.29-r0
7.1.29-r0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade PHP to a version that resolves this vulnerability.

    Fixed in 7.0.31
  2. Upgrade

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

    Fixed in 7.1.29-r0
  3. Upgrade

    Upgrade PHP to a version that resolves this vulnerability.

    Fixed in 5.6.37
  4. Upgrade

    Upgrade PHP to a version that resolves this vulnerability.

    Fixed in 7.1.20
  5. Upgrade

    Upgrade PHP to a version that resolves this vulnerability.

    Fixed in 7.2.8

Event History

Jul 19, 2018
CVE Published
via PHP·12:00 AM
Aug 7, 2018
CVE Published
via MITRE·03:00 PM
Data Sourced
via MITRE·03:00 PM
Description
Data Sourced
via OSV·03:29 PM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2018-15132?

CVE-2018-15132 is considered a medium severity vulnerability due to its ability to expose sensitive file paths.

2

How do I fix CVE-2018-15132?

To fix CVE-2018-15132, upgrade PHP to versions 5.6.37, 7.0.31, 7.1.20, or 7.2.8 or later.

3

What systems are affected by CVE-2018-15132?

CVE-2018-15132 affects PHP versions prior to 5.6.37, 7.0.x before 7.0.31, 7.1.x before 7.1.20, and 7.2.x before 7.2.8 on Windows.

4

What is the impact of CVE-2018-15132?

The impact of CVE-2018-15132 is that it allows attackers to bypass the open_basedir restriction, potentially leading to information disclosure.

5

Is there a workaround for CVE-2018-15132?

As a temporary workaround for CVE-2018-15132, you could restrict access to sensitive directories while planning to update PHP.

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