Lucene search

K
hackeroneIgorpyanH1:1403614
HistoryNov 18, 2021 - 12:00 a.m.

Nextcloud: Possibility to force an admin to install recommended applications

2021-11-1800:00:52
igorpyan
hackerone.com
$100
120

0.001 Low

EPSS

Percentile

41.4%

Summary:

Endpoint /nextcloud/index.php/core/apps/recommended is accessible via GET http method and doesn’t check anti-csrf token. If an admin visits this endpoint in a browser the process of installation of recommended applications begins immediately.

Steps To Reproduce:

  1. an attacker creates a malicious page on controlled domain
  2. an attacker enforce an admin to visit this page
  3. an admin visits this page
  4. applications will be installed in a while

Affected version:

nextcloud/server: 22.2.2 (at least)

Recommendation:

require requesttoken for this GET query
or you can change behaviour so to initiate the installation process by manual click (POST query with checking of requesttoken)

[attachment / reference]

{F1517676}

Impact

Increasing of attack surface.
Any unused plugins should be disabled or removed. But this way allows to install them.

0.001 Low

EPSS

Percentile

41.4%