CyberSecBulletin
CVE-2023-27253NVD status: Modified

Pfsense: XML Injection

CVE-2023-27253 is a high-severity XML injection vulnerability in Pfsense from Netgate, with a CVSS 3.1 base score of 8.8 out of 10. It can be exploited remotely over the network by an attacker with a low-privileged account, without any action from a user. Affected Pfsense versions: 2.7.0. The record does not name a fixed version, so check the vendor advisory. There is no confirmed exploitation so far. EPSS estimates a 89.5% chance of exploitation within 30 days, which is in the top 0.21% of all scored CVEs.

Patch now

Exploitation in the next 30 days is more likely than not, according to EPSS.

What to do

  1. Check which version of Pfsense you run against the affected versions below, and install the vendor's latest release.
  2. Read the advisory on redmine.pfsense.org for workarounds and exact fixed builds.

Affected products and versions

VendorProductAffected versionsFixed in
NetgatePfsense2.7.0Not stated

Version data comes from NVD's product matching. Confirm against the vendor advisory before deciding you are unaffected.

How the severity score breaks down

Attack vector
NetworkCan be exploited remotely over a network, including the internet.
Attack complexity
LowNo special conditions are needed; the attack works reliably.
Privileges required
LowA basic user account is enough.
User interaction
NoneNo action by a victim is required.
Scope
UnchangedImpact stays within the vulnerable component.
Confidentiality
HighAll data handled by the component can be read.
Integrity
HighData or code can be modified at will.
Availability
HighThe component can be taken down completely.

Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H. Scored by NVD.

Official description

A command injection vulnerability in the function restore_rrddata() of Netgate pfSense v2.7.0 allows authenticated attackers to execute arbitrary commands via manipulating the contents of an XML file supplied to the component config.xml.

Source: the CVE record as published by its numbering authority, via NVD and CVE.org.

The underlying weakness: XML Injection

The product does not properly neutralize special elements that are used in XML, allowing attackers to modify the syntax, content, or commands of the XML before it is processed by an end system.

More XML Injection vulnerabilities (CWE-91)

Timeline

  1. CVE record published.
  2. CISA published its SSVC assessment (exploitation: none, automatable: no, technical impact: total).
  3. Record last changed materially (score, affected products, status or references).

References

Advisories

Other vulnerabilities in Pfsense

All Pfsense vulnerabilities

Recent XML Injection vulnerabilities

Spotted an error? Tell us.