PT-2018-13391 · Netgate · Pfsense
Reginald Dodd
·
Published
2018-09-26
·
Updated
2019-10-03
·
CVE-2018-16055
CVSS v2.0
9.0
High
| Vector | AV:N/AC:L/Au:S/C:C/I:C/A:C |
Name of the Vulnerable Software and Affected Versions
pfSense versions prior to 2.4.4
Description
The issue arises from an authenticated command injection vulnerability in the status interfaces.php file, specifically through the dhcp relinquish lease() function. This function passes user input from the
ifdescr and ipv variables in the $ POST parameters to a shell without properly escaping the contents. As a result, an authenticated WebGUI user with sufficient privileges can execute commands as the root user by submitting a request to relinquish a DHCP lease for an interface configured to obtain its address via DHCP.Recommendations
For versions prior to 2.4.4, update to version 2.4.4 or later to resolve the issue. As a temporary workaround, consider restricting access to the status interfaces.php page and the dhcp relinquish lease() function to minimize the risk of exploitation. Avoid using the
ifdescr and ipv variables in the affected API endpoint until the issue is resolved.Fix
OS Command Injection
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Pfsense