Skip to content
Business logic Disclosed report Beginner

ESCALATED: Project | Invite member | Access expiration date - can set expiration for past dates

The project member invitation form did not validate the expiration date, allowing a past date to be saved. An attacker could set an expiration date in the past, but the impact is unclear as the report claims a team member could retain access despite expiration.

GitLab

Originally disclosed on GitLab

  • Fixed in 12 months
  • Disclosed after 12 months

HackerOne report #694932 by henonoah on 2019-09-14, assigned to @jbroullon:

Summary

I encounter the issue while adding members to my project. I am able to intercept & overwrite post values, especially for "expires_at" attribute. I didn't saw any validation message instead data got saved.

Steps to reproduce

I am using the burp suite tool to intercept all requests.

  1. Invite member for the project
  2. Intercept post request (https://gitlab.com/navaraj99/sep15/-/project_members)
  3. Now update the "expires_at" attribute to any past date
  4. Submit the request

I have also attached some snaps from Gitlab & Burp. Please have a look onto that.

What is the expected correct behavior?

Every post data should be validated properly and it could be great if the proper or relevant error message is shown instead of getting submitted successfully.

Impact

A team member can read or write a project without the effect of expiration date even though his/her access is expired he/she can have access over the project. As stated by OWASP attacker can perform broken access control vulnerability and also, let him a clue to attempt access violation over the entire application.

Attachments

Warning: Attachments received through HackerOne, please exercise caution!

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 the server did not validate that the expiration date was in the future before saving it.

Impact

A team member could read or write a project without the effect of the expiration date, even though their access is expired, but the report does not demonstrate this actually happens.

What the attacker needed

Access to invite members; ability to intercept requests

How it was found

  1. Invite a member to the project.
  2. Intercept the POST request to the project members endpoint.
  3. Change the expires_at attribute to a past date.
  4. Submit the request.

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.

When you invite someone to a project, you can set a date when their access expires. The website did not check if the date was in the past, so it accepted it. This might let someone keep access even after the date has passed, but the report does not prove that.

What is Business logic?

The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.

More from GitLab

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Business logic flaws

The lesson behind this report.

The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.