Skip to content
Access control Disclosed report Beginner

Administrative access to development deployment of web service due to auto-filled credentials

The admin panel for a development deployment had auto-filled credentials, allowing the reporter to log in with default credentials and gain administrative access. This led to access to multiple databases and an authentication token for the internal API, where an SQL injection was also found.

stealthy Follow

Originally disclosed on HackerOne

Bounty$250 High 8.9 View original
  • Triaged in 2 days
  • Fixed in 33 days
  • Paid in 7 days
  • Disclosed after 7 months

Summary by the program

It was possible to gain administrative permissions on https://admin.acronis.host due to auto-filled credentials. The service was used for development purposes only and did not contain any sensitive data or data of real users.

Summary by the researcher

Summary: I discovered an Acronis admin panel which auto filled credentials. This allowed me to gain access multiples databases and get an authentication token for the internal API.

TEST
Username:[email protected]
Password:password

I was able to discover an SQL injection and authenticate myself on dev.acronis.host (which is the internal API). Example request:

Text
GET /api/admin/pages?page=1&limit=100&sort=%2Btype&filter=%7B%7D&search= HTTP/1.1
Host: dev.acronis.host
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:77.0) Gecko/20100101 Firefox/77.0
Accept: application/json, text/plain, */*
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
Authorization: Bearer {token}
Origin: https://admin.acronis.host
Connection: close
Referer: https://admin.acronis.host/dev.acronis.host/en-US/products/4372

Further analysis concluded that data was development and no real users were affected. Acronis is a great team and I look forward to working with them in the future.

The original report as published on HackerOne, by stealthy. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

Written with AI from the full original report and checked against it passage by passage; anything it could not back up was removed or toned down. The original is the record. 4 min read.

Context

The target was https://admin.acronis.host, an administrative panel belonging to Acronis. According to the program's summary, the service was used for development purposes only and did not contain sensitive data or data of real users. The researcher describes dev.acronis.host as the internal API.

The weakness class recorded for the report is improper authentication, and the core issue is that the admin panel auto-filled credentials, so a visitor could log in without knowing or choosing a password.

Setup

No special tooling, account or role is described. The researcher found the admin panel and observed that it auto-filled a username and password. The credentials shown in the report are:

TEST
Username:[redacted]
Password:password

These are the values the panel populated by itself; the researcher did not have to obtain them separately. The only other precondition visible in the report is that the panel issued a bearer token that could be used against dev.acronis.host.

Finding it

The researcher noticed an Acronis admin panel that auto-filled credentials. That behaviour is the signal: a login form that arrives pre-populated with a working account is the signal the researcher followed.. From there the researcher gained access to multiple databases and obtained an authentication token for the internal API.

Exploitation

Step 1: log in with the auto-filled credentials

The panel supplied the credentials itself, so authentication succeeded with the values above. This gave the researcher administrative permissions on https://admin.acronis.host, access to multiple databases, and an authentication token for the internal API.

Step 2: use the token against the internal API

With the token in hand, the researcher authenticated to dev.acronis.host. The example request recorded in the report is:

Text
GET /api/admin/pages?page=1&limit=100&sort=%2Btype&filter=%7B%7D&search= HTTP/1.1
Host: dev.acronis.host
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:77.0) Gecko/20100101 Firefox/77.0
Accept: application/json, text/plain, */*
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
Authorization: Bearer {token}
Origin: https://admin.acronis.host
Connection: close
Referer: https://admin.acronis.host/dev.acronis.host/en-US/products/4372

The request targets the admin pages collection on the internal API. The query string paginates the result (page=1, limit=100), sorts by type (sort=%2Btype, a URL-encoded +type), passes an empty filter object (filter=%7B%7D, a URL-encoded {}) and an empty search term. The Authorization: Bearer {token} header carries the token obtained from the panel, and the Origin and Referer headers show the request being made in the context of the admin panel at https://admin.acronis.host. The response format requested is JSON.

Step 3: SQL injection

