CyberSecBulletin
CVE-2023-25957NVD status: Modified

Mendix SAML (Mendix 7 compatible): Improper Authentication

CVE-2023-25957 is a high-severity improper authentication vulnerability in Mendix SAML (Mendix 7 compatible) 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 SAML (Mendix 7 compatible) versions: All versions >= V1.16.4 < V1.17.3. The record does not name a fixed version, so check the vendor advisory. There is no confirmed exploitation so far. EPSS estimates a 0.58% 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 Saml to 1.17.2 or 2.2.3 or 3.2.5, whichever matches your release line, or a later version.
  2. 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 SAML (Mendix 7 compatible)All versions >= V1.16.4 < V1.17.3Not stated
SiemensMendix SAML (Mendix 8 compatible)All versions >= V2.2.0 < V2.3.0Not stated
SiemensMendix SAML (Mendix 9 latest compatible, New Track)All versions >= V3.1.9 < V3.3.1Not stated
SiemensMendix SAML (Mendix 9 latest compatible, Upgrade Track)All versions >= V3.1.8 < V3.3.0Not stated
SiemensMendix SAML (Mendix 9.6 compatible, New Track)All versions >= V3.1.9 < V3.2.7Not stated
SiemensMendix SAML (Mendix 9.6 compatible, Upgrade Track)All versions >= V3.1.8 < V3.2.6Not stated
MendixSaml1.16.4 up to, but not including, 1.17.2; 2.2.0 up to, but not including, 2.2.3; 3.1.9 up to, but not including, 3.2.51.17.2, 2.2.3, 3.2.5

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
NoneNothing can be modified.
Availability
NoneAvailability is not affected.

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

Scoring systemScoreSeverityScored by
CVSS 3.19.1CriticalCNA (siemens.com)
CVSS 3.17.5HighNVD

Official description

A vulnerability has been identified in Mendix SAML (Mendix 7 compatible) (All versions >= V1.16.4 < V1.17.3), Mendix SAML (Mendix 8 compatible) (All versions >= V2.2.0 < V2.3.0), Mendix SAML (Mendix 9 latest compatible, New Track) (All versions >= V3.1.9 < V3.3.1), Mendix SAML (Mendix 9 latest compatible, Upgrade Track) (All versions >= V3.1.8 < V3.3.0), Mendix SAML (Mendix 9.6 compatible, New Track) (All versions >= V3.1.9 < V3.2.7), Mendix SAML (Mendix 9.6 compatible, Upgrade Track) (All versions >= V3.1.8 < V3.2.6). The affected versions of the module insufficiently verify the SAML assertions. This could allow unauthenticated remote attackers to bypass authentication and get access to the application. For compatibility reasons, fix versions still contain this issue, but only when the recommended, default configuration option `'Use Encryption'` is disabled.

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

The underlying weakness: Improper Authentication

When an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct.

How developers prevent this class of flaw

  • Use an authentication framework or library such as the OWASP ESAPI Authentication feature.

More Improper Authentication vulnerabilities (CWE-287)

Timeline

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

References

Third-party and government advisories

Other vulnerabilities in Mendix SAML (Mendix 7 compatible)

All Mendix SAML (Mendix 7 compatible) vulnerabilities

Recent Improper Authentication vulnerabilities

Spotted an error? Tell us.