2023-08-04 18:00:38 +00:00
{
"id" : "CVE-2023-38691" ,
"sourceIdentifier" : "security-advisories@github.com" ,
"published" : "2023-08-04T17:15:11.063" ,
2024-12-08 03:06:42 +00:00
"lastModified" : "2024-11-21T08:14:03.960" ,
"vulnStatus" : "Modified" ,
2024-07-14 02:06:08 +00:00
"cveTags" : [ ] ,
2023-08-04 18:00:38 +00:00
"descriptions" : [
{
"lang" : "en" ,
"value" : "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's 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's *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."
}
] ,
"metrics" : {
"cvssMetricV31" : [
2023-08-11 20:00:41 +00:00
{
2024-12-08 03:06:42 +00:00
"source" : "security-advisories@github.com" ,
"type" : "Secondary" ,
2023-08-11 20:00:41 +00:00
"cvssData" : {
"version" : "3.1" ,
2024-12-08 03:06:42 +00:00
"vectorString" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N" ,
"baseScore" : 5.0 ,
"baseSeverity" : "MEDIUM" ,
2023-08-11 20:00:41 +00:00
"attackVector" : "NETWORK" ,
"attackComplexity" : "LOW" ,
"privilegesRequired" : "LOW" ,
"userInteraction" : "NONE" ,
2024-12-08 03:06:42 +00:00
"scope" : "CHANGED" ,
"confidentialityImpact" : "LOW" ,
2023-08-11 20:00:41 +00:00
"integrityImpact" : "NONE" ,
2024-12-08 03:06:42 +00:00
"availabilityImpact" : "NONE"
2023-08-11 20:00:41 +00:00
} ,
2024-12-08 03:06:42 +00:00
"exploitabilityScore" : 3.1 ,
"impactScore" : 1.4
2023-08-11 20:00:41 +00:00
} ,
2023-08-04 18:00:38 +00:00
{
2024-12-08 03:06:42 +00:00
"source" : "nvd@nist.gov" ,
"type" : "Primary" ,
2023-08-04 18:00:38 +00:00
"cvssData" : {
"version" : "3.1" ,
2024-12-08 03:06:42 +00:00
"vectorString" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N" ,
"baseScore" : 6.5 ,
"baseSeverity" : "MEDIUM" ,
2023-08-04 18:00:38 +00:00
"attackVector" : "NETWORK" ,
"attackComplexity" : "LOW" ,
"privilegesRequired" : "LOW" ,
"userInteraction" : "NONE" ,
2024-12-08 03:06:42 +00:00
"scope" : "UNCHANGED" ,
"confidentialityImpact" : "HIGH" ,
2023-08-04 18:00:38 +00:00
"integrityImpact" : "NONE" ,
2024-12-08 03:06:42 +00:00
"availabilityImpact" : "NONE"
2023-08-04 18:00:38 +00:00
} ,
2024-12-08 03:06:42 +00:00
"exploitabilityScore" : 2.8 ,
"impactScore" : 3.6
2023-08-04 18:00:38 +00:00
}
]
} ,
"weaknesses" : [
{
2024-12-08 03:06:42 +00:00
"source" : "security-advisories@github.com" ,
"type" : "Secondary" ,
2023-08-04 18:00:38 +00:00
"description" : [
{
"lang" : "en" ,
"value" : "CWE-287"
}
]
2023-08-11 20:00:41 +00:00
} ,
{
2024-12-08 03:06:42 +00:00
"source" : "nvd@nist.gov" ,
"type" : "Primary" ,
2023-08-11 20:00:41 +00:00
"description" : [
{
"lang" : "en" ,
"value" : "CWE-287"
}
]
}
] ,
"configurations" : [
{
"nodes" : [
{
"operator" : "OR" ,
"negate" : false ,
"cpeMatch" : [
{
"vulnerable" : true ,
"criteria" : "cpe:2.3:a:matrix:matrix-appservice-bridge:*:*:*:*:*:node.js:*:*" ,
"versionStartIncluding" : "4.0.0" ,
"versionEndExcluding" : "8.1.2" ,
"matchCriteriaId" : "DC6F33A1-2DFE-4F73-8C67-45C4782AC792"
} ,
{
"vulnerable" : true ,
"criteria" : "cpe:2.3:a:matrix:matrix-appservice-bridge:9.0.0:*:*:*:*:node.js:*:*" ,
"matchCriteriaId" : "40415786-C971-407F-9E51-9C5203B4F2CB"
}
]
}
]
2023-08-04 18:00:38 +00:00
}
] ,
"references" : [
{
"url" : "https://github.com/matrix-org/matrix-appservice-bridge/commit/4c6723a5e7beda65cdf1ae5dbb882e8beaac8552" ,
2023-08-11 20:00:41 +00:00
"source" : "security-advisories@github.com" ,
"tags" : [
"Patch"
]
2023-08-04 18:00:38 +00:00
} ,
{
"url" : "https://github.com/matrix-org/matrix-appservice-bridge/security/advisories/GHSA-vc7j-h8xg-fv5x" ,
2023-08-11 20:00:41 +00:00
"source" : "security-advisories@github.com" ,
"tags" : [
"Third Party Advisory"
]
2024-12-08 03:06:42 +00:00
} ,
{
"url" : "https://github.com/matrix-org/matrix-appservice-bridge/commit/4c6723a5e7beda65cdf1ae5dbb882e8beaac8552" ,
"source" : "af854a3a-2127-422b-91ae-364da2661108" ,
"tags" : [
"Patch"
]
} ,
{
"url" : "https://github.com/matrix-org/matrix-appservice-bridge/security/advisories/GHSA-vc7j-h8xg-fv5x" ,
"source" : "af854a3a-2127-422b-91ae-364da2661108" ,
"tags" : [
"Third Party Advisory"
]
2023-08-04 18:00:38 +00:00
}
]
}