Skip to content
Misconfiguration Disclosed report Beginner

GitHub users outside of HackerOne organization can create and update Wiki pages of certain public HackerOne repositories

mik317 Follow

Originally disclosed on HackerOne

Informational View original
  • Fixed in 9 hours
  • Disclosed after 2 days

Summary by the program

@mik317 submitted a misconfiguration in some of our GitHub repositories to us. Wikis are inherently editable for all users, but for some repositories an organization may want to restrict this access. In some cases it was possible for GitHub users outside of the Hacker0x01 organization to add and edit wiki pages of open source repositories of HackerOne. We decided to address this because some of these repositories are open source libraries that are used by people outside of HackerOne, like react-datepicker. To avoid confusion to those users, we're now restricting access to the wiki or completely removed the wiki.

We audited our public GitHub repositories and determined whether the access should be revoked. It has, on purpose, not been disabled for all repositories.

In order to revoke access, go into the Settings of a GitHub repository. On the right will be a "Features" section. The top two items are "Wikis" and "Restrict editing to users in teams with push access only". The options are pretty self-explanatory. In case the repository doesn't need a wiki, it'd be recommended to disable the wiki all-together. In case you do need it, check the second option to ensure only team members can contribute to the wiki.

We'd like to thank @mik317 for bringing this to our attention!

The report

Summary Hi HackerOne team, recently this vulnerability have been reported and resolved in various programs, so I'm going to try my bad luck, reporting the same kind of report also in this program.

Steps

  1. Go on https://github.com/Hacker0x01/react-datepicker/wiki/BB-test
  2. I've created a simple page in the wiki without be a collaborator of the repo, or and without any permission
  3. Going on https://github.com/Hacker0x01/react-datepicker/wiki/ you can add a new fake or phishing page clicking on the New page or edit buttons.
  4. content.png
    content.png From the original on HackerOne

PS First of all, I'm not sure that this type of issue is allowed on your program, but seeing the following report (https://hackerone.com/reports/457009) seem that is quite accepted by anyone, so I will try my luck (I'm going to fail, I know lol). I know also that the impact isn't interesting, but as I said previously, let me try :)

Impact

Add and edit pages in the wiki of the https://github.com/Hacker0x01/react-datepicker/ repo

The original report as published on HackerOne, by mik317. 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.

What is known

A misconfiguration bug. HackerOne made it public on 12 December 2018.

About Misconfiguration

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

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

What is Misconfiguration?

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

More by mik317

View all

23 more disclosed reports, best first.

More from HackerOne

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.