HexBrain

Nextcloud · Report #457032

Github wikis are editable by anyone

Validstatus
mediumseverity
8upvotes
7 Dec 2018disclosed

How it was found

Github wikis on the following projects

https://github.com/nextcloud/fulltextsearch https://github.com/nextcloud/nextcloudpi https://github.com/nextcloud/spreed https://github.com/nextcloud/ocsms https://github.com/nextcloud/nextcloud-snap https://github.com/nextcloud/passman

can be edited by any logged in user in the system. This poses security and reputation risk for the company.

{F386595}

Impact

As wikis listed above can be edited by any person on the internet, a malicious actor can accurately craft a message or a note which would lead a user to download a malicious component in a natural way.

For example:

Please note that the current version is not stable due to the following line:
informat_note_send.c:4562
To ensure that the program won't crush in production, please consider installing this patch http://notsoevil.com.
In case of any following troubles, drop us an email at [email protected]

The user would surely trust the code (of course if he trusts the company itself), so he will extrapolate this trust to the wiki and consider it being safe enough to follow the instructions and downloading himself a malware.

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