XML External Entity injection in pfsense - CVE-2019-16701

 

XML External Entity injection in pfsense - CVE-2019-16701

Published: September 27, 2019 / Updated: June 17, 2021


Vulnerability identifier: #VU21375
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P/U:Green
CVE-ID: CVE-2019-16701
CWE-ID: CWE-611
Exploitation vector: Remote access
Exploit availability: Public exploit is available
Vendor: Rubicon Communications
Affected software:
pfsense

Detailed vulnerability 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 methodCall XML document to the affected application and execute arbitrary OS commands on the system via the pfsense.exec_php call containing shell metacharacters in a parameter value.

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.


How to mitigate CVE-2019-16701

Cybersecurity Help is currently unaware of any official solution to address this vulnerability.

Sources