The researcher states that they were able to discover an SQL injection and, through it, authenticate on dev.acronis.host. The report does not give the injection point, the payload or the response, so the exact request that triggered it is not documented here.

Root cause

The panel auto-filled a working administrative credential pair, so the login step required no secret from the visitor. In effect the login step required no secret from the visitor. The report does not describe the code or configuration behind the auto-fill, so the precise mechanism is not stated; .

Impact

Under the conditions in the report, an unauthenticated visitor could obtain administrative permissions on the panel, reach multiple databases and obtain an authentication token for the internal API. The program states that the service was for development only and held no sensitive data or data of real users, and the researcher's further analysis reached the same conclusion: the data was development data and no real users were affected. The severity recorded for the report is high, with a CVSS score of 8.9, and a bounty of 250.00 USD was paid.

Fix

What the finding calls for is removing the auto-filled credentials from the deployed panel and ensuring development deployments are not reachable in a state where a default administrative identity is usable.

Variants to test

  1. Load login pages on development and staging hostnames and check whether the username and password fields arrive pre-populated. A positive result is a form that submits successfully without you typing anything.
  2. Try the same auto-filled values against sibling services on neighbouring hostnames. A positive result is the same session or token being accepted elsewhere.
  3. After logging in through an auto-filled form, inspect the issued token and replay it against internal API hostnames referenced by the panel. A positive result is an authenticated JSON response from an endpoint such as an admin collection.
  4. Look for parameters in admin API requests that are passed into queries, as with the paging, sorting, filter and search parameters in the example request. A positive result is a change in the response that indicates the input reached a query.

Hunting notes

This kind of bug hides in development and staging deployments that are reachable from the internet, particularly admin panels that were set up for convenience and never hardened. During recon, the signals are hostnames such as admin. and dev. under the target's domains, and login forms that behave unusually, for example fields that are already filled or a session that exists before you authenticate.

The report shows impact by demonstrating administrative access, access to multiple databases and a working bearer token against the internal API, and by confirming afterwards that the data involved was development data with no real users affected.

Written with AI from the full original report and checked against it passage by passage; anything it could not back up was removed or toned down. The original is the record. 10 min read.

What happened, in plain words

Acronis runs a website at https://admin.acronis.host. It is an administrative panel, which means a private control area where staff manage things behind the scenes, a bit like the staff-only back room of a shop. According to the program's summary, this particular panel was used for development purposes only and did not contain sensitive data or data of real users.

The researcher found that the panel's login form arrived already filled in with a username and a password. Nobody had to guess anything: the page typed the credentials in by itself. Logging in with those values gave the researcher administrative permissions on the panel, access to multiple databases and an authentication token for an internal API reachable at dev.acronis.host.

The weakness class recorded for the report is improper authentication. In plain terms, the system let someone in without properly checking who they were, because the secret needed to get in was handed out on the page itself.

Background concepts

Before walking through the steps, here are the ideas the report relies on.

  • Admin panel: a web page for staff that controls a service. It usually sits behind a login so that ordinary visitors cannot reach it.
  • Login form: the page with a username field and a password field. Normally you type both and press a button.
  • Auto-fill: a feature where the browser or the page itself puts values into form fields for you. It is meant to save typing. Here the page supplied a working account on its own.
  • API: an interface that one piece of software uses to talk to another, rather than a page meant for a human. Think of a restaurant: the menu is the website you see, and the kitchen's order slip system is the API. You do not read the slips, but they carry the real instructions.
  • Token: a short string of characters that proves you have already logged in, like a cloakroom ticket. You show the ticket instead of proving your identity again each time. A bearer token is one where simply holding it is enough; whoever bears it is treated as the logged-in user.
  • Header: extra information sent alongside a web request, separate from the address and the body. Headers carry things like what browser you use and what token you hold.
  • SQL injection: a flaw where input from a user is placed into a database query without being properly separated from the query's own instructions. It is like a form where someone writes "and also open the safe" in the name field and the clerk reads it out as an order.
  • Development deployment: a copy of a service set up for building and testing, not for real customers. Such copies are often less locked down because they are not expected to be public.

