همهٔ گزارش‌ها
زیاد

OWSLib vulnerable to XML External Entity (XXE) Injection

متن اصلی

نسخه‌های متأثر

بازه‌ها نیاز به بررسی دارند.

نسخه‌های متأثر
<0.28.1
نسخهٔ اصلاح‌شده
0.28.1
نسخه‌های متأثر
< 0.28.1
نسخهٔ اصلاح‌شده
0.28.1

بهره‌برداری

CVE-2023-27476

احتمال بهره‌برداری در ۳۰ روز آینده: 0.98%

FIRST EPSS · ۱۴۰۵/۰۹/۰۱

شرح آسیب‌پذیری

Impact

OWSLib's XML parser (which supports both lxml and xml.etree) does not disable entity resolution for lxml, and could lead to arbitrary file reads from an attacker-controlled XML payload. This affects all XML parsing in the codebase.

Patches
Workarounds
patch_well_known_namespaces(etree)
etree.set_default_parser(
    parser=etree.XMLParser(resolve_entities=False)
)
References

پیوندها

گزارش‌دهندگان

  • jorgectf