Skip to content
Info disclosure Disclosed report Beginner

Large Amounts of Back-End Acronis Source Code is Publicly Accessible

Back-end source code for Acronis portals was publicly accessible due to a misconfigured virtual host, exposing internal systems and embedded secrets. An attacker could use this code to find and exploit vulnerabilities across multiple platforms.

shadowmap Follow

Originally disclosed on HackerOne

Bounty$250 Medium 6.1 View original
  • Triaged in 6 days
  • Fixed in 4 months
  • Paid in 13 days
  • Disclosed after 3.9 years

Summary

Large amounts of back-end source code for the Acronis online portals and back-end management portals are publicly exposed. Many of the source code files contain encryption keys and other secrets as well.

Steps To Reproduce

  1. Configure your burp proxy to map api.acronis.com to IP: 91.195.23.198 (originally mapped to msg3.acronis.com)
  2. Browse the following URLs:

https://api.acronis.com/admin/ https://api.acronis.com/Elements/ https://api.acronis.com/ajax/ https://api.acronis.com/includes/ https://api.acronis.com/private/ https://api.acronis.com/login/ https://api.acronis.com/mag/ https://api.acronis.com/redirector/ https://api.acronis.com/op/ https://api.acronis.com/psg/ https://api.acronis.com/pad/ https://api.acronis.com/scripts/ https://api.acronis.com/podcast/ https://api.acronis.com/legacy/ https://api.acronis.com/help/ https://api.acronis.com/buy/ https://api.acronis.com/check/ https://api.acronis.com/events/ https://api.acronis.com/industry/ https://api.acronis.com/var/

  1. These folders contain thousands of source code files that are exposing the internal workings of several public and internal systems used by Acronis as part of its marketing, sales, etc practices.

Recommendations

  1. Remove the virtual host configurations from the server to only allow authorized applications to be accessible.
  2. Disable directory listings.
  3. Disable source code to be publicly displayed (force execution or restrict access via htaccess)

Impact

A large amount of source code for various Acronis platforms is publicly accessible. The source code includes that for their public websites and sales portals, their internal systems such as (office.acronis.com), etc.

An attacker can leverage the visibility into the source code to exploit a wide range of vulnerabilities across the different platforms.

There are also several places where secrets and encryption tokens are embedded in plain-text as part of the source code.

I've attached screenshots of some such examples but I've refrained from downloading or spidering the complete source code available as I believe it would be over-reach in this case.

The original report as published on HackerOne, by shadowmap. 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. 5 min read.

Context

Acronis runs a set of public marketing and sales portals alongside internal management systems, all reachable under *.acronis.com. The report concerns api.acronis.com, a hostname that, according to the researcher, was originally mapped to msg3.acronis.com. Behind that name sat a web server whose document root exposed a large number of back-end directories, and those directories were browsable and served their contents as plain files rather than executing them.

The result was that thousands of source code files for Acronis's public websites, sales portals and internal systems were downloadable by anyone. Some of those files also contained secrets and encryption keys in plain text.

Setup

The researcher used Burp Suite as an intercepting proxy. The only precondition was the ability to make the proxy resolve api.acronis.com to a specific address, so that requests for that hostname reached the server the researcher wanted to inspect. No account, role or authentication is described in the report.

Finding it

The researcher browsed the listed paths and found thousands of source code files served as plain text. The directories in question are the kind of structure a back-end application leaves behind: admin panels, include directories, private areas, login handling, redirectors and legacy code. Because the files were returned as text instead of being executed by a PHP (or similar) interpreter, reading them required nothing more than a browser or a proxy.

Exploitation

Step 1: Point the hostname at the server under test

Text
Configure your burp proxy to map api.acronis.com to IP: [redacted] (originally mapped to msg3.acronis.com)

This is a proxy host mapping. Burp resolves api.acronis.com to the given address instead of the address public DNS would return, so the requests below reach the server that hosts the exposed directories. The report notes that the name was originally mapped to msg3.acronis.com, which is where the content appears to have come from.

Step 2: Browse the exposed directories

