Rapid7 Vulnerability & Exploit Database

pfSense: pfSense-SA-23_06.webgui: Authenticated Command Execution in the WebGUI

Free InsightVM Trial No Credit Card Necessary
2024 Attack Intel Report Latest research by Rapid7 Labs
Back to Search

pfSense: pfSense-SA-23_06.webgui: Authenticated Command Execution in the WebGUI

Severity
4
CVSS
(AV:L/AC:M/Au:N/C:P/I:P/A:P)
Published
05/11/2023
Created
06/23/2023
Added
06/23/2023
Modified
06/26/2023

Description

A potential authenticated arbitrary command execution vulnerability was found in interfaces_bridge_edit.php, a component of the pfSense Plus and pfSense CE software GUI. When creating or editing a bridge interface on interfaces_bridge_edit.php, the submitted POST "bridgeif" value is used before it is validated. Subsequently, that function calls others which in turn use the submitted interface name in shell commands. Due to a lack of escaping on commands in the functions being called, it is possible to execute arbitrary commands with a properly formatted submission value for "bridgeif" in POST operations. This problem is present on pfSense Plus version 23.01, pfSense CE version 2.6.0, and earlier versions of both. A user with sufficient privileges to access interfaces_bridge_edit.php may be able to execute arbitrary shell commands.

Solution(s)

  • pfsense-upgrade-latest

insightVM

Advanced vulnerability management analytics and reporting.
Key Features
  • Lightweight Endpoint Agent
  • Live Dashboards
  • Real Risk Prioritization
  • IT-Integrated Remediation Projects
  • Cloud, Virtual, and Container Assessment
  • Integrated Threat Feeds
  • Easy-to-Use RESTful API
  • Automation-Assisted Patching
  • Automated Containment
Free InsightVM Trial View All Features

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

;