SecurityContext

CVE-2018-4020: Netgate pfSense CE - Command Injection

  • Cve: CVE-2018-4020
  • Name: Netgate pfSense CE - Command Injection
  • Description: 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.
  • Impact: Authenticated attackers can execute arbitrary commands on the system, potentially leading to full system compromise.
  • Remediation: Update to the latest version of pfSense CE or apply security patches addressing this vulnerability.
  • Vulnerability type: command_injection
  • Vulnerability impact: remote_code_execution
  • Requirement type: logged_in
  • Requirements: Attacker needs to be authenticated and send crafted POST requests
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.2
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.48721
  • Epss percentile: 0.98902
  • Assignee: [email protected]
  • Published at: 2018-12-03T22:29:00Z
  • Age in days: 2913
  • Modified at: 2026-06-17T01:58:13Z
  • Public exploits total: 1
  • References total: 1
  • Products total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2018-4020
  • Nvd status: modified
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-78Improper Neutralization of Special Elements used in an OS Command

Public exploits

UrlSourceAdded date
https://talosintelligence.com/vulnerability_reports/TALOS-2018-0690nvd2018-12-03

References

UrlSourceTags
https://talosintelligence.com/vulnerability_reports/TALOS-2018-0690nvdExploit, Third Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
netgate:pfsense= 2.4.4nonvd/v1/products/netgate/pfsense

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2018-12-03
  • Remote: yes
  • Authentication required: yes
  • Exposed hosts: 76108
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports