Skip to content
Access control Disclosed report Beginner

Exposed Edit Access Link in GitLab Markdown Document

A GitLab markdown document contained a Lucidchart edit access link that allowed anyone to modify or delete the diagram. An attacker could use the link to alter content related to AWS PrivateLink connections for GitLab Dedicated.

GitLab

Originally disclosed on GitLab

  • Fixed in 15 days
  • Disclosed after 15 days

⚠️ Please read the process on how to fix security issues before starting to work on the issue. Vulnerabilities must be fixed in a security mirror.

HackerOne report #2640513 by foxribeye on 2024-08-05, assigned to GitLab Team:

Report | Attachments | How To Reproduce

Report

My previous report of this vulnerability was not reproducible, but this new report is. This updated report identifies a vulnerability involving an exposed Lucidchart edit access link within a GitLab markdown .md file.
The file containing the exposed Lucidchart edit access URL can be found here: https://gitlab.com/gitlab-org/gitlab/-/blob/master/doc/administration/dedicated/index.md?ref_type=heads

Previous Report Number: #2626623
The previous report was closed as Not Applicable due to insufficient proof. This new report provides the correct Lucidchart URL and necessary proof of edit access. I apologize for the mistakes in the previous report, the lack of proof, as well as the disorganized comments. I hope this new submission provides a clearer and more accurate representation of the issue.

Steps to Reproduce:
[1] Create a Lucidchart account at: https://lucid.app/users/registerOrLogin/free?showLogin
[2] Gain edit access by navigating to the exposed Lucidchart Edit Access Link: https://lucid.app/lucidchart/cff1ce90-f146-457f-9630-d9b2eecdee99/edit?viewport_loc=553%2C-1872%2C2903%2C1277%2C0_0&invitationId=inv_1bf96b4a-8cc0-4a34-844d-a8780f32862a
[3] With edit access, you can modify and delete content within the Lucidchart document, including diagrams related to AWS PrivateLink connections for GitLab Dedicated. (You'll see my added text inside the Lucidchart; "bug bounty testing -fox")

Proof of Concept Video:

editAccess2SharedLucidChart.webm From the original on GitLab

Impact

Unauthorized users can manipulate or delete all content in a GitLab team’s shared Lucidchart document, compromising the integrity of information related to AWS PrivateLink connections for GitLab Dedicated.

Attachments

Warning: Attachments received through HackerOne, please exercise caution!

How To Reproduce

Please add reproducibility information to this section:

The original report as published on GitLab. Images and videos are our own copies; raw HTML is shown as text. View it on GitLab.

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 a link granting edit access to a Lucidchart document was accidentally included in a public markdown file.

Impact

Unauthorized users could manipulate or delete all content in the shared Lucidchart document, compromising the integrity of information about AWS PrivateLink connections for GitLab Dedicated.

What the attacker needed

A free Lucidchart account; access to the exposed link

How it was found

  1. Create a free Lucidchart account.
  2. Open the exposed edit access link to gain editing rights.
  3. Modify or delete content in the Lucidchart document.

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 document in a public code repository included a link that gave editing rights to an online diagram. Anyone who found the link could change or delete the diagram, which showed how a GitLab service connects to a cloud network.

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 GitLab

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.