Skip to content
Account takeover Disclosed report Beginner

Ability To Delete User(s) Account Without User Interaction

GitLab's GDPR deletion process accepted spoofed emails without verifying the sender's identity, allowing an attacker to delete a victim's account by sending an email from the victim's address. The victim receives a confirmation email, and the account is deleted within days.

hx01 Follow

Originally disclosed on HackerOne

High 7.5 View original
  • Triaged in 25 hours
  • Fixed in 23 days
  • Paid in 23 days
  • Disclosed after 8 months

Summary by the researcher

Research Paper: https://hx01.me/Abusing_Data_Protection_Laws_For_D0xing_and_Account_Takeovers.pdf

The report

Summary:

Gitlab allows its user to exercise their GDPR rights (Right to Access/Delete) user data by sending an email to [email protected] however gitlab team doesn't ask for security question(i.e Date Of Birth) before deleting the user account moreover doesn't authenticate the incoming emails from their instance which allows an attacker to delete user accounts without user interaction : ██████

Steps to reproduce

  1. Send an spoofed email from victim's email address to [email protected] from a reputable SMTP (e.g: Sendgrid):

███████ 2. Victim will receive the following confirmation email:

Screen_Shot_2020-07-21_at_2.18.53_AM.png
Screen_Shot_2020-07-21_at_2.18.53_AM.png From the original on HackerOne
  1. In the next few days victim's account will be deleted :

██████

Fix :

  • Add second verification i.e ask for DOB,Government ID.

Impact

Since Gitlab doesn't verify the request with an Valid ID before triggering Right to Access/Deletion this breaches the GDPR Law(Article 15) & moreover allows an attacker to delete User Accounts without user interaction.

The original report as published on HackerOne, by hx01. 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 GDPR request process did not authenticate the sender beyond the email 'From' header, which is easily spoofed.

Impact

An attacker could delete a user's account without any interaction from the victim, and the report claims this also breaches GDPR Article 15.

What the attacker needed

Ability to send email with spoofed sender address; victim's email address known

The fix

The process should add a second verification step, such as asking for date of birth or a government ID, before deleting an account.

How it was found

  1. Send a spoofed email from the victim's email address to [redacted] using a reputable SMTP service.
  2. The victim receives a confirmation email about the request.
  3. Within a few days, the victim's account is deleted.

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 ask a company to delete your account, they should check that the request really comes from you. Here, GitLab only looked at the email address in the 'From' field, which can be faked. So anyone could pretend to be you and ask GitLab to delete your account.

What is Account takeover?

Getting into someone else's account through a flaw in sign-in, password reset, second factor, single sign-on or session handling.

More from GitLab

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Account takeover

The lesson behind this report.

Getting into someone else's account through a flaw in sign-in, password reset, second factor, single sign-on or session handling.