HTTP
https://api.acronis.com/admin/
https://api.acronis.com/Elements/
https://api.acronis.com/ajax/
https://api.acronis.com/includes/
https://api.acronis.com/private/
https://api.acronis.com/login/
https://api.acronis.com/mag/
https://api.acronis.com/redirector/
https://api.acronis.com/op/
https://api.acronis.com/psg/
https://api.acronis.com/pad/
https://api.acronis.com/scripts/
https://api.acronis.com/podcast/
https://api.acronis.com/legacy/
https://api.acronis.com/help/
https://api.acronis.com/buy/
https://api.acronis.com/check/
https://api.acronis.com/events/
https://api.acronis.com/industry/
https://api.acronis.com/var/

The report lists these paths as the folders containing the exposed source code files. The names map onto the functional areas of the application: admin/, private/, includes/, login/, ajax/, redirector/, scripts/, legacy/, var/ and the rest. The report states that these folders contain thousands of source code files exposing the internal workings of several public and internal systems used by Acronis for marketing, sales and similar practices.

Step 3: Read the source

The report states that the folders contain thousands of source code files that expose internal workings. The researcher attached screenshots of examples where secrets and encryption tokens appear in plain text inside the code, but refrained from downloading or spidering the complete source tree, judging that doing so would be over-reach.

Root cause

The report recommends three changes on the server side:

  1. Virtual host configurations were present on the server that made applications reachable that should only have been available to authorised applications.
  2. Directory listings were enabled, so the contents of each directory were enumerated for the visitor.
  3. Source code was served as static content instead of being executed, so .php-style files (and similar) were returned verbatim.

The report recommends removing the vhost configurations, disabling directory listings, and forcing execution or restricting access via .htaccess.

Impact

The report describes the exposure as a large amount of source code for various Acronis platforms: public websites, sales portals and internal systems such as office.acronis.com. With the source visible, an attacker can study the internal workings of those systems and use that knowledge to exploit a wide range of vulnerabilities across the different platforms. Separately, several places in the code contain secrets and encryption tokens embedded in plain text, which the researcher captured in screenshots.

The report does not enumerate which specific vulnerabilities or secrets were later used, and the researcher explicitly stopped short of downloading the full tree.

Fix

The report recommends three changes:

  1. Remove the virtual host configurations from the server so that only authorised applications are accessible.
  2. Disable directory listings.
  3. Stop source code from being publicly displayed, either by forcing execution or by restricting access via .htaccess.

The report does not say which of these were applied.

Variants to test

  • Request a known directory without a trailing slash and with one, and compare. A positive result is a generated index page listing files rather than a 403 or a redirect to an application route.
  • Request a source file directly, for example an include or config file inside a listed directory. A positive result is the file's text coming back with a source content type rather than an empty body or a parse error.
  • Try the same paths on sibling hostnames under the same domain. A positive result is the same listing or source behaviour on a host that is supposed to serve only an API.
  • Look for backup and editor artefacts alongside the listed files. A positive result is a downloadable archive or swap file containing application code.
  • Check whether the exposed tree contains configuration files with credentials. A positive result is plain-text keys or tokens in the response body.

Hunting notes

This kind of bug hides where an old application has been left running behind a hostname that now points somewhere else, or where a vhost was added for an internal tool and never removed. During recon, the signals are directory-style paths in JavaScript bundles and error pages, hostnames that resolve to addresses unrelated to the main infrastructure, and responses that return source content types for files that should execute. The researcher showed the breadth of the exposed tree and pointed to plain-text secrets in the code, while deliberately not downloading the whole tree.

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. 13 min read.

What happened, in plain words

Acronis is a company that makes backup and security software. Like most companies, it runs websites: public ones that sell products, and internal ones that staff use. Those websites are built from files of code that live on a server. Normally, when you visit a website, the server reads the code file, runs it, and sends you back only the finished page. You see the result, never the recipe.

In this report, a researcher found a server belonging to Acronis where that normal behaviour was broken. The server handed out the recipe itself. Certain web addresses led to folders containing thousands of code files, readable as plain text. Some of those files also contained secret values, such as encryption keys, written out in the open.

