Lucene search

K
githubGitHub Advisory DatabaseGHSA-4F74-84V3-J9Q5
HistorySep 26, 2023 - 6:55 p.m.

matrix-synapse vulnerable to temporary storage of plaintext passwords during password changes

2023-09-2618:55:24
CWE-312
GitHub Advisory Database
github.com
17
matrix-synapse
plaintext passwords
temporary storage
password changes
database backups
erased after 48 hours
bug fix
regression.

CVSS3

3.7

Attack Vector

NETWORK

Attack Complexity

HIGH

Privileges Required

LOW

User Interaction

REQUIRED

Scope

UNCHANGED

Confidentiality Impact

LOW

Integrity Impact

LOW

Availability Impact

NONE

CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N

EPSS

0.001

Percentile

30.1%

Impact

When users update their passwords, the new credentials may be briefly held in the server database. While this doesn’t grant the server any added capabilities—it already learns the users’ passwords as part of the authentication process—it does disrupt the expectation that passwords won’t be stored in the database. As a result, these passwords could inadvertently be captured in database backups for a longer duration.

These temporarily stored passwords are automatically erased after a 48-hour window.

Patches

https://github.com/matrix-org/synapse/pull/16272

References

This bug was due to a regression in https://github.com/matrix-org/synapse/pull/13188.

Affected configurations

Vulners
Node
matrixsynapseRange1.66.01.93.0
VendorProductVersionCPE
matrixsynapse*cpe:2.3:a:matrix:synapse:*:*:*:*:*:*:*:*

CVSS3

3.7

Attack Vector

NETWORK

Attack Complexity

HIGH

Privileges Required

LOW

User Interaction

REQUIRED

Scope

UNCHANGED

Confidentiality Impact

LOW

Integrity Impact

LOW

Availability Impact

NONE

CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N

EPSS

0.001

Percentile

30.1%