SB2019092701 - Multiple vulnerabilities in pfSense



SB2019092701 - Multiple vulnerabilities in pfSense

Published: September 27, 2019 Updated: June 10, 2020

Security Bulletin ID SB2019092701
CSH Severity
Medium
Patch available
YES
Number of vulnerabilities 3
Exploitation vector Remote access
Highest impact Code execution

Breakdown by Severity

Medium 67% Low 33%
  • Low
  • Medium
  • High
  • Critical

Description

This security bulletin contains information about 3 vulnerabilities.


1) Cross-site request forgery (CVE-ID: CVE-2019-16667)

CWE-ID: CWE-352 - Cross-Site Request Forgery (CSRF)

CVSSv4: 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


The vulnerability allows a remote attacker to perform cross-site request forgery attacks.

The vulnerability exists due to insufficient validation of the HTTP request origin in diag_command.php script. A remote attacker can trick the victim to visit a specially crafted web page and and update "txtCommand" and "txtRecallBuffer" fields.

Successful exploitation of the vulnerability may allow an attacker to execute arbitrary OS commands on the system.

Example:













2) Cross-site scripting (CVE-ID: CVE-2019-16914)

CWE-ID: CWE-79 - Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

CVSSv4: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:P/U:Clear


The disclosed vulnerability allows a remote attacker to perform cross-site scripting (XSS) attacks.

The vulnerability exists due to insufficient sanitization of user-supplied data passed via the "username" and "delmac" parameters to services_captiveportal_mac.php script. A remote attacker can trick the victim to follow a specially crafted link and execute arbitrary HTML and script code in user's browser in context of vulnerable website.

Successful exploitation of this vulnerability may allow a remote attacker to steal potentially sensitive information, change appearance of the web page, perform phishing and drive-by-download attacks.


3) Input validation error (CVE-ID: CVE-2019-16915)

CWE-ID: CWE-20 - Improper input validation

CVSSv4: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:P/U:Green


The vulnerability allows a remote attacker to read and write arbitrary files on the system.

The vulnerability exists due to insufficient validation of user-supplied input in "/widgets/widgets/picture.widget.php" when processing data passed via the "widgetkey" parameter. A remote attacker authenticated attacker can read and write arbitrary files on the system.


Remediation

Install update from vendor's website.