No account, role or authentication is described in the report. The report was filed on HackerOne, a platform where security researchers report bugs to companies, and the researcher was paid a bounty of 250.00 USD. The severity was rated medium, with a CVSS score of 6.1. The weakness was classified as information exposure through directory listing, and the affected asset was listed as *.acronis.com, meaning any hostname under the acronis.com domain.

Some background before the steps

A few ideas come up again and again below, so here they are from scratch.

A server and a document root. A web server is a computer program that waits for requests from browsers and answers them. It keeps the website's files in a folder on disk, and the top of that folder is called the document root. When your browser asks for a path, the server looks for the matching file under that root.

A directory listing. If you ask a web server for a folder rather than a specific file, the server has a choice. It can refuse, or it can send back an automatically generated page that lists everything in the folder, like the contents page of a book. That page is a directory listing. It is convenient for developers and dangerous in production, because it tells a stranger exactly what is there.

Source code versus executed code. Many websites are written in languages such as PHP. A file like login.php is not meant to be read by visitors; it is meant to be run by an interpreter on the server, which produces HTML that the browser displays. If the server is misconfigured and treats the file as an ordinary text file, it sends the code itself. That is the difference between being handed a cooked meal and being handed the kitchen and the recipe book.

An API. API stands for application programming interface. In web terms it is usually a hostname, often starting with api., that other software talks to rather than people. It is the serving hatch between systems: programs send requests and get structured data back. Here, api.acronis.com is the hostname involved.

A hostname, DNS and an IP address. A hostname is the human-friendly name of a machine, like api.acronis.com. DNS is the internet's phone book: it translates that name into an IP address, a set of numbers that identifies where the request should go. An IP address looks like [redacted].

A proxy. A proxy is a program that sits between your browser and the internet. Instead of your browser talking to the server directly, it talks to the proxy, and the proxy forwards the request. Security testers use proxies because they can see and change every request and response. Burp Suite is one such proxy.

A proxy host mapping. Because the proxy sits in the middle, you can tell it: when a request is for this hostname, send it to this IP address instead of the one DNS would give. That is a host mapping. It lets a tester point a name at a particular machine without changing anything on the internet.

A virtual host. One physical server can host many websites. A virtual host (vhost) is a configuration entry that tells the server which site to serve for which hostname. If a vhost for an internal tool is left on a public server, that tool becomes reachable from outside, even if nobody intended it to be.

A secret or token. A secret is any value that is supposed to stay private, such as a password or an encryption key. A token is a value that proves identity or grants access, a bit like a cloakroom ticket: whoever holds it can claim the thing it refers to. If a token is written in plain text inside a file that anyone can download, the ticket is effectively public.

.htaccess. On Apache web servers, .htaccess is a small configuration file placed in a folder that changes how that folder is treated, for example who is allowed in. Think of it as a sign on a door saying staff only.

Context

Acronis runs public marketing and sales portals alongside internal management systems, all reachable under *.acronis.com. This report is about api.acronis.com, a hostname that, according to the researcher, was originally mapped to msg3.acronis.com. Behind that name sat a web server whose document root exposed a large number of back-end directories, and those directories were browsable and served their contents as plain files rather than executing them.

The result was that thousands of source code files for Acronis's public websites, sales portals and internal systems were downloadable by anyone. Some of those files also contained secrets and encryption keys in plain text.

Setup

The researcher used Burp Suite as an intercepting proxy. The only precondition was the ability to make the proxy resolve api.acronis.com to a specific address, so that requests for that hostname reached the server the researcher wanted to inspect.

In plain terms: the researcher did not need to log in anywhere. The only preparation was telling the proxy where to send requests for that one hostname.

Finding it

The researcher browsed the listed paths and found thousands of source code files served as plain text. The directories in question are the kind of structure a back-end application leaves behind: admin panels, include directories, private areas, login handling, redirectors and legacy code. Because the files were returned as text instead of being executed by a PHP (or similar) interpreter, reading them required nothing more than a browser or a proxy.

Think of walking up to a filing cabinet that has been left in the street with every drawer open and every folder labelled. You do not need a key; you just read the labels.

Exploitation

Step 1: Point the hostname at the server under test

Text
Configure your burp proxy to map api.acronis.com to IP: [redacted] (originally mapped to msg3.acronis.com)

