Skip to content
Account takeover Write-up Intermediate

CVE-2025–4687 ( Pre-Account takeover through invite on Teletonika RMS website )

The Teltonika RMS website allowed an attacker to send an invitation to a victim who had not yet registered, and after the victim created an account and a company, the attacker retained edit access to that company and its users. This enabled a pre-account takeover of any future customer account.

jowin922 Follow

Published on jowin922.medium.com

Teltonika RMS website which is used to manage remote devices was found to be vulnerable to Pre-account takeover using invite. The vulnerability was promptly reported to the vendor and fixed before this writeup was published.

jowin922, on jowin922.medium.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the invitation was not invalidated or scoped correctly when the invited user registered independently, leaving the attacker with elevated access to the victim's newly created company.

Impact

The attacker could achieve complete account takeover of the victim user by sending an invite.

What the attacker needed

Attacker has an account; victim has no existing account; victim creates an account after invite

The fix

The vulnerability was fixed by the vendor before the writeup was published.

How it was found

  1. The attacker creates an account on the website.
  2. The attacker logs in, goes to the invitation endpoint, sends an invite to the victim with admin role, and logs out.
  3. The victim ignores the invite, creates a new account, and logs in.
  4. The victim creates a new company and logs out.
  5. The attacker logs in, goes to the companies endpoint, and sees the victim's company with edit option enabled.
  6. The attacker goes to the users endpoint and can edit all settings of the victim users.

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 write-up has not been written yet. The Original tab links to the source.

An invitation system is meant to let a new person join an existing company. Here, the invite was sent before the victim even had an account, and the system did not properly separate the attacker's company from the victim's new company. As a result, the attacker could still edit the victim's company and user settings after the victim signed up.

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.

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.