SB2018120317 - Multiple vulnerabilities in pfsense
Published: December 3, 2018 Updated: August 8, 2020
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 6 secuirty vulnerabilities.
1) Cross-site scripting (CVE-ID: CVE-2019-12347)
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. A remote attacker can permanently inject 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.
2) Security Features (CVE-ID: CVE-2018-20798)
The vulnerability allows a remote non-authenticated attacker to manipulate data.
The expiretable configuration in pfSense 2.4.4_1 establishes block durations that are incompatible with the block durations implemented by sshguard, which might make it easier for attackers to bypass intended access restrictions.
3) Input validation error (CVE-ID: CVE-2018-20799)
The vulnerability allows a remote non-authenticated attacker to manipulate data.
In pfSense 2.4.4_1, blocking of source IP addresses on the basis of failed HTTPS authentication is inconsistent with blocking of source IP addresses on the basis of failed SSH authentication (the behavior does not match the sshguard documentation), which might make it easier for attackers to bypass intended access restrictions.
4) OS Command Injection (CVE-ID: CVE-2018-4019)
The vulnerability allows a remote privileged user to execute arbitrary code.
An exploitable command injection vulnerability exists in the way Netgate pfSense CE 2.4.4-RELEASE processes the parameters of a specific POST request. The attacker can exploit this and gain the ability to execute arbitrary commands on the system. An attacker needs to be able to send authenticated POST requests to the administration web interface. Command injection is possible in the `powerd_normal_mode` parameter.
5) OS Command Injection (CVE-ID: CVE-2018-4020)
The vulnerability allows a remote privileged user to execute arbitrary code.
An exploitable command injection vulnerability exists in the way Netgate pfSense CE 2.4.4-RELEASE processes the parameters of a specific POST request. The attacker can exploit this and gain the ability to execute arbitrary commands on the system. An attacker needs to be able to send authenticated POST requests to the administration web interface. Command injection is possible in the `powerd_ac_mode` POST parameter parameter.
6) OS Command Injection (CVE-ID: CVE-2018-4021)
The vulnerability allows a remote privileged user to execute arbitrary code.
An exploitable command injection vulnerability exists in the way Netgate pfSense CE 2.4.4-RELEASE processes the parameters of a specific POST request. The attacker can exploit this and gain the ability to execute arbitrary commands on the system. An attacker needs to be able to send authenticated POST requests to the administration web interface. Command injection is possible in the `powerd_battery_mode` POST parameter.
Remediation
Cybersecurity Help is not aware of any official remediation provided by the vendor.
References
- http://packetstormsecurity.com/files/153112/pfSense-2.4.4-p3-Cross-Site-Scripting.html
- https://ctrsec.io/index.php/2019/05/28/stored-xss-acme-pfsense-2-4-4-p3/
- https://github.com/pfsense/FreeBSD-ports/commit/504909564079e540689dbdbed3a579483c614275
- https://redmine.pfsense.org/issues/9554#change-40729
- https://www.pfsense.org/download/
- https://redmine.pfsense.org/issues/9223
- https://talosintelligence.com/vulnerability_reports/TALOS-2018-0690