Line by line, in plain words:

  • "Configure your burp proxy": open the proxy tool's settings and add a rule.
  • "to map api.acronis.com": the rule applies to requests for this hostname.
  • "to IP: [redacted]": send those requests to this numeric address instead of wherever DNS would normally send them.
  • "(originally mapped to msg3.acronis.com)": the report notes that the name was originally pointed at msg3.acronis.com, which is where the content appears to have come from.

Why this step: the researcher wanted to be sure the requests below reached the specific server holding the exposed folders, rather than whatever the public DNS answer would lead to. A host mapping is a way of aiming a request precisely, like forwarding your post to a particular address before sending it.

Step 2: Browse the exposed directories

HTTP
https://api.acronis.com/admin/
https://api.acronis.com/Elements/
https://api.acronis.com/ajax/
https://api.acronis.com/includes/
https://api.acronis.com/private/
https://api.acronis.com/login/
https://api.acronis.com/mag/
https://api.acronis.com/redirector/
https://api.acronis.com/op/
https://api.acronis.com/psg/
https://api.acronis.com/pad/
https://api.acronis.com/scripts/
https://api.acronis.com/podcast/
https://api.acronis.com/legacy/
https://api.acronis.com/help/
https://api.acronis.com/buy/
https://api.acronis.com/check/
https://api.acronis.com/events/
https://api.acronis.com/industry/
https://api.acronis.com/var/

Line by line, in plain words: each line is one web address. Every one ends in a slash, which means "this is a folder, show me what is in it". The first part, https://api.acronis.com, is the hostname; the part after it is the folder path.

  • admin/ is where administration code tends to live.
  • Elements/ is a folder name as it appears in the report.
  • ajax/ is where code that handles background browser requests usually sits.
  • includes/ is a common folder for shared code that other pages pull in.
  • private/ suggests material not meant for the public.
  • login/ is where sign-in handling lives.
  • mag/, op/, psg/, pad/ are folder names as listed in the report.
  • redirector/ is code that sends visitors on to another address.
  • scripts/ holds program files.
  • podcast/, help/, buy/, check/, events/, industry/ map onto marketing and sales areas of a website.
  • legacy/ suggests older code kept around.
  • var/ is a common folder for variable data such as caches and logs.

Why this step: the report lists these paths as the folders containing the exposed source code files. The names map onto the functional areas of the application, so browsing them was a way of seeing how much was exposed and what kind of thing it was. The report states that these folders contain thousands of source code files exposing the internal workings of several public and internal systems used by Acronis for marketing, sales and similar practices.

Step 3: Read the source

The report states that the folders contain thousands of source code files that expose internal workings. The researcher attached screenshots of examples where secrets and encryption tokens appear in plain text inside the code, but refrained from downloading or spidering the complete source tree, judging that doing so would be over-reach.

Why this matters: "spidering" means using a tool to crawl every link automatically and save everything it finds. The researcher chose not to do that, on the grounds that copying the whole codebase would go further than needed to prove the problem. The point was already made by showing that the files were readable and that secrets were visible in them.

Root cause

The report recommends three changes on the server side:

  1. Virtual host configurations were present on the server that made applications reachable that should only have been available to authorised applications.
  2. Directory listings were enabled, so the contents of each directory were enumerated for the visitor.
  3. Source code was served as static content instead of being executed, so .php-style files (and similar) were returned verbatim.

The report recommends removing the vhost configurations, disabling directory listings, and forcing execution or restricting access via .htaccess.

A comparison: a building with three doors, each of which should have been locked. Any one lock would have kept people out; all three being open meant anyone could walk in and read the noticeboard.

Impact

The report describes the exposure as a large amount of source code for various Acronis platforms: public websites, sales portals and internal systems such as office.acronis.com. With the source visible, an attacker can study the internal workings of those systems and use that knowledge to exploit a wide range of vulnerabilities across the different platforms. Separately, several places in the code contain secrets and encryption tokens embedded in plain text, which the researcher captured in screenshots.

The report does not enumerate which specific vulnerabilities or secrets were later used, and the researcher explicitly stopped short of downloading the full tree.

