Authorization bypass through user-controlled key in Nextcloud Mail - CVE-2022-31131
Published: July 18, 2022
Vulnerability identifier: #VU65374
CSH Severity: Medium
CVSS v4: 5.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2022-31131
CWE-ID: CWE-639
Exploitation vector: Remote access
Exploit availability:
No public exploit available
Vulnerability details
The vulnerability allows a remote attacker to bypass authentication process.
The vulnerability exists due to missing ownership check when updating or deleting mail attachments. A remote user can cause the attachment is unavailable for the given message in the outbox.
Affected software
Nextcloud Mail
How to mitigate CVE-2022-31131
Install updates from vendor's website.
Nextcloud Mail - update to 1.12.2