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.
Source :
[email protected]
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.
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
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
None
None
Dompdf RCE PoC Exploit - CVE-2022-28368
cybersecurity exploit cve-2022-28368 dompdf
Python
Hackthebox weekly boxes writeups.
writeups ctf-writeups hackthebox walkthroughs
PHP Python Shell JavaScript C WebAssembly Java Ruby PowerShell Makefile
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]
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