Skip to content
Access control Disclosed report Beginner

Add another email address without verification

Weblate accepted an email address from a linked openSUSE ID account even though that email had never been verified. An attacker could therefore attach an email address they do not own to their Weblate account.

tungpun Follow

Originally disclosed on HackerOne

  • Triaged in 1 hour
  • Fixed in 3 hours
  • Disclosed after 30 days

Introduction

In the normal case, to link another email address to the Weblate account, users need to own the email address and click the verification link. However, I found an issue, that allows adding another email address without clicking on the verification link.

Description and PoC:

  • Create a new openSUSE ID. Pick up a new email. In this example, I choose [email protected].
Screen_Shot_2017-09-05_at_5.25.09_PM.png
Screen_Shot_2017-09-05_at_5.25.09_PM.png From the original on HackerOne

Of course, you don't need to verify the email address for this openSUSE ID.

  • Then backs to weblate.org, go to Your profile > Authentication https://demo.weblate.org/accounts/profile/#auth.

Add the above openSUSE account as a new association.

Screen_Shot_2017-09-05_at_5.23.04_PM.png
Screen_Shot_2017-09-05_at_5.23.04_PM.png From the original on HackerOne
  • That all, go to Account tab https://demo.weblate.org/accounts/profile/#account, you will see the new email in your account's email field.
Screen_Shot_2017-09-05_at_5.23.11_PM.png
Screen_Shot_2017-09-05_at_5.23.11_PM.png From the original on HackerOne

Mitigation

Weblate should only accept the association from verified openSUSE ID.

The original report as published on HackerOne, by tungpun. 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, Weblate trusted the email address supplied by the linked openSUSE ID account without checking whether that address was verified.

Impact

An attacker could attach an email address they do not control to their Weblate account.

What the attacker needed

A free openSUSE ID; a Weblate account; no email verification needed

How it was found

  1. Create a new openSUSE ID using an email address you do not own, without verifying it.
  2. On Weblate, open the profile authentication page and add that openSUSE account as a new association.
  3. Open the account tab and observe the unverified email now shown in the account's email field.

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.

Many sites let you sign in through another service, here openSUSE ID, and trust the details that service sends back. Weblate copied the email address from that account into the user's profile without checking that the address had actually been confirmed. So someone could claim an address that belongs to another person.

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 by tungpun

View all

11 more disclosed reports, best first.

More from Weblate

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.