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


Vulnerability identifier: #VU77452

Vulnerability risk: Medium

CVSSv4.0: 6.6 [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/E:U/U:Green]

CVE-ID: CVE-2023-27476

CWE-ID: CWE-611

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
Owslib

Vendor: trac.osgeo.org

Description

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.

Mitigation
Install updates from vendor's website.

Vulnerable software versions

Owslib: 0.4.0 - 0.28.0


External links
https://github.com/geopython/OWSLib/security/advisories/GHSA-8h9c-r582-mggc
https://github.com/geopython/OWSLib/pull/863/commits/b92687702be9576c0681bb11cad21eb631b9122f
https://securitylab.github.com/advisories/GHSL-2022-131_owslib/
https://www.debian.org/security/2023/dsa-5426


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability