Skip to main content

Incorrect Authorization

CVE-2023-23924

Severity High
Score 9.8/10

Summary

Dompdf is an HTML to PDF converter. The URI validation on dompdf versions prior to 2.0.2 can be bypassed on SVG parsing by passing "<image>" tags with uppercase letters. This may lead to arbitrary object unserialize on PHP prior to 8.0.0, 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. It leads to arbitrary unserialized, which will lead to the very least arbitrary file deletion and even remote code execution, depending on classes that are available.

  • LOW
  • NETWORK
  • HIGH
  • UNCHANGED
  • NONE
  • NONE
  • HIGH
  • HIGH

CWE-863 - Incorrect Authorization

Authorization is a security mechanism performed by an application to grant or deny access to the requested resources by verifying the privileges of the user. When an application lacks effective authorization mechanisms, it enables unauthorized users to gain unintended privileges and illegitimate access to resources. Such a vulnerability may result in exposure of sensitive information, denial of service, arbitrary code execution, and complete system takeover.

Advisory Timeline

  • Published