CVE-2019-12949: pfSense - Stored XSS & Command Injection
- Cve: CVE-2019-12949
- Name: pfSense - Stored XSS & Command Injection
- Description: In pfSense 2.4.4-p2 and 2.4.4-p3, if it is possible to trick an authenticated administrator into clicking on a button on a phishing page, an attacker can leverage XSS to upload arbitrary executable code, via diag_command.php and rrd_fetch_json.php (timePeriod parameter), to a server. Then, the remote attacker can run any command with root privileges on that server.
- Impact: Attackers can execute arbitrary commands with root privileges on the server, leading to full system compromise.
- Remediation: Update to the latest version of pfSense or apply security patches that fix the XSS and command execution vulnerabilities.
- Vulnerability type: command_injection
- Vulnerability impact: remote_code_execution, client_script_exec
- Requirement type: user_interaction
- Requirements: Attacker needs administrator to click on a malicious link
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 6.1
- Cvss vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- Epss score: 0.03031
- Epss percentile: 0.87827
- Assignee: [email protected]
- Published at: 2019-06-25T11:15:10Z
- Age in days: 2709
- Modified at: 2026-06-17T02:15:46Z
- Public exploits total: 1
- References total: 1
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2019-12949
- 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
| Id | Name |
|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/tarantula-team/CVE-2019-12949 | nvd | 2019-06-25 |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/tarantula-team/CVE-2019-12949 | nvd | Exploit, Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| netgate:pfsense | = 2.4.4 p3, = 2.4.4 p2 | no | nvd | /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: 2019-06-25
- Remote: yes
- Exposed hosts: 75930
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports