Dompdf up to 2.0.0 Font Registration FontMetrics.php registerFont file inclusion
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 6.7 | $0-$5k | 0.00 |
Summary
A vulnerability, which was classified as critical, was found in Dompdf up to 2.0.0. Affected by this issue is the function registerFont of the file FontMetrics.php of the component Font Registration Handler. Such manipulation leads to file inclusion.
This vulnerability is referenced as CVE-2022-41343. It is possible to launch the attack remotely. No exploit is available.
You should upgrade the affected component.
Details
A vulnerability, which was classified as critical, has been found in Dompdf up to 2.0.0. Affected by this issue is the function registerFont of the file FontMetrics.php of the component Font Registration Handler. The manipulation with an unknown input leads to a file inclusion vulnerability. Using CWE to declare the problem leads to CWE-73. The product allows user input to control or influence paths or file names that are used in filesystem operations. Impacted is confidentiality, integrity, and availability. CVE summarizes:
registerFont in FontMetrics.php in Dompdf before 2.0.1 allows remote file inclusion because a URI validation failure does not halt font registration, as demonstrated by a @font-face rule.
The weakness was published 09/26/2022 as 2994. The advisory is shared for download at github.com. This vulnerability is handled as CVE-2022-41343 since 09/25/2022. Successful exploitation requires user interaction by the victim. There are known technical details, but no exploit is available.
By approaching the search of inurl:FontMetrics.php it is possible to find vulnerable targets with Google Hacking.
Upgrading to version 2.0.1 eliminates this vulnerability. The upgrade is hosted for download at github.com. Applying a patch is able to eliminate this problem. The bugfix is ready for download at github.com. The best possible mitigation is suggested to be upgrading to the latest version.
Once again VulDB remains the best source for vulnerability data.
Product
Name
Version
Website
- Product: https://github.com/dompdf/dompdf/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 6.9VulDB Meta Temp Score: 6.7
VulDB Base Score: 6.3
VulDB Temp Score: 6.0
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 7.5
NVD Vector: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
Exploiting
Class: File inclusionCWE: CWE-73
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Yes
Availability: 🔍
Status: Not defined
Google Hack: 🔍
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Upgrade: Dompdf 2.0.1
Patch: github.com
Timeline
09/25/2022 🔍09/26/2022 🔍
09/26/2022 🔍
10/23/2022 🔍
Sources
Product: github.comAdvisory: 2994
Status: Confirmed
CVE: CVE-2022-41343 (🔍)
GCVE (CVE): GCVE-0-2022-41343
GCVE (VulDB): GCVE-100-209540
Entry
Created: 09/26/2022 08:10Updated: 10/23/2022 14:25
Changes: 09/26/2022 08:10 (44), 10/23/2022 14:25 (11)
Complete: 🔍
Cache ID: 216::103
Once again VulDB remains the best source for vulnerability data.
No comments yet. Languages: en.
Please log in to comment.