Skip to content
Access control Disclosed report Beginner

Security issue: Github repo's wiki publicly editable

The GitHub wikis for several repositories were publicly editable, allowing anyone to change their content. An attacker could add links to malicious code libraries or misleading information that developers might trust.

whitehat_hacker Follow

Originally disclosed on HackerOne

Informational View original
  • Disclosed after under an hour

Hello Team,

Github repo's wiki page is publicly editable. This enables an attacker to edit the wiki pages of the affected repo's. Adding content that may link to malicious code libraries that would be installed and used by developers or information that may mislead users.

POC Links: https://github.com/iandunn/MU-Migration/wiki https://github.com/iandunn/wp-hammer/wiki https://github.com/iandunn/gutenberg/wiki https://github.com/iandunn/dotfiles/wiki

Impact

This enables an attacker to edit the wiki pages of the affected repo's. Adding content that may link to malicious code libraries that would be installed and used by developers or information that may mislead users.

Thank you.

The original report as published on HackerOne, by whitehat_hacker. 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 GitHub wiki settings for these repositories allowed public editing instead of restricting changes to trusted collaborators.

Impact

An attacker could edit the wikis to add links to malicious code libraries or misleading information that developers might follow, though the report does not show this actually happening.

What the attacker needed

Publicly editable GitHub wiki; no special access needed

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. Here, the wiki pages for some code projects on GitHub could be changed by anyone, not just the project owners. That means a stranger could put harmful links or false instructions on those pages, and other people might believe them.

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 whitehat_hacker

View all

1 more disclosed report, best first.

More from Ian Dunn

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.