CVE-2024-51058: TCPDF Local File Inclusion vulnerability
Local File Inclusion (LFI) vulnerability has been discovered in TCPDF 6.7.5. This vulnerability enables a user to read arbitrary files from the server's file system through <img> src tag, potentially exposing sensitive information.
Other sources
TCPDF Local File Inclusion vulnerability
— Packagist
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
composer/tecnickcom/tcpdfto a version that resolves this vulnerability.Fixed in 6.7.6 - Upgrade
Upgrade
debian/tcpdfto a version that resolves this vulnerability.Fixed in 6.6.2+dfsg1-1+deb12u1 - Upgrade
Upgrade
debian/tcpdfto a version that resolves this vulnerability.Fixed in 6.7.7+dfsg-1 - Upgrade
Upgrade
debian/tcpdfto a version that resolves this vulnerability.Fixed in 6.3.5+dfsg1-1+deb11u1Fixed in 6.6.2+dfsg1-1+deb12u1Fixed in 6.7.7+dfsg-1
Event History
Frequently Asked Questions
What is the severity of CVE-2024-51058?
CVE-2024-51058 is considered a high-severity Local File Inclusion (LFI) vulnerability affecting TCPDF 6.7.5.
How do I fix CVE-2024-51058?
To fix CVE-2024-51058, update TCPDF to version 6.7.6 or later.
What can be exploited in CVE-2024-51058?
CVE-2024-51058 can be exploited to read arbitrary files from the server's file system, potentially exposing sensitive information.
Is my software affected by CVE-2024-51058?
If you are using TCPDF version 6.7.5, your software is affected by CVE-2024-51058.
How does CVE-2024-51058 work?
CVE-2024-51058 works by allowing file paths to be controlled through the <img> src tag, leading to unintended file disclosures.