IDOR in backup recovery functionality
An authenticated attacker who knows a victim's machine UUID, backup ID and other parameters could configure and run a recovery plan, allowing them to take over another user's backup. The program confirmed the IDOR and stated no exploitation was observed.
- Triaged in 6 days
- Fixed in 7 months
- Paid in 11 days
- Disclosed after 20 months
Summary by the program
IDOR in backup recovery functionality allowed an authenticated attacker knowing user's machine UUID, backup ID and some other parameters to configure and run recovery plan.
We have seen no signs of the exploitation of this vulnerability.
Summary by the researcher
Access Control Flaw Leading to Critical Data Deletion through Backup Overwrite Exploit
The report
Summary
Hi team I hope you are well, there is an issue let me to takeover any backup via recover it to my machine.
Steps To Reproduce
- Login https://mc-beta-cloud.acronis.com
- Visit the DEVICES section [you must have 2 devices]
- Click on any device has a backup [device_1]
- Click on recovery > select machine > select the second machine [device_2]
- follow the steps to recover the backup to [device_2]
- In the burp search for this endpoint
/bc/api/ams/recovery/plan_operations/run - Send the request again via ==X-Apigw-Session== session from another organization.
POC
Impact
- Backup Takeover via recovery function.
What the report shows
The target is the Acronis beta cloud console at beta-cloud.acronis.com, and the feature under test is backup recovery. The researcher describes the issue as the ability to take over any backup by recovering it to their own machine, and the program summarises it as an IDOR in the backup recovery functionality: an authenticated attacker who knows a user's machine UUID, backup ID and some other parameters can configure and run a recovery plan. The program states it saw no signs of exploitation.
The reproduction steps are short and rely on two devices being registered on the account:
- Log in to
https://mc-beta-cloud.acronis.com. - Open the DEVICES section. Two devices are required.
- Click on any device that has a backup (
device_1). - Choose recovery, select machine, then select the second machine (
device_2). - Follow the steps to recover the backup to
device_2. - In Burp, find the request to this endpoint:
/bc/api/ams/recovery/plan_operations/run
- Replay the request using the
X-Apigw-Sessionsession value from another organization.
Step 7 is the key move: the request is replayed with the X-Apigw-Session session value from another organization. The endpoint path, the X-Apigw-Session header and the two-device setup are the only technical details the report gives. It does not include the request body, the parameter names beyond the machine UUID and backup ID mentioned in the program summary, or the server's response.
The proof of concept is a screen recording named backupTakeover.mp4.
The report records a high severity rating with a CVSS score of 7.5. It does not state a bounty amount or describe a fix.
Root cause
The report does not describe the root cause; the program calls it an IDOR in the backup recovery functionality. The endpoint accepts identifiers for a backup and a machine, and the server acts on them without binding them to the tenant of the authenticated session. This is a classic object-level authorisation gap: the request is authenticated, but the object it names is never checked against the caller's ownership.
Impact
The report's impact statement is a single line: backup takeover via the recovery function. The researcher's summary frames it more strongly, as an access control flaw leading to critical data deletion through a backup overwrite, but the reproduction steps only demonstrate the recovery being run against a second machine. The program notes it found no evidence of exploitation.
How this kind of bug works
Object-level access control bugs arise when an application authenticates a request but does not verify that the authenticated principal is allowed to act on the specific object identified in the request. Identifiers such as UUIDs, backup IDs and machine IDs are often treated as unguessable enough to serve as authorisation, which they are not: they leak through logs, support tickets, shared links, APIs and error messages, and they are frequently sequential or enumerable.
Multi-tenant systems make this worse because a single API layer serves many organizations. If the tenant check lives only in the UI, or only in the session lookup, then any endpoint that takes an object identifier becomes a candidate. Recovery and restore operations are especially sensitive because they move data between machines and can overwrite existing state.
The standard defences are server-side ownership checks on every object referenced in a request, scoping every database query by tenant, and using indirect references where possible. Authorisation should be enforced in a central layer rather than per endpoint, and tests should confirm that a session from one tenant cannot act on objects from another.
How to test for it
A practical method for this bug class:
- Map the feature. Identify endpoints that accept object identifiers: backup IDs, machine IDs, snapshot IDs, plan IDs. Proxy traffic and note every request that carries one.
- Create two accounts in separate organizations or tenants, each with its own objects. Record the identifiers for both.
- Capture a legitimate request from tenant A acting on its own object.
- Replay the same request with tenant B's session while keeping tenant A's object identifiers in the body and path.
- Observe the response. A positive result is a success status and a state change, such as a recovery plan being created or run, not just a 200 with an error payload.
- Repeat in the other direction and with identifiers that do not exist, to distinguish a missing ownership check from a missing existence check.
Common false positives: the server returns a generic success envelope while the operation silently fails; the object is actually shared or public by design; the session token carries a tenant claim that the server does check, and the test only appeared to work because the object belonged to the same tenant. Confirm the state change by reading back the object or checking the target machine.
How it is fixed
Fixes for this class are well understood. Enforce ownership checks on every object identifier in the request, scoped to the authenticated tenant. Do not rely on UUID unguessability. Add authorisation tests that replay requests across tenants. Log and alert on cross-tenant access attempts. For recovery operations specifically, verify that both the source backup and the target machine belong to the caller before creating or running a plan.
Hunting notes
These bugs tend to hide in features that move or copy data between objects: recovery, restore, clone, export, share and transfer. They also appear in newer or beta consoles where authorisation logic is still being built out, and in endpoints that take several identifiers at once, because developers often check one and forget the others.
Recon signals include API paths containing words like plan_operations, run, recover or restore, custom session headers such as X-Apigw-Session, and any endpoint where the UI hides a machine or backup selector. If a feature requires two devices or two accounts to use normally, that is a strong hint that cross-tenant testing will be productive.
To make the report land, show the state change clearly: a recording or screenshots of the operation succeeding with the foreign session, the identifiers used, and the resulting effect on the target machine. State the preconditions honestly, including any identifiers the attacker must know, and avoid overstating impact beyond what the reproduction demonstrates.
What happened, in plain words
Acronis is a company that makes backup software: it copies the data on your computer to a safe place so you can get it back if something goes wrong. The report is about the beta (test) version of their cloud console at beta-cloud.acronis.com, where customers manage those backups in a web browser.
One feature of that console is recovery: you pick a backup and tell the service to put it back onto a machine. The researcher found that this recovery step could be pointed at someone else's backup. In their own words, the issue let them "takeover any backup via recover it to my machine". The program that runs the bug bounty summarised it as an IDOR in the backup recovery functionality: an authenticated attacker who knows a user's machine UUID, backup ID and some other parameters can configure and run a recovery plan. The program also says it saw no signs that anyone had exploited the flaw.
A few words before the steps. A request is the message your browser sends to a website when you click something, asking the server to do something. A session is how the server remembers who you are between requests: after you log in, the browser is given a value (often stored in a cookie or a custom header) that it sends with every later request, like a wristband at an event that proves you already showed your ticket. An organisation here is a customer account, and the service keeps each customer's data separate. An IDOR (Insecure Direct Object Reference) is when a server accepts a request for a specific item, such as a backup, and never checks that the person asking actually owns that item.
The steps the researcher took
The reproduction needs two devices registered on the account:
- Log in to
https://mc-beta-cloud.acronis.com. - Open the DEVICES section. Two devices are required.
- Click on any device that has a backup (
device_1). - Choose recovery, select machine, then select the second machine (
device_2). - Follow the steps to recover the backup to
device_2. - In Burp, find the request to this endpoint:
/bc/api/ams/recovery/plan_operations/run
- Replay the request using the
X-Apigw-Sessionsession value from another organization.
Burp is a tool that sits between your browser and the website and lets you look at, and send again, the requests the browser makes. Step 6 is where the researcher finds the single request that actually starts the recovery. The path /bc/api/ams/recovery/plan_operations/run is the address of that action on the server; the word run at the end tells you it is the request that sets the recovery going.
Step 7 is the heart of the bug. Replaying means sending the same request a second time, possibly with something changed. Here the change is the X-Apigw-Session header, a custom header that carries the session value. The researcher swaps in a session belonging to a different organisation, one that does not own the backup. The program describes it as an IDOR in the backup recovery functionality.
The proof of concept is a screen recording named backupTakeover.mp4.
The report records a high severity rating with a CVSS score of 7.5. CVSS is a standard scoring system for how serious a security flaw is. The report does not state a bounty amount or describe a fix.
What the impact is
The report's impact statement is one line: backup takeover via the recovery function. The researcher's own summary goes further, describing an access control flaw leading to critical data deletion through a backup overwrite, but the steps shown only demonstrate the recovery being run against a second machine. The program notes it found no evidence of exploitation.
In general, how this kind of bug works
Object-level access control bugs happen when an application checks who you are but not what you are allowed to touch. Think of a hotel: the key card opens the front door for any guest, but it should only open that guest's room. If the card opens every room, the door lock is doing half its job. Here the "room number" is an identifier such as a machine UUID (a long random-looking string that names a machine) or a backup ID.
Developers sometimes assume these identifiers are unguessable enough to act as permission. They are not: identifiers leak through logs, support tickets, shared links, APIs and error messages, and some are sequential or easy to enumerate. Systems that serve many organisations from one API make this worse, because a single layer of code handles everyone's requests. If the ownership check lives only in the web page, or only in the session lookup, then any endpoint that accepts an identifier becomes a candidate. Recovery and restore are especially sensitive because they move data between machines and can overwrite what is already there.
The usual defences are server-side ownership checks on every object named in a request, database queries limited to the caller's organisation, and authorisation enforced in one central place rather than endpoint by endpoint.
In general, how to test for it
- Map the feature. Find the requests that carry identifiers such as backup IDs, machine IDs, snapshot IDs or plan IDs, and note each one.
- Create two accounts in separate organisations, each with its own objects, and record the identifiers for both.
- Capture a legitimate request from organisation A acting on its own object.
- Send the same request again with organisation B's session, keeping organisation A's identifiers in the body and path.
- Watch the response. A real result is a success status plus a visible change, such as a recovery plan being created or run, not just a success message with an error inside.
- Repeat in the other direction, and with identifiers that do not exist, to tell a missing ownership check apart from a missing existence check.
Common false positives: the server returns a generic success message while the operation silently fails; the object is shared or public by design; or the session itself carries an organisation claim that the server does check, and the test only seemed to work because both objects belonged to the same organisation. Confirm the change by reading the object back or checking the target machine.
In general, how it is fixed
Enforce ownership checks on every identifier in a request, scoped to the logged-in organisation. Do not rely on identifiers being hard to guess. Add tests that replay requests across organisations, and log and alert on cross-organisation attempts. For recovery specifically, check that both the source backup and the target machine belong to the caller before creating or running a plan.
In general, where to look
These bugs tend to hide in features that move or copy data between objects: recovery, restore, clone, export, share and transfer. They also appear in newer or beta consoles where authorisation logic is still being built, and in endpoints that take several identifiers at once, because one is often checked and the others forgotten. Useful signals are API paths containing words like plan_operations, run, recover or restore, custom session headers such as X-Apigw-Session, and any screen where the interface hides a machine or backup selector. If a feature normally needs two devices or two accounts, cross-organisation testing is likely to pay off.
To make a report convincing, show the change clearly: a recording or screenshots of the operation succeeding with the foreign session, the identifiers used, and the effect on the target machine. State the preconditions honestly, including any identifiers the attacker must already know, and do not claim more impact than the reproduction shows.
Glossary
- Backup: a copy of data kept so it can be restored later.
- Recovery / restore: the process of putting a backup back onto a machine.
- Beta: a test version of a product, released before the final one.
- Request: the message a browser sends to a server asking it to do something.
- Endpoint: the specific address on a server that handles one kind of request.
- Session: the server's record of who you are after you log in, referenced by a value sent with each request.
- Cookie: a small piece of data a website stores in your browser and gets back on later requests.
- Header: an extra labelled field in a request, such as
X-Apigw-Session, carrying information alongside the address. X-Apigw-Session: the custom header in this report that carries the session value.- Organisation / tenant: one customer account whose data is kept separate from others.
- UUID: a long, random-looking string used to identify something, such as a machine.
- IDOR (Insecure Direct Object Reference): a flaw where a server accepts a request naming a specific object without checking that the caller owns it.
- Access control / authorisation: deciding what a logged-in user is allowed to do or see.
- Authenticated: proven to be logged in.
- Replay: sending a captured request again, possibly with changes.
- Burp: a tool that intercepts and lets you inspect and resend browser requests.
- Proof of concept (PoC): a demonstration that the flaw really works.
- CVSS: a standard scoring system for the severity of a security flaw.
- False positive: a test result that looks like a bug but is not one.