CVE-2020-21487

Cross Site Scripting vulnerability found in Netgate pfSense 2.4.4 and ACME package v.0.6.3 allows attackers to execute arbitrary code via the RootFolder field…

Critical · published April 4, 2023

CVSS v3.1
9.6
EPSS
1%
Percentile
51.2
In the wild
Unconfirmed
What it is

🚨 A single crafty input can lead to a wild ride! This Cross Site Scripting flaw in Netgate pfSense allows attackers to run arbitrary code through the RootFolder field — and it’s a thing of nightmares! 🔥 Think of it like a restaurant where the chef accepts any order without verifying it — an unwelcome guest could ask for anything, including access to the kitchen! This vulnerability lets attackers sneak in malicious code as if it were a legitimate order. With this critical flaw, an attacker could potentially execute any code they choose on your system, leading to unauthorized access, data breaches, or even total control of your pfSense environment. The stakes are high, and the consequences could be absolutely devastating!

Put simply

Think of it like a restaurant where the chef accepts any order without verifying it — an unwelcome guest could ask for anything, including access to the kitchen! This vulnerability lets attackers sneak in malicious code as if it were a legitimate order. This Cross Site Scripting vulnerability allows attackers to inject and execute arbitrary JavaScript by manipulating the RootFolder field in acme_certificates.php, potentially compromising the system's integrity.

What to do

With this critical flaw, an attacker could potentially execute any code they choose on your system, leading to unauthorized access, data breaches, or even total control of your pfSense environment. The stakes are high, and the consequences could be absolutely devastating! To defend against this vulnerability, immediately patch pfSense to version 2.4.5 or later. Additionally, ensure that all input fields, especially the RootFolder field, are properly sanitized to prevent code injection. Keep your systems updated regularly! You’ve got this! With these steps, you’ll secure your environment and keep the attackers at bay! 🛡️

The record
Technical detail
CVSS v3.1
9.6 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00666 · 51.2th percentile
Published
2023-04-04T00:00Z
EPSS history
Timeline
  • 04 APR 00:00Z
    Cross Site Scripting vulnerability found in Netgate pfSense 2.4.4 and ACME package v.0.6.3 allows attackers to execute arbitrary code via the RootFolder field…
    cvelistv5