OS Command Injection in pfsense - CVE-2018-16055

 

OS Command Injection in pfsense - CVE-2018-16055

Published: September 27, 2018 / Updated: July 17, 2020


Vulnerability identifier: #VU31200
CSH Severity: High
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber
CVE-ID: CVE-2018-16055
CWE-ID: CWE-78
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Rubicon Communications
Affected software:
pfsense

Detailed vulnerability description

The vulnerability allows a remote authenticated user to execute arbitrary code.

An authenticated command injection vulnerability exists in status_interfaces.php via dhcp_relinquish_lease() in pfSense before 2.4.4 due to its passing user input from the $_POST parameters "ifdescr" and "ipv" to a shell without escaping the contents of the variables. This allows an authenticated WebGUI user with privileges for the affected page to execute commands in the context of the root user when submitting a request to relinquish a DHCP lease for an interface which is configured to obtain its address via DHCP.


How to mitigate CVE-2018-16055

Install update from vendor's website.

Sources