CVE-2016-7418
published 2016-09-17CVE-2016-7418: The php_wddx_push_element function in ext/wddx/wddx.c in PHP before 5.6.26 and 7.x before 7.0.11 allows remote attackers to cause a denial of service (invalid…
PriorityP340high7.5CVSS 3.0
AVNACLPRNUINSUCNINAH
EPSS
11.40%
95.5th percentile
The php_wddx_push_element function in ext/wddx/wddx.c in PHP before 5.6.26 and 7.x before 7.0.11 allows remote attackers to cause a denial of service (invalid pointer access and out-of-bounds read) or possibly have unspecified other impact via an incorrect boolean element in a wddxPacket XML document, leading to mishandling in a wddx_deserialize call.
Affected
16 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| apple | macos_sierra_10.12.2_security_update_2016-003_el_capitan_and_security_update_201 | — | — |
| php | php | <= 5.6.25 | — |
| php | php | — | — |
| php | php | — | — |
| php | php | — | — |
| php | php | — | — |
| php | php | — | — |
| php | php | — | — |
| php | php | — | — |
| php | php | — | — |
| php | php | — | — |
| php | php | — | — |
| php | php | — | — |
| php | php | >= 0 < 5.6.27-r0 | 5.6.27-r0 |
| php | php | >= 0 < 5.6.27-r0 | 5.6.27-r0 |
| php5 | php5 | >= 0 < 5.5.9+dfsg-1ubuntu4.20 | 5.5.9+dfsg-1ubuntu4.20 |
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
osv9.8CRITICAL
vendor_ubuntu9.8CRITICAL
vendor_redhat7.5HIGH
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.
Apple
CVE-2016-7418: macOS Sierra 10.12.2, Security Update 2016-003 El Capitan, and Security Update 2016-007 Yosemite
vendor_apple·2016-12-13·CVSS 7.5
CVE-2016-7418 [HIGH] CVE-2016-7418: macOS Sierra 10.12.2, Security Update 2016-003 El Capitan, and Security Update 2016-007 Yosemite
Apple Security Update: About the security content of macOS Sierra 10.12.2, Security Update 2016-003 El Capitan, and Security Update 2016-007 Yosemite
Product: macOS Sierra 10.12.2, Security Update 2016-003 El Capitan, and Security Update 2016-007 Yosemite
CVE: CVE-2016-7418
Component: CVE-2016-7418
Ubuntu
PHP vulnerabilities
vendor_ubuntu·2016-10-04·CVSS 9.8
CVE-2016-7124 [CRITICAL] PHP vulnerabilities
Title: PHP vulnerabilities
Summary: Several security issues were fixed in PHP.
Taoguang Chen discovered that PHP incorrectly handled certain invalid
objects when unserializing data. A remote attacker could use this issue to
cause PHP to crash, resulting in a denial of service, or possibly execute
arbitrary code. (CVE-2016-7124)
Taoguang Chen discovered that PHP incorrectly handled invalid session
names. A remote attacker could use this issue to inject arbitrary session
data. (CVE-2016-7125)
It was discovered that PHP incorrectly handled certain gamma values in the
imagegammacorrect function. A remote attacker could use this issue to cause
PHP to crash, resulting in a denial of service, or possibly execute
arbitrary code. (CVE-2016-7127)
It was discovered that PHP incorrectly handled c
Red Hat
php: Null pointer dereference in php_wddx_push_element
vendor_redhat·2016-09-12·CVSS 7.5
CVE-2016-7418 [HIGH] CWE-476 php: Null pointer dereference in php_wddx_push_element
php: Null pointer dereference in php_wddx_push_element
The php_wddx_push_element function in ext/wddx/wddx.c in PHP before 5.6.26 and 7.x before 7.0.11 allows remote attackers to cause a denial of service (invalid pointer access and out-of-bounds read) or possibly have unspecified other impact via an incorrect boolean element in a wddxPacket XML document, leading to mishandling in a wddx_deserialize call.
Package: php (Red Hat Enterprise Linux 5) - Will not fix
Package: php53 (Red Hat Enterprise Linux 5) - Will not fix
Package: php (Red Hat Enterprise Linux 6) - Will not fix
Package: php (Red Hat Enterprise Linux 7) - Will not fix
Package: php54-php (Red Hat Software Collections) - Will not fix
Package: php55-php (Red Hat Software Collections) - Will not fix
Package: rh-php56-php (
GHSA
GHSA-8mcg-f54r-6x9w: The php_wddx_push_element function in ext/wddx/wddx
ghsa_unreviewed·2022-05-14
CVE-2016-7418 [HIGH] CWE-119 GHSA-8mcg-f54r-6x9w: The php_wddx_push_element function in ext/wddx/wddx
The php_wddx_push_element function in ext/wddx/wddx.c in PHP before 5.6.26 and 7.x before 7.0.11 allows remote attackers to cause a denial of service (invalid pointer access and out-of-bounds read) or possibly have unspecified other impact via an incorrect boolean element in a wddxPacket XML document, leading to mishandling in a wddx_deserialize call.
OSV
php5, php7.0 vulnerabilities
osv·2016-10-04·CVSS 9.8
CVE-2016-7124 [CRITICAL] php5, php7.0 vulnerabilities
php5, php7.0 vulnerabilities
Taoguang Chen discovered that PHP incorrectly handled certain invalid
objects when unserializing data. A remote attacker could use this issue to
cause PHP to crash, resulting in a denial of service, or possibly execute
arbitrary code. (CVE-2016-7124)
Taoguang Chen discovered that PHP incorrectly handled invalid session
names. A remote attacker could use this issue to inject arbitrary session
data. (CVE-2016-7125)
It was discovered that PHP incorrectly handled certain gamma values in the
imagegammacorrect function. A remote attacker could use this issue to cause
PHP to crash, resulting in a denial of service, or possibly execute
arbitrary code. (CVE-2016-7127)
It was discovered that PHP incorrectly handled certain crafted TIFF image
thumbnails. A remote atta
OSV
CVE-2016-7418: The php_wddx_push_element function in ext/wddx/wddx
osv·2016-09-17·CVSS 7.5
CVE-2016-7418 [HIGH] CVE-2016-7418: The php_wddx_push_element function in ext/wddx/wddx
The php_wddx_push_element function in ext/wddx/wddx.c in PHP before 5.6.26 and 7.x before 7.0.11 allows remote attackers to cause a denial of service (invalid pointer access and out-of-bounds read) or possibly have unspecified other impact via an incorrect boolean element in a wddxPacket XML document, leading to mishandling in a wddx_deserialize call.
No detection rules found.
No public exploits indexed.
HackerOne
CVE-2016-7418 PHP Out-Of-Bounds Read in php_wddx_push_element
hackerone·2020-10-10·CVSS 7.5
CVE-2016-7418 [HIGH] CVE-2016-7418 PHP Out-Of-Bounds Read in php_wddx_push_element
CVE-2016-7418 PHP Out-Of-Bounds Read in php_wddx_push_element
# CVE-2016-7418 PHP Out-Of-Bounds Read in php_wddx_push_element
## 1. Affected Version
+ PHP 7.0.10
+ PHP 5.6.25
## 2. Credit
This vulnerability was discovered by Ke Liu of Tencent's Xuanwu LAB.
## 3. Testing Environments
+ **OS**: Ubuntu
+ **PHP**: [7.0.10](http://php.net/distributions/php-7.0.10.tar.gz)
+ **Compiler**: Clang
+ **CFLAGS**: ``-g -O0 -fsanitize=address``
## 4. PoC
There are **five** similar issues in function ``php_wddx_push_element``, but I'll just demonstrate one issue here. More proof-of-concept files are available at [PHP BUG 73065](https://bugs.php.net/bug.php?id=73065).
```
XML;
$array = wddx_deserialize($xml);
var_dump($array);
?>
```
## 5. Vulnerability Details
AddressSanitizer outp
Bugzilla
CVE-2016-7418 php: Null pointer dereference in php_wddx_push_element
bugzilla·2016-09-19·CVSS 7.5
CVE-2016-7418 [HIGH] CVE-2016-7418 php: Null pointer dereference in php_wddx_push_element
CVE-2016-7418 php: Null pointer dereference in php_wddx_push_element
A null pointer vulnerability was found in function wddx_deserialize.
Upstream bug:
https://bugs.php.net/bug.php?id=73065
Upstream patch:
https://github.com/php/php-src/commit/c4cca4c20e75359c9a13a1f9a36cb7b4e9601d29?w=1
CVE assignment:
http://seclists.org/oss-sec/2016/q3/518
Discussion:
Created php tracking bugs for this issue:
Affects: fedora-all [bug 1377366]
---
This issue happens when untrusted input is unserialized. Doing so it documented as being unsafe:
http://php.net/manual/en/function.unserialize.php
Do not pass untrusted user input to unserialize(). Unserialization can
result in code being loaded and executed due to object instantiation and
autoloading, and a malicious user may be able to exploit t
Bugzilla
CVE-2016-7411 CVE-2016-7412 CVE-2016-7413 CVE-2016-7414 CVE-2016-7416 CVE-2016-7417 CVE-2016-7418 php: various flaws [fedora-all]
bugzilla·2016-09-19·CVSS 9.8
CVE-2016-7411 [CRITICAL] CVE-2016-7411 CVE-2016-7412 CVE-2016-7413 CVE-2016-7414 CVE-2016-7416 CVE-2016-7417 CVE-2016-7418 php: various flaws [fedora-all]
CVE-2016-7411 CVE-2016-7412 CVE-2016-7413 CVE-2016-7414 CVE-2016-7416 CVE-2016-7417 CVE-2016-7418 php: various flaws [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of Fedora.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE
http://www.openwall.com/lists/oss-security/2016/09/15/10http://www.php.net/ChangeLog-5.phphttp://www.php.net/ChangeLog-7.phphttp://www.securityfocus.com/bid/93011http://www.securitytracker.com/id/1036836https://access.redhat.com/errata/RHSA-2018:1296https://bugs.php.net/bug.php?id=73065https://github.com/php/php-src/commit/c4cca4c20e75359c9a13a1f9a36cb7b4e9601d29?w=1https://security.gentoo.org/glsa/201611-22https://www.tenable.com/security/tns-2016-19http://www.openwall.com/lists/oss-security/2016/09/15/10http://www.php.net/ChangeLog-5.phphttp://www.php.net/ChangeLog-7.phphttp://www.securityfocus.com/bid/93011http://www.securitytracker.com/id/1036836https://access.redhat.com/errata/RHSA-2018:1296https://bugs.php.net/bug.php?id=73065https://github.com/php/php-src/commit/c4cca4c20e75359c9a13a1f9a36cb7b4e9601d29?w=1https://security.gentoo.org/glsa/201611-22https://www.tenable.com/security/tns-2016-19
2016-09-17
Published