In everyday terms: reading someone's recipe book does not by itself burn down the kitchen, but it tells you exactly which ingredients are kept where, which steps are skipped, and which cupboard is unlocked. That knowledge makes every later attempt easier.

Fix

The report recommends three changes:

  1. Remove the virtual host configurations from the server so that only authorised applications are accessible.
  2. Disable directory listings.
  3. Stop source code from being publicly displayed, either by forcing execution or by restricting access via .htaccess.

The report does not say which of these were applied.

Variants to test

These are the same checks a tester would try on a similar setup, written so you can follow the reasoning:

  • Request a known directory without a trailing slash and with one, and compare. A positive result is a generated index page listing files rather than a 403 or a redirect to an application route. (403 is the standard "forbidden" answer from a web server.)
  • Request a source file directly, for example an include or config file inside a listed directory. A positive result is the file's text coming back with a source content type rather than an empty body or a parse error.
  • Try the same paths on sibling hostnames under the same domain. A positive result is the same listing or source behaviour on a host that is supposed to serve only an API.
  • Look for backup and editor artefacts alongside the listed files. A positive result is a downloadable archive or swap file containing application code. (Editors often leave temporary copies behind, and backups are sometimes named with extra extensions.)
  • Check whether the exposed tree contains configuration files with credentials. A positive result is plain-text keys or tokens in the response body.

Hunting notes

This kind of bug hides where an old application has been left running behind a hostname that now points somewhere else, or where a vhost was added for an internal tool and never removed. During recon, the signals are directory-style paths in JavaScript bundles and error pages, hostnames that resolve to addresses unrelated to the main infrastructure, and responses that return source content types for files that should execute. The researcher showed the breadth of the exposed tree and pointed to plain-text secrets in the code, while deliberately not downloading the whole tree.

"Recon" here means the early, quiet stage of looking around: reading what a site tells you about itself before trying anything. A JavaScript bundle is a file of browser code that often mentions internal paths; an error page can do the same. A source content type is the label the server puts on a response saying "this is text", which is a giveaway that code is being handed over instead of run.

Glossary

  • API: application programming interface; a hostname or service that software talks to, usually returning structured data rather than web pages.
  • Back-end: the parts of a system that run on the server, out of sight of visitors, as opposed to the front-end pages people see.
  • Bounty: a payment a company makes to a researcher who reports a valid security problem.
  • Burp Suite: a tool that sits between a browser and the internet so requests and responses can be inspected and changed.
  • Cookie: a small piece of data a website stores in your browser to remember who you are between requests.
  • CVSS: a standard scoring system for the severity of a security issue; 6.1 is in the medium range.
  • Directory listing: an automatically generated web page that shows the files inside a folder.
  • DNS: the internet's name service, translating hostnames into IP addresses.
  • Document root: the top folder on a server from which website files are served.
  • Encryption key: a secret value used to scramble and unscramble data; anyone holding it can protect or read the protected data.
  • HackerOne: a platform where researchers report vulnerabilities to companies and can receive bounties.
  • Host mapping: a proxy setting that sends requests for one hostname to a chosen IP address instead of the DNS answer.
  • Hostname: the readable name of a machine on the internet, such as api.acronis.com.
  • .htaccess: an Apache configuration file placed in a folder to control access and behaviour for that folder.
  • Information exposure: a weakness where data that should stay private is revealed to someone who should not see it.
  • Interpreter: a program on the server that reads code files and runs them, producing output such as HTML.
  • IP address: the numeric address of a machine on a network, such as [redacted].
  • Plain text: readable, unencrypted content; anyone who obtains it can read it directly.
  • Proxy: an intermediary program that forwards requests between your browser and a server.
  • Recon: the early information-gathering stage of a security assessment.
  • Secret: any value meant to stay private, such as a password, key or token.
  • Source code: the human-written instructions that make up a program, before it is run.
  • Spidering: automatically crawling a site and following every link to collect its content.
  • Static content: files a server sends as they are, without running them first.
  • Token: a value that proves identity or grants access, like a cloakroom ticket.
  • Virtual host (vhost): a server configuration that decides which website is served for which hostname.
  • Vulnerability: a weakness in a system that someone could use to do something the owner did not intend.

More from Acronis

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Information disclosure

The lesson behind this report.

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.