Skip to content
Account takeover Disclosed report Intermediate

Approve topup method by sender of this method

The approval endpoint for a shared SIM top-up request did not verify that the logged-in user was the intended recipient, so the sender could approve their own request. An attacker could add their own payment method to another user's SIM without that user's consent.

Andrey Leonov Follow

Originally disclosed on HackerOne

  • Triaged in 20 hours
  • Fixed in 12 days
  • Disclosed after 21 days

user A has a sim and send auth request to user B user B accepted it and decide to add to shared sim own topup method user B goes to https://mobilevikings.be/en/account/easypay/auto-sms-topup/ - select shared sim card and select method in section "Choose a payment method" and submit form. User A get an email with link and get a reminder about this request on website.

link from the mail - https://mobilevikings.be/en/account/easypay/request/approve/scQxc0PMTjRF2G7CrWY69nzUcKxPn9/

link from the https://mobilevikings.be/en/account/requests/#easypay -> https://mobilevikings.be/en/account/easypay/request/287740/approve/1036392/

Let's open this link in context of user B session - he sent this method and user A should accept it not user B Link from mail - 404 error - good Link from request page - Easy Payment authorization request approved - ?????!!!!! ( i tested on absolutely another user - and got 404 error, so this work only in context of sender or recipient) Let's look closer on request which made by user B to sent this method to user A POST /en/account/easypay/auto-sms-topup/ HTTP/1.1

csrfmiddlewaretoken=AlEqSERKOXKjZfSdw2WtPY4l7n5b68BM&sim_card=subscription-1036392&payment_method=debtor_287740&name=&birthdate=&iban=&bic=&topup_when_calling_credit_below_treshold_amounts=0

sim_card=subscription-1036392 and payment_method=debtor_287740 - all info for approve request in sender request.

The original report as published on HackerOne, by 4lemon. 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 approval endpoint checked only that the request existed and belonged to the sender or recipient, not that the current user was specifically the recipient.

Impact

The sender could approve their own top-up request, adding their payment method to another user's shared SIM without that user's consent.

What the attacker needed

A shared SIM card between two users; attacker is one of the shared SIM users; victim does not need to click anything

The fix

The approval endpoint should check the logged-in user is the recipient, not the sender.

How it was found

  1. User B selects the shared SIM and a payment method, then submits the form.
  2. User A receives an email with an approval link and a reminder on the website.
  3. User B opens the approval link from the requests page while logged in as themselves.
  4. The request is approved even though User B is the sender, not the recipient.

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 share a SIM card, one person can ask to add a payment method, and the other person is supposed to approve it. Here, the website let the person who made the request approve it themselves, so the other person never got a say. This means someone could attach their own payment method to your SIM without you agreeing.

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 by Andrey Leonov

View all

26 more disclosed reports, best first.

More from Mobile Vikings

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.