Improper certificate validation in TCPDF - CVE-2024-56521
Published: December 30, 2024
Vulnerability identifier: #VU102264
CSH Severity: Low
CVSS v4: 5.1 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2024-56521
CWE-ID: CWE-295
Exploitation vector: Remote access
Exploit availability:
No public exploit available
Vulnerability details
The vulnerability allows a remote attacker to perform MitM attack.
The vulnerability exists due to improper certificate validation when using CURLOPT_SSL_VERIFYHOST and CURLOPT_SSL_VERIFYPEER. A remote attacker can perform MitM attack and pass spoofed content into PDF file.
Affected software
TCPDF
Fedora
phpMyAdmin
php-tcpdf
Fedora
phpMyAdmin
php-tcpdf
How to mitigate CVE-2024-56521
Install updates from vendor's website.
TCPDF - update to 6.8.0
phpMyAdmin - addressed in versions 5.2.2-1.fc40, 5.2.2-1.fc41
php-tcpdf - addressed in versions 6.8.0-1.fc40, 6.8.0-1.fc41
phpMyAdmin - addressed in versions 5.2.2-1.fc40, 5.2.2-1.fc41
php-tcpdf - addressed in versions 6.8.0-1.fc40, 6.8.0-1.fc41