9.8
CRITICAL
CVE-2021-32802
Nextcloud Image Preview Vulnerability
Description

Nextcloud server is an open source, self hosted personal cloud. Nextcloud supports rendering image previews for user provided file content. For some image types, the Nextcloud server was invoking a third-party library that wasn't suited for untrusted user-supplied content. There are several security concerns with passing user-generated content to this library, such as Server-Side-Request-Forgery, file disclosure or potentially executing code on the system. The risk depends on your system configuration and the installed library version. It is recommended that the Nextcloud Server is upgraded to 20.0.12, 21.0.4 or 22.1.0. These versions do not use this library anymore. As a workaround users may disable previews by setting `enable_previews` to `false` in `config.php`.

INFO

Published Date :

Sept. 7, 2021, 10:15 p.m.

Last Modified :

Sept. 27, 2022, 2:16 p.m.

Remotely Exploitable :

Yes !

Impact Score :

5.9

Exploitability Score :

3.9
Affected Products

The following products are affected by CVE-2021-32802 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Nextcloud nextcloud_server
2 Nextcloud notes
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2021-32802.

URL Resource
https://docs.nextcloud.com/server/21/admin_manual/configuration_files/previews_configuration.html#disabling-previews Vendor Advisory
https://github.com/nextcloud/security-advisories/security/advisories/GHSA-m682-v4g9-wrq7 Mitigation Third Party Advisory
https://hackerone.com/reports/1261413 Permissions Required Third Party Advisory
https://security.gentoo.org/glsa/202208-17 Third Party Advisory

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2021-32802 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2021-32802 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • Modified Analysis by [email protected]

    Sep. 27, 2022

    Action Type Old Value New Value
    Changed Reference Type https://security.gentoo.org/glsa/202208-17 No Types Assigned https://security.gentoo.org/glsa/202208-17 Third Party Advisory
    Changed CPE Configuration OR *cpe:2.3:a:nextcloud:nextcloud:*:*:*:*:*:*:*:* versions up to (excluding) 20.0.12 *cpe:2.3:a:nextcloud:nextcloud:*:*:*:*:*:*:*:* versions from (including) 21.0.0 up to (excluding) 21.0.4 *cpe:2.3:a:nextcloud:nextcloud:*:*:*:*:*:*:*:* versions from (including) 22.0.0 up to (excluding) 22.1.0 OR *cpe:2.3:a:nextcloud:nextcloud_server:*:*:*:*:*:*:*:* versions up to (excluding) 20.0.12 *cpe:2.3:a:nextcloud:nextcloud_server:*:*:*:*:*:*:*:* versions from (including) 21.0.0 up to (excluding) 21.0.4 *cpe:2.3:a:nextcloud:nextcloud_server:*:*:*:*:*:*:*:* versions from (including) 22.0.0 up to (excluding) 22.1.0
  • CVE Modified by [email protected]

    Aug. 11, 2022

    Action Type Old Value New Value
    Added Reference https://security.gentoo.org/glsa/202208-17 [No Types Assigned]
  • Initial Analysis by [email protected]

    Sep. 14, 2021

    Action Type Old Value New Value
    Added CVSS V2 NIST (AV:N/AC:L/Au:N/C:C/I:C/A:C)
    Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type https://docs.nextcloud.com/server/21/admin_manual/configuration_files/previews_configuration.html#disabling-previews No Types Assigned https://docs.nextcloud.com/server/21/admin_manual/configuration_files/previews_configuration.html#disabling-previews Vendor Advisory
    Changed Reference Type https://github.com/nextcloud/security-advisories/security/advisories/GHSA-m682-v4g9-wrq7 No Types Assigned https://github.com/nextcloud/security-advisories/security/advisories/GHSA-m682-v4g9-wrq7 Mitigation, Third Party Advisory
    Changed Reference Type https://hackerone.com/reports/1261413 No Types Assigned https://hackerone.com/reports/1261413 Permissions Required, Third Party Advisory
    Added CWE NIST CWE-829
    Added CPE Configuration OR *cpe:2.3:a:nextcloud:nextcloud:*:*:*:*:*:*:*:* versions up to (excluding) 20.0.12 *cpe:2.3:a:nextcloud:nextcloud:*:*:*:*:*:*:*:* versions from (including) 21.0.0 up to (excluding) 21.0.4 *cpe:2.3:a:nextcloud:nextcloud:*:*:*:*:*:*:*:* versions from (including) 22.0.0 up to (excluding) 22.1.0
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.28 }} 0.03%

score

0.68364

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability