Skip to content
Access control Disclosed report Beginner

Publicly editable GitHub wikis

Several GitHub wikis belonging to the Liberapay organisation were publicly editable by any GitHub user. An attacker could add misleading content or links to malicious libraries that developers might install.

strukt Follow

Originally disclosed on HackerOne

  • Disclosed after 44 hours

Hello team,

While browsing https://github.com/liberapay I found that many of the repositories have their wikis publicly editable by any GitHub user. The following are some of the affected repositories:

https://github.com/liberapay/cardregistration-js-kit/wiki
https://github.com/liberapay/mangopay2-python-sdk/wiki

I went on and created the following wiki page as a PoC: https://github.com/liberapay/cardregistration-js-kit/wiki/PoC

Impact

This enables an attacker to edit the wiki pages of the affected repositories completely remotely, adding content that may link to malicious code libraries that would be installed and used by developers or information that may mislead your users.

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

Impact

An attacker could remotely edit the affected wikis and add content that may link to malicious code libraries or mislead users.

What the attacker needed

A GitHub account; target repository has a wiki

How it was found

  1. Browse the Liberapay GitHub organisation and find repositories with wikis.
  2. Notice that the wikis can be edited by any GitHub user.
  3. Create a new wiki page as a proof of concept.

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 anyone can usually edit. Here, the project's wiki pages were open for editing by anyone on GitHub, not just the project team. That means a stranger could change the documentation people read and trust.

What is Access control?

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.

More by strukt

View all

15 more disclosed reports, best first.

More from Liberapay

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.