cbcvebase.
CVE-2018-10548
published 2018-04-29

CVE-2018-10548: An issue was discovered in PHP before 5.6.36, 7.0.x before 7.0.30, 7.1.x before 7.1.17, and 7.2.x before 7.2.5. ext/ldap/ldap.c allows remote LDAP servers to…

PriorityP338high7.5CVSS 3.0
AVNACLPRNUINSUCNINAH
EPSS
8.68%
94.5th percentile
An issue was discovered in PHP before 5.6.36, 7.0.x before 7.0.30, 7.1.x before 7.1.17, and 7.2.x before 7.2.5. ext/ldap/ldap.c allows remote LDAP servers to cause a denial of service (NULL pointer dereference and application crash) because of mishandling of the ldap_get_dn return value.

Affected

13 ranges
VendorProductVersion rangeFixed in
canonicalubuntu_linux
canonicalubuntu_linux
canonicalubuntu_linux
canonicalubuntu_linux
canonicalubuntu_linux
debiandebian_linux
debiandebian_linux
debiandebian_linux
phpphp< 5.6.365.6.36
phpphp>= 7.0.0 < 7.0.307.0.30
phpphp>= 7.1.0 < 7.1.177.1.17
phpphp>= 7.2.0 < 7.2.57.2.5
php5php5>= 0 < 5.5.9+dfsg-1ubuntu4.255.5.9+dfsg-1ubuntu4.25

Detection & IOCsextracted from sources · hover to see the quote

  • The vulnerability is triggered by a malicious remote LDAP server sending a crafted reply that causes mishandling of the ldap_get_dn return value in ext/ldap/ldap.c, resulting in a NULL pointer dereference and PHP application crash (DoS).
  • Monitor for unexpected PHP process crashes (segfaults/NULL pointer dereferences) originating from LDAP operations, which may indicate exploitation attempts from a malicious LDAP server.
  • Upstream patch commit for reference in source-level detection or patch verification: https://git.php.net/?p=php-src.git;a=commit;h=49782c54994ecca2ef2a061063bd5a7079c43527
  • ·Affected PHP versions are 5.x before 5.6.36, 7.0.x before 7.0.30, 7.1.x before 7.1.17, and 7.2.x before 7.2.5. PHP 8 (Red Hat Enterprise Linux 8) is listed as not affected.
  • ·Red Hat Enterprise Linux 5, 6, and 7 packages (php, php53, rh-php70-php) are marked 'Will not fix', meaning patched packages may not be available from Red Hat for those platforms.

CVSS provenance

nvdv3.07.5HIGHCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
nvdv2.05.0MEDIUMAV:N/AC:L/Au:N/C:N/I:N/A:P
osv7.5HIGH
vendor_redhat7.5HIGH
vendor_ubuntu4.7MEDIUM
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.