Intel

AIKIDO-2024-10399

tecnickcom/tcpdf is vulnerable to Path Traversal

Path TraversalCVE-2024-51058 Published Oct 31, 2024

60

Medium Risk

This Affects:

phptecnickcom/tcpdf
2.0.000 - 6.7.5
Fixed in 6.7.6
Are you affected? Scan for Free

TL;DR

Affected versions of this package are vulnerable to path traversal when handling image tags in the openHTMLTagHandler function. An attacker can craft malicious image tags with directory traversal sequences, allowing them to access files outside the intended directory, potentially leading to unauthorized access to sensitive files on the server.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

tecnickcom/tcpdf is vulnerable to Path Traversal in versions 2.0.000 - 6.7.5.

How to fix this

Upgrade the tecnickcom/tcpdf library to the patch version.