#VU72316 Files or Directories Accessible to External Parties in Dompdf - CVE-2022-41343

 

#VU72316 Files or Directories Accessible to External Parties in Dompdf - CVE-2022-41343

Published: February 16, 2023 / Updated: February 20, 2023


Vulnerability identifier: #VU72316
Vulnerability risk: High
CVSSv4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P/U:Amber
CVE-ID: CVE-2022-41343
CWE-ID: CWE-552
Exploitation vector: Remote access
Exploit availability: Public exploit is available
Vulnerable software:
Dompdf
Software vendor:
dompdf

Description

The vulnerability allows a remote attacker to compromise the affected system.

The vulnerability exists due to insecure handling of data passed via the "src:url" field of an @font-face Cascading Style Sheets (CSS) statement inside an HTML input file to the registerFont() function in FontMetrics.php. A remote attacker can write arbitrary data to the filesystem (e.g. can create a .php file) and later execute it on the server.

Note, the vulnerability exists due to insufficient patch for #VU72315 (CVE-2022-28368).


Remediation

Install updates from vendor's website.

External links