Deserialization of untrusted data in phar-stream-wrapper - CVE-2019-11831

 

Deserialization of untrusted data in phar-stream-wrapper - CVE-2019-11831

Published: May 9, 2019


Vulnerability identifier: #VU18416
CSH Severity: High
CVSS v4: 9.2 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2019-11831
CWE-ID: CWE-502
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to insecure input validation when processing serialized data passed via phar archives. A remote attacker can pass specially crafted data to the application and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


Affected software

phar-stream-wrapper
Fedora
Drupal
drupal7 (Alpine package)
drupal7 (Debian package)
drupal7

How to mitigate CVE-2019-11831

Install updates from vendor's website.

phar-stream-wrapper - addressed in versions 2.1.1, 3.1.1
Drupal - addressed in versions 7.67, 8.6.16, 8.7.1
drupal7 (Alpine package) - update to 7.67-r0
drupal7 (Debian package) - update to 7.52-2+deb9u9
drupal7 - addressed in versions 7.67-1.el6, 7.67-1.el7, 7.67-1.fc28, 7.67-1.fc29, 7.67-1.fc30

External References

Related Security Bulletins