Add labels to arbitrary issues/prs & compromise github actions label checks
A user with read access to a repository and write access to a project could modify issue and pull request metadata through the project. This was because column value updates were applied without verifying the actor's repository write permissions.
- Triaged in 20 hours
- Fixed in 51 days
- Paid in 51 days
- Disclosed after 51 days
Summary by the program
An improper authorization vulnerability was identified in GitHub Enterprise Server that allowed a user with read access to a repository and write access to a project to modify issue and pull request metadata through the project. When adding an item to a project that already existed, column value updates were applied without verifying the actor's repository write permissions.
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 project column update endpoint did not verify that the user had write permission on the repository associated with the issue or pull request.
Impact
An attacker could modify issue and pull request metadata without having write access to the repository.
What the attacker needed
Read access to a repository; write access to a project
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, projects can be used to organise issues and pull requests. Normally, only people with write access to a repository can change things like labels on its issues. Here, someone with only read access to the repository but write access to a project could still change those labels, because the system did not check their repository permissions when they updated a project column.
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.