CVE-2018-17057 TCPDF vulnerable to attackers triggering deserialization of arbitrary data
Attackers can execute arbitrary code by triggering unsafe deserialization of arbitrary data via the phar:// wrapper in the TCPDF library.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2018-17057?
CVE-2018-17057 is a critical unsafe deserialization vulnerability in Limesurvey Limesurvey, published on 14 Sep 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
An issue was discovered in TCPDF before 6.2.22. Attackers can trigger deserialization of arbitrary data via the phar:// wrapper.
Weakness: CWE-502
Which versions are affected by CVE-2018-17057?
8 open source packages ship an affected version, including fooman/tcpdf, la-haute-societe/tcpdf and spoonity/tcpdf. It affects 2 products.
| Package | Affected | Fixed in |
|---|---|---|
fooman/tcpdf Packagist | All versions | 6.2.22 |
fooman/tcpdf Packagist | All versions | 6.2.22 |
la-haute-societe/tcpdf Packagist | All versions | 6.2.22 |
la-haute-societe/tcpdf Packagist | All versions | 6.2.22 |
spoonity/tcpdf Packagist | All versions | 6.2.22 |
spoonity/tcpdf Packagist | All versions | 6.2.22 |
2 more packages
tecnickcom/tcpdf Packagist | All versions | 6.2.22 |
tecnickcom/tcpdf Packagist | All versions | 6.2.22 |
Products include Limesurvey Limesurvey, Tecnick Tcpdf.
How do I fix CVE-2018-17057?
Upgrade fooman/tcpdf to 6.2.22 or later.
Upgrade, and only deserialise data from trusted sources or with an allow-list of types. More about Unsafe deserialization.
Is CVE-2018-17057 being exploited?
There is no known exploitation of CVE-2018-17057 in the wild and no public exploit code.
Public exploit code: 1 Exploit-DB entry.
Other vulnerabilities in Limesurvey Limesurvey
Sources
Also known as DEBIAN-CVE-2018-17057, GHSA-5hw4-m7f3-hhx8, UBUNTU-CVE-2018-17057.