Context

The target was https://admin.acronis.host, an administrative panel belonging to Acronis. According to the program's summary, the service was used for development purposes only and did not contain sensitive data or data of real users. The researcher describes dev.acronis.host as the internal API.

The core issue is that the admin panel auto-filled credentials, so a visitor could log in without knowing or choosing a password.

Setup

No special tooling, account or role is described. The researcher found the admin panel and observed that it auto-filled a username and password. The credentials shown in the report are:

TEST
Username:[redacted]
Password:password

Line by line:

  1. Username:[redacted] is the account name the panel put into the username field. It looks like an email address, which is a common way to name accounts.
  2. Password:password is the password the panel put into the password field. The word "password" is itself the password, which is the kind of placeholder value people use when setting something up quickly.

These are the values the panel populated by itself; the researcher did not have to obtain them separately. The only other precondition visible in the report is that the panel issued a bearer token that could be used against dev.acronis.host.

Finding it

The researcher noticed an Acronis admin panel that auto-filled credentials. That behaviour is the signal: a login form that arrives pre-populated with a working account is the signal the researcher followed.. From there the researcher gained access to multiple databases and obtained an authentication token for the internal API.

Exploitation

Step 1: log in with the auto-filled credentials

The panel supplied the credentials itself, so authentication succeeded with the values above. This gave the researcher administrative permissions on https://admin.acronis.host, access to multiple databases, and an authentication token for the internal API.

Why this step matters: the whole finding rests on the fact that the visitor contributed no secret. If the page fills in a working account, then anyone who loads the page is effectively already logged in.

Step 2: use the token against the internal API

With the token in hand, the researcher authenticated to dev.acronis.host. The example request recorded in the report is:

Text
GET /api/admin/pages?page=1&limit=100&sort=%2Btype&filter=%7B%7D&search= HTTP/1.1
Host: dev.acronis.host
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:77.0) Gecko/20100101 Firefox/77.0
Accept: application/json, text/plain, */*
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
Authorization: Bearer {token}
Origin: https://admin.acronis.host
Connection: close
Referer: https://admin.acronis.host/dev.acronis.host/en-US/products/4372

Line by line:

  1. GET /api/admin/pages?page=1&limit=100&sort=%2Btype&filter=%7B%7D&search= HTTP/1.1 is the request line. GET means "give me something". /api/admin/pages is the address of the admin pages collection on the API. Everything after the ? is the query string, a set of settings sent with the request:
    • page=1 asks for the first page of results.
    • limit=100 asks for up to 100 items.
    • sort=%2Btype is a URL-encoded way of writing +type, meaning sort by type. Characters like + are encoded as %2B so they survive the trip.
    • filter=%7B%7D is the URL-encoded form of {}, an empty filter, meaning no filtering.
    • search= is an empty search term, so nothing is excluded by a search.
    • HTTP/1.1 is the version of the web protocol being used.
  2. Host: dev.acronis.host tells the server which site the request is for. One server can host many sites, so this is how it knows which one you mean.
  3. User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:77.0) Gecko/20100101 Firefox/77.0 identifies the browser that made the request. Here it reports Firefox on a Mac.
  4. Accept: application/json, text/plain, */* says which response formats the client can handle, preferring JSON, then plain text, then anything.
  5. Accept-Language: en-US,en;q=0.5 says the client prefers English (US), with English generally as a fallback.
  6. Accept-Encoding: gzip, deflate says the client can accept compressed responses, which saves bandwidth.
  7. Authorization: Bearer {token} is the important line. It carries the token obtained from the panel. The word Bearer states the scheme: whoever holds this token is treated as the logged-in user. {token} is a placeholder for the actual value.
  8. Origin: https://admin.acronis.host says which site the request is coming from. It shows the request being made in the context of the admin panel.
  9. Connection: close asks the server to close the connection after the response instead of keeping it open.
  10. Referer: https://admin.acronis.host/dev.acronis.host/en-US/products/4372 says which page the request was made from. It also shows the request originating from the admin panel.

