Tóm tắt nhanh
- CVE-2025-47778 là lỗ hổng mức TRUNG BÌNH (CVSS 6.1) ảnh hưởng sulu/sulu.
- Xác suất bị khai thác trong 30 ngày tới (EPSS): 0.47%, cao hơn 40.6% các lỗ hổng khác.
- Cách xử lý: cập nhật lên 2.5.25, 2.6.9, 3.0.0-alpha3 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á |
|---|
| sulu/sulu Packagist | ≥ 2.5.21, < 2.5.25≥ 2.6.5, < 2.6.9≥ 3.0.0-alpha1, < 3.0.0-alpha3
| 2.5.252.6.93.0.0-alpha3
|
Mô tả
Impact
A admin user can upload SVG which may load external data via XML DOM library, specially this can be used for eventually reference none secure XML External Entity References.
Patches
The problem has not been patched yet. Users should upgrade to patched versions once they become available. Currently affected versions are:
- 2.6.9
- 2.5.25
- 3.0.0-alpha3
Workarounds
Patch the effect file src/Sulu/Bundle/MediaBundle/FileInspector/SvgFileInspector.php in sulu with:
-$dom->loadXML($svg, \LIBXML_NOENT | \LIBXML_DTDLOAD);
+$dom->loadXML($data, LIBXML_NONET);
References
Mô tả của NVD
Sulu is an open-source PHP content management system based on the Symfony framework. Starting in versions 2.5.21, 2.6.5, and 3.0.0-alpha1, an admin user can upload SVG which may load external data via XML DOM library. This can be used for insecure XML External Entity References. The problem has been patched in versions 2.6.9, 2.5.25, and 3.0.0-alpha3. As a workaround, one may patch the effect file `src/Sulu/Bundle/MediaBundle/FileInspector/SvgFileInspector.php` manually.
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í