Skip to content
Misconfiguration Disclosed report Beginner

User Editable nextcloud Wiki pages of Public Repositories

The GitHub wiki for a public Nextcloud repository was editable by anyone, not just collaborators. An attacker could add pages or links to phish users or deface the wiki.

chernobyl Follow

Originally disclosed on HackerOne

  • Fixed in 11 hours
  • Disclosed after 6 months

###Summary : I have found that the "Edit" Permissions of WIKI pages are NOT disabled on the public repositories of nextcloud. Generally Edit permissions are given only to the collaborators of a specific repository. but that is not the case with Nextcloud, It is public editable which isn't right in terms of security.

An attacker can create a new Wiki page for this particular nextcloud Github Wiki page : There is no restriction on it.

https://github.com/nextcloud/logreader/wiki

An attacker could include any content/links and direct users to other similar nextcloud pages to steal user information. Attacker could even provide false information about the user to provide their private keys or passwords using a form/page.

Impact

These wikis should not be publicly editable due to the possibility of abuse through hacktivities such as Phishing, Defacement, etc

Many companies (even on hackerone) are correcting this issue and removing the "Edit" Permissions to the wiki page of public repositories.

The original report as published on HackerOne, by chernobyl. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the repository's wiki was left with default public editing enabled instead of being restricted to collaborators.

Impact

An attacker could add arbitrary content or links to phish users or deface the wiki, though the report gives no proof of exploitation.

What the attacker needed

A GitHub account; target repo has a public wiki

The fix

The wiki's edit permission should be restricted to repository collaborators only.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

A wiki is a set of pages that people can edit together. Normally only trusted team members can change a company's wiki, but here anyone with a GitHub account could edit it. That lets a stranger add fake pages or links to trick visitors.

What is Misconfiguration?

Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.

More by chernobyl

View all

2 more disclosed reports, best first.

More from Nextcloud

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Security misconfiguration

The lesson behind this report.

Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.