Skip to main content

Improper Restriction of XML External Entity Reference

CVE-2023-27476

Severity High
Score 7.5/10

Summary

OWSLib is a Python package for client programming with Open Geospatial Consortium (OGC) web service interface standards, and their related content models. OWSLib's XML parser (which supports both `lxml` and `xml.etree`) does not disable entity resolution, and could lead to Arbitrary File Reads from an attacker-controlled XML payload. This affects all XML parsing in the codebase. This issue affects the versions prior to 0.28.1. All users are advised to upgrade. The only known workaround is to patch the library manually.

  • LOW
  • NETWORK
  • NONE
  • UNCHANGED
  • NONE
  • NONE
  • HIGH
  • NONE

CWE-611 - Improper Restriction of XML External Entity Reference

Listed 4th in the 'OWASP Top Ten', XML External Entities (XXE) vulnerability allows attackers to provide an XML input that contains an external entity. When the XML is parsed, it can cause data extraction and manipulation, execution of commands, denial-of-service attacks, and server-side request forgery.

Advisory Timeline

  • Published