Nextcloud · Report #171497
Content spoofing in lookup.nextcloud.com
Validstatus
lowseverity
11upvotes
10 Oct 2016disclosed
How it was found
Scenerio An attacker can include any arbitrary text using specially crafted nextcloud url. This is done using character /%0d%0a.
Steps
- Attacker distributed the below url by means of spamming or through his website https://lookup.nextcloud.com/%0d%0ahas%20moved%20to%20www.evil.com.Please%20visit%20evil.com%20Present%20resource
- Victim see below text The requested URL / has moved to www.evil.com.Please visit evil.com Present resource was not found on this server.
- Since the text came from official site so user believes and gets into attacker trap
Resolution Crafted text should not be responded back in the response HTML