CVE-2022-24299: pfSense - Command Injection
- Cve: CVE-2022-24299
- Name: pfSense - Command Injection
- Description: Improper input validation vulnerability in pfSense CE and pfSense Plus (pfSense CE software versions prior to 2.6.0 and pfSense Plus software versions prior to 22.01) allows a remote attacker with the privilege to change OpenVPN client or server settings to execute an arbitrary command.
- Impact: Attackers can execute arbitrary commands on the system, potentially leading to full system compromise.
- Remediation: Update to pfSense CE 2.6.0 or later and pfSense Plus 22.01 or later.
- Vulnerability type: command_injection
- Vulnerability impact: remote_code_execution
- Requirement type: admin_privileges
- Requirements: Attacker needs privilege to change OpenVPN settings
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 8.8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.01932
- Epss percentile: 0.80566
- Assignee: [email protected]
- Published at: 2022-03-31T08:15:08Z
- Age in days: 1699
- Modified at: 2026-06-17T04:31:34Z
- Patch available: yes
- References total: 2
- Products total: 2
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2022-24299
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-20 | Improper Input Validation |
References
| Url | Source | Tags |
|---|---|---|
| https://docs.netgate.com/downloads/pfSense-SA-22_03.webgui.asc | nvd | Mitigation, Patch, Vendor Advisory |
| https://jvn.jp/en/jp/JVN87751554/index.html | nvd | Patch, Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| netgate:pfsense | < 2.6.0 | no | nvd | /v1/products/netgate/pfsense |
| netgate:pfsense_plus | < 22.01 | no | nvd | /v1/products/netgate/pfsense_plus |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Authentication required: yes
- Exposed hosts: 75930
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports