Nextcloud · Report #858255
Cross site scripting - XSRF Token
Validstatus
mediumseverity
32upvotes
14 Jun 2020disclosed
How it was found
Please follow below mentioned steps for reproducing the vulnerability.
-
Open URL: https://nextcloud.com/enterprise/buy/
-
Fill up valid name and email address and put payload in other fields.
Payload/s: <img src="x" onload=alert(document.cookie);> <svg/onload=alert(document.cookie);>
-
Submit it
-
Open email address you mentioned in the email field.
-
Open up the email source.
-
You will be prompted with xsrf-token.
Impact
As an attacker is getting the xsrf-token, he can utilize it in later attack such as, CSRF.