SB2021071213 - Multiple vulnerabilities in Nextcloud Server
Published: July 12, 2021
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 7 secuirty vulnerabilities.
1) Cross-site scripting (CVE-ID: CVE-2021-32733)
The disclosed vulnerability allows a remote attacker to perform cross-site scripting (XSS) attacks.
The vulnerability exists due to insufficient sanitization of user-supplied data in the Text application. A remote attacker can trick the victim to follow a specially crafted link and execute arbitrary HTML and script code in user's browser in context of vulnerable website.
Successful exploitation of this vulnerability may allow a remote attacker to steal potentially sensitive information, change appearance of the web page, perform phishing and drive-by-download attacks.
2) Improper control of interaction frequency (CVE-ID: CVE-2021-32703)
The vulnerability allows a remote attacker to gain access to sensitive information on the target system.
The vulnerability exists due to a lack of ratelimiting on the shareinfo endpoint. A remote attacker can enumerate potentially valid share tokens.
3) Permissions, Privileges, and Access Controls (CVE-ID: CVE-2021-32725)
The vulnerability allows a remote attacker to escalate privileges on the system.
The vulnerability exists due to default share permissions are not respected for federated reshares of files and folders, which leads to security restrictions bypass and privilege escalation.
4) Information disclosure (CVE-ID: CVE-2021-32734)
The vulnerability allows a remote attacker to gain access to potentially sensitive information.
The vulnerability exists due to the Nextcloud Text application shipped with Nextcloud server did return verbatim exception messages to the user. A remote attacker can gain unauthorized access to sensitive information on the system.
5) Incorrect Ownership Assignment (CVE-ID: CVE-2021-32726)
The vulnerability allows a remote attacker to gain access to sensitive information on the target system.
The vulnerability exists due to the Webauthn tokens are not deleted after a user has been deleted. If a victim reuse an earlier used username, the previous user can gain access to their account.
6) Improper control of interaction frequency (CVE-ID: CVE-2021-32741)
The vulnerability allows a remote attacker to gain access to sensitive information on the target system.
The vulnerability exists due to a lack of ratelimiting on the public share link mount endpoint. A remote attacker can enumerate potentially valid share tokens.
7) Improper control of interaction frequency (CVE-ID: CVE-2021-32705)
The vulnerability allows a remote attacker to gain access to sensitive information on the target system.
The vulnerability exists due to a lack of ratelimiting on the public DAV endpoint. A remote attacker can enumerate potentially valid share tokens or credentials.
Remediation
Install update from vendor's website.
References
- https://github.com/nextcloud/security-advisories/security/advisories/GHSA-x4w3-jhcr-57pq/
- https://github.com/nextcloud/security-advisories/security/advisories/GHSA-375p-cxxq-gc9p/
- https://github.com/nextcloud/security-advisories/security/advisories/GHSA-6f6v-h9x9-jj4v/
- https://github.com/nextcloud/security-advisories/security/advisories/GHSA-6hf5-c2c4-2526/
- https://github.com/nextcloud/security-advisories/security/advisories/GHSA-6qr9-c846-j8mg/
- https://github.com/nextcloud/security-advisories/security/advisories/GHSA-crvj-vmf7-xrvr/
- https://github.com/nextcloud/security-advisories/security/advisories/GHSA-fjv7-283f-5m54/