CVE-2019-12949 Cross-site scripting in n/a

Medium 6.1 Published Updated

An attacker can execute arbitrary commands with root privileges by tricking an administrator into triggering a stored XSS vulnerability in the web interface.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2019-12949?

CVE-2019-12949 is a medium-severity cross-site scripting vulnerability in n/a, published on 25 Jun 2019. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official 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.

Weakness: CWE-79

Which versions are affected by CVE-2019-12949?

It affects 1 product.

Products include Netgate Pfsense.

How do I fix CVE-2019-12949?

No fix has been published for CVE-2019-12949 yet. Limit exposure of the affected software until one is available.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2019-12949 being exploited?

There is no known exploitation of CVE-2019-12949 in the wild and no public exploit code.

Public exploit code: 1 proofs of concept on GitHub.

Sources

Also known as GHSA-4v72-6p9w-2mww.

Is CVE-2019-12949 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free