CyberSecBulletin
CVE-2022-31257NVD status: Modified

Mendix Applications using Mendix 7: Improper Access Control

CVE-2022-31257 is a high-severity improper access control vulnerability in Mendix Applications using Mendix 7 from Siemens, with a CVSS 3.1 base score of 7.5 out of 10. It can be exploited remotely over the network by an unauthenticated attacker, without any action from a user. Affected Mendix Applications using Mendix 7 versions: All versions < V7.23.31. The record does not name a fixed version, so check the vendor advisory. There is no confirmed exploitation so far. EPSS estimates a 0.8% chance of exploitation within 30 days, higher than 57% of scored CVEs.

Next patch cycle

High severity with no evidence of exploitation so far.

What to do

  1. Update Mendix to 7.32.31 or 8.18.18 or 9.6.12 or 9.12.2, whichever matches your release line, or a later version.
  2. Read the advisory on cert-portal.siemens.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
SiemensMendix Applications using Mendix 7All versions < V7.23.31Not stated
SiemensMendix Applications using Mendix 8All versions < V8.18.18Not stated
SiemensMendix Applications using Mendix 9All versions < V9.14.0Not stated
SiemensMendix Applications using Mendix 9 (V9.12)All versions < V9.12.2Not stated
SiemensMendix Applications using Mendix 9 (V9.6)All versions < V9.6.12Not stated
MendixMendix7.0.0 up to, but not including, 7.32.31; 8.0.0 up to, but not including, 8.18.18; 9.6.0 up to, but not including, 9.6.12; 9.12.0 up to, but not including, 9.12.2; 9.13.0 up to, but not including, 9.14.07.32.31, 8.18.18, 9.6.12, 9.12.2, 9.14.0

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
NoneNo data is disclosed.
Integrity
HighData or code can be modified at will.
Availability
NoneAvailability is not affected.

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

Scoring systemScoreSeverityScored by
CVSS 3.17.5HighNVD
CVSS 2.05.0MediumNVD

Official description

A vulnerability has been identified in Mendix Applications using Mendix 7 (All versions < V7.23.31), Mendix Applications using Mendix 8 (All versions < V8.18.18), Mendix Applications using Mendix 9 (All versions < V9.14.0), Mendix Applications using Mendix 9 (V9.12) (All versions < V9.12.2), Mendix Applications using Mendix 9 (V9.6) (All versions < V9.6.12). In case of access to an active user session in an application that is built with an affected version, it’s possible to change that user’s password bypassing password validations within a Mendix application. This could allow to set weak passwords.

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

The underlying weakness: Improper Access Control

The product does not restrict or incorrectly restricts access to a resource from an unauthorized actor.

How developers prevent this class of flaw

  • Very carefully manage the setting, management, and handling of privileges. Explicitly manage trust zones in the software.
  • Compartmentalize the system to have safe areas where trust boundaries can be unambiguously drawn. Do not allow sensitive data to go outside of the trust boundary and always be careful when interfacing with a compartment outside of the safe area. Ensure that appropriate compartmentalization is built into the system design, and the compartmentalization allows for and reinforces privilege separation functionality. Architects and designers should rely on the principle of least privilege to decide the appropriate time to use privileges and the time to drop privileges.

More Improper Access Control vulnerabilities (CWE-284)

Timeline

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

References

Other vulnerabilities in Mendix Applications using Mendix 7

All Mendix Applications using Mendix 7 vulnerabilities

Recent Improper Access Control vulnerabilities

Spotted an error? Tell us.