{
  "document": {
    "title": "SSA-740594: Privilege Escalation Vulnerability in Mendix SAML Module",
    "category": "csaf_security_advisory",
    "csaf_version": "2.0",
    "publisher": {
      "name": "Siemens ProductCERT",
      "contact_details": "productcert@siemens.com",
      "category": "vendor",
      "namespace": "https://www.siemens.com"
    },
    "distribution": {
      "text": "Disclosure is not limited.",
      "tlp": {
        "label": "WHITE"
      }
    },
    "tracking": {
      "id": "SSA-740594",
      "status": "final",
      "version": "1",
      "revision_history": [
        {
          "number": "1",
          "legacy_version": "1.0",
          "date": "2022-06-14T00:00:00Z",
          "summary": "Publication Date"
        }
      ],
      "initial_release_date": "2022-06-14T00:00:00Z",
      "current_release_date": "2022-06-14T00:00:00Z",
      "generator": {
        "engine": {
          "name": "Siemens ProductCERT CSAF Generator",
          "version": "1"
        }
      }
    },
    "notes": [
      {
        "title": "Summary",
        "category": "summary",
        "text": "The latest updates of Mendix the SAML module fixes two vulnerabilities. One is an XML External Entity (XXE) attack that could allow an attacker to potentially disclose confidential data under certain circumstances the other is an Cross Site Scripting (XSS) attack allowing to execute malicious code by tricking users into accessing a malicious link .\n\nMendix has released an update for the Mendix SAML module and recommends to update to the latest version."
      },
      {
        "title": "General Recommendations",
        "category": "general",
        "text": "As a general security measure, Siemens strongly recommends to protect network access to devices with appropriate mechanisms. In order to operate the devices in a protected IT environment, Siemens recommends to configure the environment according to Siemens' operational guidelines for Industrial Security (Download: https://www.siemens.com/cert/operational-guidelines-industrial-security), and to follow the recommendations in the product manuals.\n\nAdditional information on Industrial Security by Siemens can be found at: https://www.siemens.com/industrialsecurity"
      },
      {
        "title": "Additional Resources",
        "category": "general",
        "text": "For further inquiries on security vulnerabilities in Siemens products and solutions, please contact the Siemens ProductCERT: https://www.siemens.com/cert/advisories"
      },
      {
        "title": "Terms of Use",
        "category": "legal_disclaimer",
        "text": "Siemens Security Advisories are subject to the terms and conditions contained in Siemens' underlying license terms or other applicable agreements previously agreed to with Siemens (hereinafter \"License Terms\"). To the extent applicable to information, software or documentation made available in or through a Siemens Security Advisory, the Terms of Use of Siemens' Global Website (https://www.siemens.com/terms_of_use, hereinafter \"Terms of Use\"), in particular Sections 8-10 of the Terms of Use, shall apply additionally. In case of conflicts, the License Terms shall prevail over the Terms of Use."
      }
    ],
    "references": [
      {
        "category": "self",
        "url": "https://cert-portal.siemens.com/productcert/pdf/ssa-740594.pdf",
        "summary": "SSA-740594: Privilege Escalation Vulnerability in Mendix SAML Module - PDF Version"
      },
      {
        "category": "self",
        "url": "https://cert-portal.siemens.com/productcert/txt/ssa-740594.txt",
        "summary": "SSA-740594: Privilege Escalation Vulnerability in Mendix SAML Module - TXT Version"
      },
      {
        "category": "self",
        "url": "https://cert-portal.siemens.com/productcert/csaf/ssa-740594.json",
        "summary": "SSA-740594: Privilege Escalation Vulnerability in Mendix SAML Module - CSAF Version"
      }
    ]
  },
  "product_tree": {
    "branches": [
      {
        "name": "Siemens",
        "category": "vendor",
        "branches": [
          {
            "name": "Mendix SAML Module (Mendix 7 compatible)",
            "category": "product_name",
            "branches": [
              {
                "name": "< V1.16.6",
                "category": "product_version_range",
                "product": {
                  "product_id": "1",
                  "name": "Mendix SAML Module (Mendix 7 compatible)"
                }
              }
            ]
          },
          {
            "name": "Mendix SAML Module (Mendix 8 compatible)",
            "category": "product_name",
            "branches": [
              {
                "name": "< V2.2.2",
                "category": "product_version_range",
                "product": {
                  "product_id": "2",
                  "name": "Mendix SAML Module (Mendix 8 compatible)"
                }
              }
            ]
          },
          {
            "name": "Mendix SAML Module (Mendix 9 compatible)",
            "category": "product_name",
            "branches": [
              {
                "name": "< V3.2.3",
                "category": "product_version_range",
                "product": {
                  "product_id": "3",
                  "name": "Mendix SAML Module (Mendix 9 compatible)"
                }
              }
            ]
          }
        ]
      }
    ]
  },
  "vulnerabilities": [
    {
      "title": "CVE-2022-32285",
      "notes": [
        {
          "title": "Summary",
          "category": "summary",
          "text": "The affected module is vulnerable to XML External Entity (XXE) attacks due to insufficient input sanitation. This may allow an attacker to disclose confidential data under certain circumstances."
        }
      ],
      "cve": "CVE-2022-32285",
      "cwe": {
        "id": "CWE-611",
        "name": "Improper Restriction of XML External Entity Reference"
      },
      "product_status": {
        "known_affected": [
          "1",
          "2",
          "3"
        ]
      },
      "scores": [
        {
          "cvss_v3": {
            "version": "3.1",
            "baseScore": 8.3,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L/E:P/RL:O/RC:C"
          },
          "products": [
            "1",
            "2",
            "3"
          ]
        }
      ],
      "remediations": [
        {
          "product_ids": [
            "1"
          ],
          "category": "vendor_fix",
          "details": "Update to V1.16.6 or later version",
          "url": "https://marketplace.mendix.com/link/component/1174/"
        },
        {
          "product_ids": [
            "2"
          ],
          "category": "vendor_fix",
          "details": "Update to V2.2.2 or later version",
          "url": "https://marketplace.mendix.com/link/component/1174/"
        },
        {
          "product_ids": [
            "3"
          ],
          "category": "vendor_fix",
          "details": "Update to V3.2.3 or later version",
          "url": "https://marketplace.mendix.com/link/component/1174/"
        },
        {
          "product_ids": [
            "3"
          ],
          "category": "mitigation",
          "details": "For applications upgraded to Mendix 9 from earlier Mendix versions, the issues have already been resolved in V3.2.2"
        }
      ],
      "references": [
        {
          "url": "https://marketplace.mendix.com/link/component/1174/",
          "summary": "CVE-2022-32285 - Mendix SAML Module (Mendix 7 compatible)"
        },
        {
          "url": "https://marketplace.mendix.com/link/component/1174/",
          "summary": "CVE-2022-32285 - Mendix SAML Module (Mendix 8 compatible)"
        },
        {
          "url": "https://marketplace.mendix.com/link/component/1174/",
          "summary": "CVE-2022-32285 - Mendix SAML Module (Mendix 9 compatible)"
        },
        {
          "url": "https://cert-portal.siemens.com/productcert/mitre/CVE-2022-32285.json",
          "summary": "CVE-2022-32285 Mitre 5.0 json"
        }
      ]
    },
    {
      "title": "CVE-2022-32286",
      "notes": [
        {
          "title": "Summary",
          "category": "summary",
          "text": "In certain configurations SAML module is vulnerable to Cross Site Scripting (XSS) attacks due to insufficient error message sanitation. This could allow an attacker to execute malicious code by tricking users into accessing a malicious link."
        }
      ],
      "cve": "CVE-2022-32286",
      "cwe": {
        "id": "CWE-79",
        "name": "Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')"
      },
      "product_status": {
        "known_affected": [
          "1",
          "2",
          "3"
        ]
      },
      "scores": [
        {
          "cvss_v3": {
            "version": "3.1",
            "baseScore": 7.6,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:N/E:P/RL:O/RC:C"
          },
          "products": [
            "1",
            "2",
            "3"
          ]
        }
      ],
      "remediations": [
        {
          "product_ids": [
            "1"
          ],
          "category": "vendor_fix",
          "details": "Update to V1.16.6 or later version",
          "url": "https://marketplace.mendix.com/link/component/1174/"
        },
        {
          "product_ids": [
            "2"
          ],
          "category": "vendor_fix",
          "details": "Update to V2.2.2 or later version",
          "url": "https://marketplace.mendix.com/link/component/1174/"
        },
        {
          "product_ids": [
            "3"
          ],
          "category": "vendor_fix",
          "details": "Update to V3.2.3 or later version",
          "url": "https://marketplace.mendix.com/link/component/1174/"
        },
        {
          "product_ids": [
            "3"
          ],
          "category": "mitigation",
          "details": "For applications upgraded to Mendix 9 from earlier Mendix versions, the issues have already been resolved in V3.2.2"
        }
      ],
      "references": [
        {
          "url": "https://marketplace.mendix.com/link/component/1174/",
          "summary": "CVE-2022-32286 - Mendix SAML Module (Mendix 7 compatible)"
        },
        {
          "url": "https://marketplace.mendix.com/link/component/1174/",
          "summary": "CVE-2022-32286 - Mendix SAML Module (Mendix 8 compatible)"
        },
        {
          "url": "https://marketplace.mendix.com/link/component/1174/",
          "summary": "CVE-2022-32286 - Mendix SAML Module (Mendix 9 compatible)"
        },
        {
          "url": "https://cert-portal.siemens.com/productcert/mitre/CVE-2022-32286.json",
          "summary": "CVE-2022-32286 Mitre 5.0 json"
        }
      ]
    }
  ]
}

