Tóm tắt nhanh
- CVE-2021-3838 là lỗ hổng mức NGHIÊM TRỌNG (CVSS 9.8) ảnh hưởng dompdf/dompdf, dompdf (dompdf project).
- Xác suất bị khai thác trong 30 ngày tới (EPSS): 1.4%, cao hơn 73.1% các lỗ hổng khác.
- Cách xử lý: cập nhật lên 2.0.0 hoặc mới hơn.
| Gói / sản phẩm | Phiên bản bị ảnh hưởng | Phiên bản đã vá |
|---|
| dompdf/dompdf Packagist | < 2.0.0
| 2.0.0
|
| dompdf | < 2.0.0
| 2.0.0
|
Mô tả
DomPDF before version 2.0.0 is vulnerable to PHAR (PHP Archive) deserialization due to a lack of checking on the protocol before passing it into the file_get_contents() function. An attacker who can upload files of any type to the server can pass in the phar:// protocol to unserialize the uploaded file and instantiate arbitrary PHP objects. This can lead to remote code execution, especially when DOMPdf is used with frameworks with documented POP chains like Laravel or vulnerable developer code.
Mô tả của NVD
DomPDF before version 2.0.0 is vulnerable to PHAR deserialization due to a lack of checking on the protocol before passing it into the file_get_contents() function. An attacker who can upload files of any type to the server can pass in the phar:// protocol to unserialize the uploaded file and instantiate arbitrary PHP objects. This can lead to remote code execution, especially when DOMPdf is used with frameworks with documented POP chains like Laravel or vulnerable developer code.
Bạn đang dùng một trong các sản phẩm này? Quét site để biết có đang lộ phiên bản có lỗ hổng không.
Quét site miễn phí