CyberSecBulletin
CVE-2023-25610NVD status: Analyzed

FortiSwitchManager: Buffer Underwrite

CVE-2023-25610 is a critical-severity buffer underwrite vulnerability in FortiSwitchManager from Fortinet, with a CVSS 3.1 base score of 9.8 out of 10. It can be exploited remotely over the network by an unauthenticated attacker, without any action from a user. Affected FortiSwitchManager versions: 7.2.0 through 7.2.1; 7.0.0 through 7.0.1. The record does not name a fixed version, so check the vendor advisory. There is no confirmed exploitation so far. EPSS estimates a 18.3% chance of exploitation within 30 days, which is in the top 2.73% of all scored CVEs.

Patch this week

Critical severity: a successful attack would have severe impact.

What to do

  1. Update Fortiswitch to 7.0.7 or 7.2.4, whichever matches your release line, or a later version.
  2. Read the advisory on fortiguard.com for workarounds and exact fixed builds.
  3. Until you can update, restrict network access to the affected service so it is not reachable from untrusted networks.

Affected products and versions

VendorProductAffected versionsFixed in
FortinetFortiSwitchManager7.2.0 through 7.2.1; 7.0.0 through 7.0.1Not stated
FortinetFortiAnalyzer7.2.0; 7.0.0 through 7.0.4; 6.4.0 through 6.4.11; 6.2.0 through 6.2.10; 6.0.0 through 6.0.11Not stated
FortinetFortiOS-6K7K7.0.5; 6.4.10; 6.4.8; 6.4.6; 6.4.2; 6.2.9 through 6.2.12; 6.2.6 through 6.2.7; 6.2.4; and 2 more rangesNot stated
FortinetFortiProxy7.2.0 through 7.2.2; 7.0.0 through 7.0.8; 2.0.0 through 2.0.14; 1.2.0 through 1.2.13; 1.1.0 through 1.1.6Not stated
FortinetFortiOS7.2.0 through 7.2.3; 7.0.0 through 7.0.9; 6.4.0 through 6.4.11; 6.2.0 through 6.2.12; 6.0.0 through 6.0.18; 5.6.0 through 5.6.14; 5.4.0 through 5.4.13; 5.2.0 through 5.2.15; and 1 more rangesNot stated
FortinetFortiManager7.2.0; 7.0.0 through 7.0.4; 6.4.0 through 6.4.11; 6.2.0 through 6.2.10; 6.0.0 through 6.0.11Not stated
FortinetFortiWeb7.2.0 through 7.2.1; 7.0.0 through 7.0.6; 6.4.0 through 6.4.2; 6.3.0 through 6.3.22; 6.2.0 through 6.2.7; 6.1.0 through 6.1.3Not stated
FortinetFortiswitch7.0.0 up to, but not including, 7.0.7; 7.2.0 up to, but not including, 7.2.47.0.7, 7.2.4

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
NoneNo account or login is needed.
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:N/UI:N/S:U/C:H/I:H/A:H. Scored by CNA (fortinet.com).

Official description

A buffer underwrite ('buffer underflow') vulnerability in the administrative interface of Fortinet FortiOS version 7.2.0 through 7.2.3, version 7.0.0 through 7.0.6, version 6.4.0 through 6.4.11 and version 6.2.12 and below, FortiProxy version 7.2.0 through 7.2.2, version 7.0.0 through 7.0.8, version 2.0.12 and below and FortiOS-6K7K version 7.0.5, version 6.4.0 through 6.4.10 and version 6.2.0 through 6.2.10 and below allows a remote unauthenticated attacker to execute arbitrary code or commands via specifically crafted requests.

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

The underlying weakness: Buffer Underwrite

The product writes to a buffer using an index or pointer that references a memory location prior to the beginning of the buffer.

How developers prevent this class of flaw

  • Choose a language that is not susceptible to these issues.
  • All calculated values that are used as index or for pointer arithmetic should be validated to ensure that they are within an expected range.

More Buffer Underwrite vulnerabilities (CWE-124)

Timeline

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

References

Other vulnerabilities in FortiSwitchManager

All FortiSwitchManager vulnerabilities

Recent Buffer Underwrite vulnerabilities

Spotted an error? Tell us.