SB2023021613 - Remote code execution in Dompdf
Published: February 16, 2023 Updated: February 20, 2023
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 1 security vulnerability.
1) Files or Directories Accessible to External Parties (CVE-ID: CVE-2022-41343)
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 update from vendor's website.