CWE
639 287
Advisory Published
Updated

CVE-2022-31131: Ownership check missing when updating or deleting mail attachments in Nextcloud mail

First published: Wed Jul 06 2022(Updated: )

Nextcloud mail is a Mail app for the Nextcloud home server product. Versions of Nextcloud mail prior to 1.12.2 were found to be missing user account ownership checks when performing tasks related to mail attachments. Attachments may have been exposed to incorrect system users. It is recommended that the Nextcloud Mail app is upgraded to 1.12.2. There are no known workarounds for this issue. ### Workarounds No workaround available ### References * [Pull request](https://github.com/nextcloud/mail/pull/6600) * [HackerOne](https://hackerone.com/reports/1579820) ### For more information If you have any questions or comments about this advisory: * Create a post in [nextcloud/security-advisories](https://github.com/nextcloud/security-advisories/discussions) * Customers: Open a support ticket at [support.nextcloud.com](https://support.nextcloud.com)

Credit: security-advisories@github.com

Affected SoftwareAffected VersionHow to fix
Nextcloud Nextcloud Mail<1.12.2

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is CVE-2022-31131?

    CVE-2022-31131 is a vulnerability in Nextcloud Mail that allows incorrect system users to access mail attachments.

  • What is the severity of CVE-2022-31131?

    CVE-2022-31131 has a severity of medium with a CVSS score of 4.3.

  • How can the Nextcloud Mail vulnerability in CVE-2022-31131 be exploited?

    In Nextcloud Mail versions prior to 1.12.2, user account ownership checks were missing, allowing unauthorized access to mail attachments.

  • How can I fix the CVE-2022-31131 vulnerability in Nextcloud Mail?

    To fix the CVE-2022-31131 vulnerability, it is recommended to update Nextcloud Mail to version 1.12.2 or later.

  • Are there any references for CVE-2022-31131?

    Yes, you can find references for CVE-2022-31131 at the following URLs: [reference 1](https://github.com/nextcloud/mail/pull/6600), [reference 2](https://github.com/nextcloud/mail/pull/6600/commits/6dd2527be8d4f6788b449c8a8f5577628b990605), [reference 3](https://github.com/nextcloud/security-advisories/security/advisories/GHSA-xhv7-5mhv-299j).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203