The response format requested is JSON, a text format for structured data that software can read easily.

Step 3: SQL injection

The researcher states that they were able to discover an SQL injection and, through it, authenticate on dev.acronis.host. The report does not give the injection point, the payload or the response, so the exact request that triggered it is not documented here.

Root cause

The panel auto-filled a working administrative credential pair, so the login step required no secret from the visitor. In effect the login step required no secret from the visitor. The report does not describe the code or configuration behind the auto-fill, so the precise mechanism is not stated; .

Impact

Under the conditions in the report, an unauthenticated visitor could obtain administrative permissions on the panel, reach multiple databases and obtain an authentication token for the internal API. The program states that the service was for development only and held no sensitive data or data of real users, and the researcher's further analysis reached the same conclusion: the data was development data and no real users were affected. The severity recorded for the report is high, with a CVSS score of 8.9, and a bounty of 250.00 USD was paid.

Fix

What the finding calls for is removing the auto-filled credentials from the deployed panel and ensuring development deployments are not reachable in a state where a default administrative identity is usable.

Variants to test

  1. Load login pages on development and staging hostnames and check whether the username and password fields arrive pre-populated. A positive result is a form that submits successfully without you typing anything.
  2. Try the same auto-filled values against sibling services on neighbouring hostnames. A positive result is the same session or token being accepted elsewhere.
  3. After logging in through an auto-filled form, inspect the issued token and replay it against internal API hostnames referenced by the panel. A positive result is an authenticated JSON response from an endpoint such as an admin collection.
  4. Look for parameters in admin API requests that are passed into queries, as with the paging, sorting, filter and search parameters in the example request. A positive result is a change in the response that indicates the input reached a query.

Hunting notes

This kind of bug hides in development and staging deployments that are reachable from the internet, particularly admin panels that were set up for convenience and never hardened. During recon, the signals are hostnames such as admin. and dev. under the target's domains, and login forms that behave unusually, for example fields that are already filled or a session that exists before you authenticate.

The report shows impact by demonstrating administrative access, access to multiple databases and a working bearer token against the internal API, and by confirming afterwards that the data involved was development data with no real users affected.

Glossary

  • Admin panel: a web interface for staff that controls a service, normally behind a login.
  • API: an interface that software uses to talk to other software, separate from the pages a person sees.
  • Authentication: the process of proving who you are, usually with a username and password.
  • Authorization header: a request header that carries proof of identity, such as a token.
  • Auto-fill: a feature that puts values into form fields automatically, either by the browser or by the page itself.
  • Bearer token: a token where simply holding it grants access, with no further proof needed.
  • Bounty: a payment made by a program to a researcher who reports a valid security issue.
  • Credentials: the pair of username and password used to log in.
  • CVSS score: a standard numeric rating of how severe a security issue is.
  • Development deployment: a copy of a service used for building and testing rather than for real users.
  • Header: extra information sent with a web request or response, separate from the address and body.
  • Improper authentication: a weakness where a system does not correctly verify who a user is before granting access.
  • Internal API: an API meant for use inside an organisation rather than by the public.
  • JSON: a text format for structured data that software can read and write easily.
  • Query string: the part of a web address after the ?, carrying settings for the request.
  • Recon: the early stage of looking around a target to find hosts, pages and services worth examining.
  • Referer: a request header that says which page the request was made from.
  • Severity: a label for how serious an issue is, often paired with a CVSS score.
  • SQL injection: a flaw where user input is mixed into a database query so that it can change the query's meaning.
  • Staging: a copy of a service used to test changes before they go live.
  • Token: a string that proves you have already logged in, so you do not have to log in again for each action.
  • URL encoding: writing special characters in an address as % codes so they are transmitted safely, such as %2B for +.
  • User-Agent: a request header that identifies the browser or client making the request.
  • Vulnerability class: the category a security weakness belongs to, such as improper authentication.

More by stealthy

View all

4 more disclosed reports, best first.

More from Acronis

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.