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.
High severity with no evidence of exploitation so far.
What to do
- 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.
- Read the advisory on cert-portal.siemens.com for workarounds and exact fixed builds.
- 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 Applications using Mendix 7 | All versions < V7.23.31 | Not stated |
| Siemens | Mendix Applications using Mendix 8 | All versions < V8.18.18 | Not stated |
| Siemens | Mendix Applications using Mendix 9 | All versions < V9.14.0 | Not stated |
| Siemens | Mendix Applications using Mendix 9 (V9.12) | All versions < V9.12.2 | Not stated |
| Siemens | Mendix Applications using Mendix 9 (V9.6) | All versions < V9.6.12 | Not stated |
| Mendix | Mendix | 7.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.0 | 7.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 system | Score | Severity | Scored by |
|---|---|---|---|
| CVSS 3.1 | 7.5 | High | NVD |
| CVSS 2.0 | 5.0 | Medium | NVD |
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.
Timeline
- CVE record published.
- Record last changed materially (score, affected products, status or references).
References
Other vulnerabilities in Mendix Applications using Mendix 7
- 8.1 High severity
- 7.5 High severity
- 7.5 High severity
Recent Improper Access Control vulnerabilities
- 8.8 High severity
- 8.8 High severity
- 8.1 High severity
- 10.0 Critical severity
- 7.5 High severity
- 7.3 High severity
Spotted an error? Tell us.