CVE-2019-11831
Vulnerability Summary
Timeline
Description
The PharStreamWrapper (aka phar-stream-wrapper) package 2.x before 2.1.1 and 3.x before 3.1.1 for TYPO3 does not prevent directory traversal, which allows attackers to bypass a deserialization protection mechanism, as demonstrated by a phar:///path/bad.phar/../good.phar URL.
CVSS Metrics
- v3.1•CRITICAL•Score: 9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- v2.0•HIGH•Score: 7.5AV:N/AC:L/Au:N/C:P/I:P/A:P
EPSS Trends
Current EPSS score: 28.62%• Percentile: 97%
Techniques & Countermeasures
- CWE-22•Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.
- CWE-502•Deserialization of Untrusted Data
The product deserializes untrusted data without sufficiently ensuring that the resulting data will be valid.
Affected Systems
- debian•debian_linux
8.0 | 9.0
- drupal•drupal
≥ 7.0, < 7.67 | ≥ 8.6.0, < 8.6.16 | ≥ 8.7.0, < 8.7.1
- fedoraproject•fedora
28 | 29 | 30
- Unknown•Joomla!
≥ 3.9.3, ≤ 3.9.5
- typo3•pharstreamwrapper
≥ 2.0.0, < 2.1.1 | ≥ 3.0.0, < 3.1.1
References (15)
- https://www.drupal.org/sa-core-2019-007
- https://github.com/TYPO3/phar-stream-wrapper/releases/tag/v3.1.1
- https://github.com/TYPO3/phar-stream-wrapper/releases/tag/v2.1.1
- https://typo3.org/security/advisory/typo3-psa-2019-007/
- https://www.synology.com/security/advisory/Synology_SA_19_22
- http://www.securityfocus.com/bid/108302
- https://www.debian.org/security/2019/dsa-4445
- https://seclists.org/bugtraq/2019/May/36
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/U6JX7WR6DPMKCZQP7EYFACYXSGJ3K523/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/AUEXS4HRI4XZ2DTZMWAVQBYBTFSJ34AR/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/65ODQHDHWR74L6TCAPAQR5FQHG6MCXAW/
- https://lists.debian.org/debian-lts-announce/2019/05/msg00029.html
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6QDJVUJPUW3RZ4746SC6BX4F4T6ZXNBH/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/Z246UWBXBEKTQUDTLRJTC7XYBIO4IBE4/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/E3NUKPG7V4QEM6QXRMHYR4ABFMW5MM2P/