Mendix SAML (Mendix 7 compatible): Authentication Bypass by Capture-replay
CVE-2022-37011 is a critical-severity authentication bypass by capture-replay vulnerability in Mendix SAML (Mendix 7 compatible) from Siemens, 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 Mendix SAML (Mendix 7 compatible) versions: All versions < V1.17.0. The record does not name a fixed version, so check the vendor advisory. There is no confirmed exploitation so far. EPSS estimates a 1.26% chance of exploitation within 30 days, higher than 70% of scored CVEs.
Critical severity: a successful attack would have severe impact.
What to do
- Update Saml to 1.17.0 or 2.3.0 or 3.3.1, whichever matches your release line, or a later version.
- Until you can update, restrict network access to the affected service so it is not reachable from untrusted networks.
Affected products and versions
| Vendor | Product | Affected versions | Fixed in |
|---|---|---|---|
| Siemens | Mendix SAML (Mendix 7 compatible) | All versions < V1.17.0 | Not stated |
| Siemens | Mendix SAML (Mendix 8 compatible) | All versions < V2.3.0 | Not stated |
| Siemens | Mendix SAML (Mendix 9 compatible, New Track) | All versions < V3.3.1 | Not stated |
| Siemens | Mendix SAML (Mendix 9 compatible, Upgrade Track) | All versions < V3.3.0 | Not stated |
| Mendix | Saml | before 1.17.0; 2.0.0 up to, but not including, 2.3.0; 3.0.0 up to, but not including, 3.3.1 | 1.17.0, 2.3.0, 3.3.1 |
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 NVD.
Official description
A vulnerability has been identified in Mendix SAML (Mendix 7 compatible) (All versions < V1.17.0), Mendix SAML (Mendix 8 compatible) (All versions < V2.3.0), Mendix SAML (Mendix 9 compatible, New Track) (All versions < V3.3.1), Mendix SAML (Mendix 9 compatible, Upgrade Track) (All versions < V3.3.0). Affected versions of the module insufficiently protect from packet capture replay. This could allow unauthorized remote attackers to bypass authentication and get access to the application. For compatibility reasons, fix versions still contain this issue, but only when the not recommended, non default configuration option `'Allow Idp Initiated Authentication'` is enabled.
Source: the CVE record as published by its numbering authority, via NVD and CVE.org.
The underlying weakness: Authentication Bypass by Capture-replay
A capture-replay flaw exists when the design of the product makes it possible for a malicious user to sniff network traffic and bypass authentication by replaying it to the server in question to the same effect as the original message (or with minor changes).
How developers prevent this class of flaw
- Utilize some sequence or time stamping functionality along with a checksum which takes this into account in order to ensure that messages can be parsed only once.
- Since any attacker who can listen to traffic can see sequence numbers, it is necessary to sign messages with some kind of cryptography to ensure that sequence numbers are not simply doctored along with content.
More Authentication Bypass by Capture-replay vulnerabilities (CWE-294)
Timeline
- CVE record published.
- Record last changed materially (score, affected products, status or references).
References
Patches and release notes
- cert-portal.siemens.com/productcert/pdf/ssa-638652.pdfThird Party Advisory
Other vulnerabilities in Mendix SAML (Mendix 7 compatible)
- 9.8 Critical severity
- 7.5 High severity
- 9.8 Critical severity
Recent Authentication Bypass by Capture-replay vulnerabilities
- 7.5 High severity
- 9.8 Critical severity
- 7.5 High severity
- 7.5 High severity
- 8.1 High severity
- 8.8 High severity
Spotted an error? Tell us.