CyberSecBulletin
CVE-2024-41171NVD status: Deferred

SINUMERIK 828D V4: Incorrect Permission Assignment for Critical Resource

CVE-2024-41171 is a high-severity incorrect permission assignment for critical resource vulnerability in SINUMERIK 828D V4 from Siemens, with a CVSS 3.1 base score of 8.8 out of 10. It can be exploited with local access to the system by an attacker with a low-privileged account, without any action from a user. Affected SINUMERIK 828D V4 versions: all versions. The record does not name a fixed version, so check the vendor advisory. There is no confirmed exploitation so far. EPSS estimates a 0.14% chance of exploitation within 30 days, which is low compared with other CVEs.

Next patch cycle

High severity with no evidence of exploitation so far.

What to do

  1. Update SINUMERIK 828D V5 to V5.24 or a later version.
  2. Update SINUMERIK ONE to V6.24 or a later version.
  3. Update sinumerik_one_firmware to 6.24 or a later version.

Affected products and versions

VendorProductAffected versionsFixed in
SiemensSINUMERIK 828D V4all versionsNot stated
SiemensSINUMERIK 828D V5before V5.24V5.24
SiemensSINUMERIK 840D sl V4all versionsNot stated
SiemensSINUMERIK ONEbefore V6.24V6.24
Siemenssinumerik_840d_sl_firmware4.0 and laterNot stated
Siemenssinumerik_one_firmwarebefore 6.246.24
Siemenssinumerik_828d_firmware4.0 up to, but not including, 5.245.24

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
LocalThe attacker needs local access or must trick a user into running something.
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
ChangedThe attack can reach beyond the vulnerable component into other systems.
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:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H. Scored by CNA (siemens.com).

Scoring systemScoreSeverityScored by
CVSS 4.09.3CriticalCNA (siemens.com)
CVSS 3.18.8HighCNA (siemens.com)

Official description

A vulnerability has been identified in SINUMERIK 828D V4 (All versions), SINUMERIK 828D V5 (All versions < V5.24), SINUMERIK 840D sl V4 (All versions), SINUMERIK ONE (All versions < V6.24). Affected devices do not properly enforce access restrictions to scripts that are regularly executed by the system with elevated privileges. This could allow an authenticated local attacker to escalate their privileges in the underlying system.

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

The underlying weakness: Incorrect Permission Assignment for Critical Resource

The product specifies permissions for a security-critical resource in a way that allows that resource to be read or modified by unintended actors.

How developers prevent this class of flaw

  • When using a critical resource such as a configuration file, check to see if the resource has insecure permissions (such as being modifiable by any regular user), and generate an error or even exit the software if there is a possibility that the resource could have been modified by an unauthorized party.
  • Divide the software into anonymous, normal, privileged, and administrative areas. Reduce the attack surface by carefully defining distinct user groups, privileges, and/or roles. Map these against data, functionality, and the related resources. Then set the permissions accordingly. This will allow you to maintain more fine-grained control over your resources.
  • During program startup, explicitly set the default permissions or umask to the most restrictive setting possible. Also set the appropriate permissions during program installation. This will prevent you from inheriting insecure permissions from any user who installs or runs the program.

More Incorrect Permission Assignment for Critical Resource vulnerabilities (CWE-732)

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

Recent Incorrect Permission Assignment for Critical Resource vulnerabilities

Spotted an error? Tell us.