Rapid7 Vulnerability & Exploit Database

pfSense: pfSense-SA-17_10.webgui: Arbitrary Code Execution

Back to Search

pfSense: pfSense-SA-17_10.webgui: Arbitrary Code Execution

Severity
4
CVSS
(AV:L/AC:M/Au:N/C:P/I:P/A:P)
Published
12/04/2017
Created
07/25/2018
Added
12/18/2017
Modified
12/18/2017

Description

On pfSense 2.4.x, a command-injection vulnerability exists in system_camanager.php and system_certmanager.php via cert_get_publickey() from certs.inc due to its passing user certificate and key input through a shell command pipe This allows an authenticated WebGUI user with privileges for either of the affected pages to execute commands in the context of the root user. A similar issue exists on pfSense 2.3.x in the cert_get_modulus() function from certs.inc, but it is only used on system_certmanager.php. A user on version 2.4.2, 2.3.5 or earlier of the pfSense software, granted limited access to the pfSense software WebGUI including access to system_camanager.php (2.4.x) or system_certmanager.php (2.3.x, 2.4.x), could leverage these vulnerabilities to gain increased privileges, read arbitrary files, execute commands, or perform other alterations. This is not relevant for admin-level users as there are other deliberate means by which an administrator could run commands.

Solution(s)

  • pfsense-upgrade-latest

With Rapid7 live dashboards, I have a clear view of all the assets on my network, which ones can be exploited, and what I need to do in order to reduce the risk in my environment in real-time. No other tool gives us that kind of value and insight.

– Scott Cheney, Manager of Information Security, Sierra View Medical Center

;