9.8
CRITICAL
CVE-2022-28368
Dompdf PHP File Remote Code Execution Vulnerability
Description

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).

INFO

Published Date :

April 3, 2022, 3:15 a.m.

Last Modified :

Aug. 8, 2023, 2:22 p.m.

Remotely Exploitable :

Yes !

Impact Score :

5.9

Exploitability Score :

3.9
Public PoC/Exploit Available at Github

CVE-2022-28368 has a 6 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

Affected Products

The following products are affected by CVE-2022-28368 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Dompdf_project dompdf
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2022-28368.

URL Resource
http://packetstormsecurity.com/files/171738/Dompdf-1.2.1-Remote-Code-Execution.html
https://github.com/dompdf/dompdf/commit/4c70e1025bcd9b7694b95dd552499bd83cd6141d Patch Third Party Advisory
https://github.com/dompdf/dompdf/issues/2598 Patch Third Party Advisory
https://github.com/dompdf/dompdf/pull/2808 Patch Third Party Advisory
https://github.com/snyk-labs/php-goof Third Party Advisory
https://packagist.org/packages/dompdf/dompdf#v1.2.1 Product Third Party Advisory
https://snyk.io/blog/security-alert-php-pdf-library-dompdf-rce/ Exploit Third Party Advisory

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

An exploit script for CVE-2022-28368 designed to make exploitation less annoying, made for a HTB machine

Python

Updated: 1 year, 6 months ago
0 stars 0 fork 0 watcher
Born at : May 7, 2023, 2:49 p.m. This repo has been linked 1 different CVEs too.

This repository contains a python script that will handle the majority of the dompdf cached font exploit (CVE-2022-28368), all you need to do is create the request

Python

Updated: 1 year, 6 months ago
0 stars 0 fork 0 watcher
Born at : April 28, 2023, 9:49 a.m. This repo has been linked 1 different CVEs too.

None

Updated: 1 year, 7 months ago
0 stars 2 fork 2 watcher
Born at : April 8, 2023, 6:19 a.m. This repo has been linked 923 different CVEs too.

None

Updated: 9 months, 1 week ago
20 stars 3 fork 3 watcher
Born at : Feb. 14, 2023, 6:10 p.m. This repo has been linked 921 different CVEs too.

Dompdf RCE PoC Exploit - CVE-2022-28368

cybersecurity exploit cve-2022-28368 dompdf

Python

Updated: 3 months, 3 weeks ago
17 stars 1 fork 1 watcher
Born at : Feb. 13, 2023, 8:10 a.m. This repo has been linked 1 different CVEs too.

Hackthebox weekly boxes writeups.

writeups ctf-writeups hackthebox walkthroughs

PHP Python Shell JavaScript C WebAssembly Java Ruby PowerShell Makefile

Updated: 5 months, 3 weeks ago
16 stars 2 fork 2 watcher
Born at : Oct. 15, 2020, 11:13 a.m. This repo has been linked 9 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2022-28368 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2022-28368 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CWE Remap by [email protected]

    Aug. 08, 2023

    Action Type Old Value New Value
    Changed CWE CWE-74 CWE-79
  • CVE Modified by [email protected]

    Apr. 06, 2023

    Action Type Old Value New Value
    Added Reference http://packetstormsecurity.com/files/171738/Dompdf-1.2.1-Remote-Code-Execution.html [No Types Assigned]
  • Initial Analysis by [email protected]

    Apr. 12, 2022

    Action Type Old Value New Value
    Added CVSS V2 NIST (AV:N/AC:L/Au:N/C:P/I:P/A:P)
    Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type https://github.com/dompdf/dompdf/commit/4c70e1025bcd9b7694b95dd552499bd83cd6141d No Types Assigned https://github.com/dompdf/dompdf/commit/4c70e1025bcd9b7694b95dd552499bd83cd6141d Patch, Third Party Advisory
    Changed Reference Type https://github.com/dompdf/dompdf/issues/2598 No Types Assigned https://github.com/dompdf/dompdf/issues/2598 Patch, Third Party Advisory
    Changed Reference Type https://github.com/dompdf/dompdf/pull/2808 No Types Assigned https://github.com/dompdf/dompdf/pull/2808 Patch, Third Party Advisory
    Changed Reference Type https://github.com/snyk-labs/php-goof No Types Assigned https://github.com/snyk-labs/php-goof Third Party Advisory
    Changed Reference Type https://packagist.org/packages/dompdf/dompdf#v1.2.1 No Types Assigned https://packagist.org/packages/dompdf/dompdf#v1.2.1 Product, Third Party Advisory
    Changed Reference Type https://snyk.io/blog/security-alert-php-pdf-library-dompdf-rce/ No Types Assigned https://snyk.io/blog/security-alert-php-pdf-library-dompdf-rce/ Exploit, Third Party Advisory
    Added CWE NIST CWE-74
    Added CPE Configuration OR *cpe:2.3:a:dompdf_project:dompdf:*:*:*:*:*:*:*:* versions up to (excluding) 1.2.1
  • CVE Modified by [email protected]

    Apr. 03, 2022

    Action Type Old Value New Value
    Added Reference https://github.com/dompdf/dompdf/commit/4c70e1025bcd9b7694b95dd552499bd83cd6141d [No Types Assigned]
    Added Reference https://github.com/dompdf/dompdf/pull/2808 [No Types Assigned]
    Added Reference https://github.com/dompdf/dompdf/issues/2598 [No Types Assigned]
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2022-28368 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2022-28368 weaknesses.

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

21.96 }} 0.93%

score

0.96603

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability