XML External Entity injection in Owslib - CVE-2023-27476

 

XML External Entity injection in Owslib - CVE-2023-27476

Published: June 15, 2023


Vulnerability identifier: #VU77452
CSH Severity: Medium
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2023-27476
CWE-ID: CWE-611
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to gain access to sensitive information.

The vulnerability exists due to insufficient validation of user-supplied XML input. A remote attacker can pass a specially crafted XML code to the affected application and view contents of arbitrary files on the system or initiate requests to external systems.

Successful exploitation of the vulnerability may allow an attacker to view contents of arbitrary file on the server or perform network scanning of internal and external infrastructure.


Affected software

Owslib
Debian Linux
Fedora
Ubuntu
python-OWSLib
owslib (Ubuntu package)
owslib (Debian package)
mingw-python-OWSLib

How to mitigate CVE-2023-27476

Install updates from vendor's website.

Owslib - update to 0.28.1
python-OWSLib - update to 0.9.2-2.el7
owslib (Ubuntu package) - addressed in versions 0.10.3-1ubuntu0.1~esm1, 0.16.0-1ubuntu0.1~esm1, 0.19.1-1ubuntu0.1~esm1, 0.25.0-1ubuntu0.1~esm1
owslib (Debian package) - update to 0.23.0-1+deb11u1
mingw-python-OWSLib - addressed in versions 0.28.1-1.fc36, 0.28.1-1.fc37, 0.28.1-1.fc38

External References

Related Security Bulletins