Skip to content
Access control Disclosed report Intermediate CVE-2022-23737

Managing Pages

An improper privilege management flaw in GitHub Enterprise Server let users with write access to a repository create or delete pages through the API, which they should not have been able to do. An attacker with write permissions could therefore manipulate pages without proper authorisation.

too_busy Follow

Originally disclosed on HackerOne

  • Triaged in 3 days
  • Fixed in 3 months
  • Paid in 3 months
  • Disclosed after 4 months

Summary by the program

An improper privilege management vulnerability was identified in GitHub Enterprise Server that allowed users with improper privileges to create or delete pages via the API. To exploit this vulnerability, an attacker would need to be added to an organization's repo with write permissions. This vulnerability affected all versions of GitHub Enterprise Server prior to 3.7 and was fixed in versions 3.2.20, 3.3.15, 3.4.10, 3.5.7, and 3.6.3. This vulnerability was reported via the GitHub Bug Bounty program.

The original report as published on HackerOne, by too_busy. 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 API endpoint for managing pages did not properly check whether the user had the required privilege level, allowing write-access users to perform page operations.

Impact

An attacker with write permissions to a repository could create or delete pages via the API, potentially altering or removing content they should not control.

What the attacker needed

Write access to an organization's repo

The fix

The vulnerability was fixed in versions 3.2.20, 3.3.15, 3.4.10, 3.5.7, and 3.6.3.

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.

In GitHub Enterprise Server, some users who only had permission to write to a repository could also create or delete pages using the API, even though they should not have that ability. This is a problem because it lets someone with limited access do something that should require higher privileges.

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 from GitHub

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.