cbcvebase.
CVE-2022-28368
published 2022-04-03

CVE-2022-28368: Dompdf 1.2.1 allows remote code execution via a .php file in the src:url field of an @font-face Cascading Style Sheets (CSS) statement (within an HTML input…

PriorityP279critical9.8CVSS 3.1
AVNACLPRNUINSUCHIHAH
EXPLOIT
EPSS
82.44%
99.6th percentile
Dompdf 1.2.1 allows remote code execution via a .php file in the src:url field of an @font-face Cascading Style Sheets (CSS) statement (within an HTML input file).

Affected

3 ranges
VendorProductVersion rangeFixed in
debianphp-dompdf
dompdfdompdf>= 0 < 1.2.11.2.1
dompdf_projectdompdf< 1.2.11.2.1

Detection & IOCsextracted from sources · hover to see the quote

  • ·For dompdf versions 0.8.6 through 1.2.0, the vulnerability is only exploitable when $isRemoteEnabled is set to true. Disabling remote resource loading mitigates the attack for these versions.
  • ·For dompdf versions <= 0.8.5, $isRemoteEnabled has no effect and remote font loading (and thus exploitation) is always possible regardless of configuration.
  • ·Exploitation also requires that the dompdf font cache directory (lib/fonts/) is web-accessible; if it is not directly reachable by the web server, the cached PHP webshell cannot be triggered.

CVSS provenance

nvdv3.19.8CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
nvdv2.07.5HIGHAV:N/AC:L/Au:N/C:P/I:P/A:P
vendor_debian9.8LOW
CVEs like this are exactly what “Exploited This Week” covers.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.