{"id":"EUVD-2023-2361","enisaUuid":"9ca7ebf6-aef1-3995-8520-c668d97c553e","description":"matrix-appservice-bridge provides an API for setting up bridges. Starting in version 4.0.0 and prior to versions 8.1.2 and 9.0.1, a malicious Matrix server can use a foreign user\u0027s MXID in an OpenID exchange, allowing a bad actor to impersonate users when using the provisioning API. The library does not check that the servername part of the `sub` parameter (containing the user\u0027s *claimed* MXID) is the the same as the servername we are talking to. A malicious actor could spin up a server on any given domain, respond with a `sub` parameter according to the user they want to act as and use the resulting token to perform provisioning requests. Versions 8.1.2 and 9.0.1 contain a patch. As a workaround, disable the provisioning API.","datePublished":"Aug 4, 2023, 4:34:54 PM","dateUpdated":"Oct 7, 2024, 1:01:29 PM","baseScore":5.0,"baseScoreVersion":"3.1","baseScoreVector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N","references":"https://github.com/matrix-org/matrix-appservice-bridge/security/advisories/GHSA-vc7j-h8xg-fv5x\nhttps://github.com/matrix-org/matrix-appservice-bridge/commit/4c6723a5e7beda65cdf1ae5dbb882e8beaac8552\n","aliases":"CVE-2023-38691\nGHSA-vc7j-h8xg-fv5x\n","assigner":"GitHub_M","epss":0.47,"enisaIdProduct":[{"id":"6f0cd6bf-fdea-3257-8ff8-4e810aa1eacf","product":{"name":"matrix-appservice-bridge","vendor":{"name":"matrix-org"}},"product_version":"\u003d 9.0.0"},{"id":"fbdc10b1-83c4-30c1-94bd-aae9c217ec93","product":{"name":"matrix-appservice-bridge","vendor":{"name":"matrix-org"}},"product_version":"4.0.0, \u003c 8.1.2"}],"enisaIdVendor":[{"id":"6fbc3de0-d171-33d9-892f-4632f10b0175","vendor":{"name":"matrix-org"}}],"enisaIdVulnerability":[{"id":"0149f5e4-c0da-30c0-b451-52b99d977257","vulnerability":{"id":"GHSA-vc7j-h8xg-fv5x","description":"matrix-appservice-bridge doesn\u0027t verify the sub parameter of an openId token exhange, allowing unauthorized access to provisioning APIs","datePublished":"Aug 4, 2023, 5:26:32 PM","dateUpdated":"Aug 4, 2023, 5:26:32 PM","baseScore":null,"references":"https://github.com/matrix-org/matrix-appservice-bridge/security/advisories/GHSA-vc7j-h8xg-fv5x\nhttps://nvd.nist.gov/vuln/detail/CVE-2023-38691\nhttps://github.com/matrix-org/matrix-appservice-bridge/commit/4c6723a5e7beda65cdf1ae5dbb882e8beaac8552\nhttps://github.com/matrix-org/matrix-appservice-bridge\n","enisa_id":"EUVD-2023-2361\n","aliases":"GHSA-vc7j-h8xg-fv5x\nCVE-2023-38691\n","epss":0.0,"dataProcessed":"Nov 15, 2026, 2:33:15 AM","vulnerabilityProduct":[],"vulnerabilityVendor":[]}},{"id":"45e4c770-a01e-3049-82f2-3010d1487ce5","vulnerability":{"id":"CVE-2023-38691","description":"matrix-appservice-bridge provides an API for setting up bridges. Starting in version 4.0.0 and prior to versions 8.1.2 and 9.0.1, a malicious Matrix server can use a foreign user\u0027s MXID in an OpenID exchange, allowing a bad actor to impersonate users when using the provisioning API. The library does not check that the servername part of the `sub` parameter (containing the user\u0027s *claimed* MXID) is the the same as the servername we are talking to. A malicious actor could spin up a server on any given domain, respond with a `sub` parameter according to the user they want to act as and use the resulting token to perform provisioning requests. Versions 8.1.2 and 9.0.1 contain a patch. As a workaround, disable the provisioning API.","datePublished":"Aug 4, 2023, 4:34:54 PM","dateUpdated":"Oct 7, 2024, 1:01:29 PM","status":"PUBLISHED","baseScore":5.0,"baseScoreVersion":"3.1","baseScoreVector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N","references":"https://github.com/matrix-org/matrix-appservice-bridge/security/advisories/GHSA-vc7j-h8xg-fv5x\nhttps://github.com/matrix-org/matrix-appservice-bridge/commit/4c6723a5e7beda65cdf1ae5dbb882e8beaac8552\n","enisa_id":"EUVD-2023-2361\n","assigner":"GitHub_M","epss":0.47,"dataProcessed":"Nov 18, 2026, 7:23:11 AM","vulnerabilityProduct":[{"id":"34156dfa-011a-31e3-8963-4774c6b64f89","product":{"name":"matrix-appservice-bridge","vendor":{"name":"matrix-org"}},"product_version":"4.0.0, \u003c 8.1.2"},{"id":"639fc03c-ec6a-3e5f-9108-ae0606a477e2","product":{"name":"matrix-appservice-bridge","vendor":{"name":"matrix-org"}},"product_version":"\u003d 9.0.0"}],"vulnerabilityVendor":[{"id":"0275200f-e7ea-31a4-bfca-2cd7202040b6","vendor":{"name":"matrix-org"}}]}}],"enisaIdAdvisory":[]}