CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2023 · Dompdf Project

CVE-2023-23924
Dompdf Project Dompdf vulnerability

Dompdf is an HTML to PDF converter. The URI validation on dompdf 2.0.1 can be bypassed on SVG parsing by passing `<image>` tags with uppercase letters. This may lead to arbitrary object unserialize on PHP < 8, through the `phar` URL wrapper. An attacker can exploit the vulnerability to call arbitrary URL with arbitrary protocols, if they can provide a SVG file to dompdf. In PHP versions before 8.0.0, it leads to arbitrary unserialize, that will lead to the very least to an arbitrary file deletion and even remote code execution, depending on classes that are available.

High priority: this vulnerability is rated critical and can be attacked over the network without a login.

Affected products

Dompdf. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Dompdf Project Dompdf runs anywhere in your environment, including systems of suppliers.
  • UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
  • Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.

References

More vulnerabilities in Dompdf Project products

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.