CyberSecBulletin
CVE-2023-2377NVD status: Modified

EdgeRouter X: Improper Neutralization of Special Elements in Output Used by a Downstream Component

CVE-2023-2377 is a high-severity improper neutralization of special elements in output used by a downstream component vulnerability in EdgeRouter X from Ubiquiti, 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 EdgeRouter X versions: 2.0.9-hotfix.0; 2.0.9-hotfix.1; 2.0.9-hotfix.2, and others listed below. The record does not name a fixed version, so check the vendor advisory. There is no confirmed exploitation so far. EPSS estimates a 7.62% chance of exploitation within 30 days, which is in the top 5.35% of all scored CVEs.

Next patch cycle

High severity with no evidence of exploitation so far.

What to do

  1. Update Er-x Firmware to 2.0.9 or a later version.
  2. Update Er-x-sfp Firmware to 2.0.9 or a later version.

Affected products and versions

VendorProductAffected versionsFixed in
UbiquitiEdgeRouter X2.0.9-hotfix.0; 2.0.9-hotfix.1; 2.0.9-hotfix.2; 2.0.9-hotfix.3; 2.0.9-hotfix.4; 2.0.9-hotfix.5; 2.0.9-hotfix.6Not stated
UIEr-x Firmwarebefore 2.0.9; 2.0.92.0.9
UIEr-x-sfp Firmwarebefore 2.0.9; 2.0.92.0.9

Version data comes from the organisation that assigned the CVE. 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.

Scoring systemScoreSeverityScored by
CVSS 4.07.3HighCNA (vuldb.com)
CVSS 3.17.2HighCNA (vuldb.com)
CVSS 3.18.8HighNVD
CVSS 2.08.3HighCNA (vuldb.com)

Official description

A vulnerability was detected in Ubiquiti EdgeRouter X up to 2.0.9-hotfix.6. The impacted element is an unknown function of the component Web Management Interface. The manipulation of the argument Name results in command injection. The attack can be launched remotely. The exploit is now public and may be used. There is ongoing doubt regarding the real existence of this vulnerability. The vendor position is that post-authentication issues are not accepted as vulnerabilities.

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

The underlying weakness: Improper Neutralization of Special Elements in Output Used by a Downstream Component

The product constructs all or part of a command, data structure, or record using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify how it is parsed or interpreted when it is sent to a downstream component.

How developers prevent this class of flaw

  • Programming languages and supporting technologies might be chosen which are not subject to these issues.
  • Utilize an appropriate mix of allowlist and denylist parsing to filter control-plane syntax from all input.

More Improper Neutralization of Special Elements in Output Used by a Downstream Component vulnerabilities (CWE-74)

Timeline

  1. CVE record published.
  2. Record last changed materially (score, affected products, status or references).

References

Third-party and government advisories

Technical write-ups (may include proof of concept)

Other vulnerabilities in EdgeRouter X

All EdgeRouter X vulnerabilities

Recent Improper Neutralization of Special Elements in Output Used by a Downstream Component vulnerabilities

Spotted an error? Tell us.