[oem.acronis.com] Reflected Cross Site Scripting
A test page on the oem.acronis.com host reflected crafted path content back into the response, allowing script execution in the browser. An attacker could run JavaScript in a victim's session if the victim opened a crafted link.
- Triaged in 7 days
- Fixed in 12 months
- Paid in 7 days
- Disclosed after 18 months
Summary
Hi Acronis team i have found a XSS reflected in:oem.acronis.com
Steps To Reproduce
-
for xss go to link :
https://oem.acronis.com/test/testenv.html/%3C/pre%3E%3Cisindex%20type%3Dimage%20src%3D1%20onerror%3Dalert%289166%29%3E%3Cscript%3Ealert(origin)%3C/script%3E
##POC:
Recommendations
delete test page from your server
Impact
Attacker can execute JS code on the Victim Behalf.
What the report shows
The target is oem.acronis.com, a host in the Acronis *.acronis.com scope. The researcher reports a reflected cross-site scripting issue and gives a single reproduction step: opening a crafted URL. The payload is embedded in the path, after a test/testenv.html segment, and is percent-encoded where needed:
https://oem.acronis.com/test/testenv.html/%3C/pre%3E%3Cisindex%20type%3Dimage%20src%3D1%20onerror%3Dalert%289166%29%3E%3Cscript%3Ealert(origin)%3C/script%3E
Decoded, the injected part is a closing </pre> tag, an <isindex> element with type=image, src=1 and an onerror handler calling alert(9166), followed by a <script> block calling alert(origin). The report does not explain which component reflects the path or how the response is built; it only states that visiting the link triggers the script.
The proof of concept is a screen recording attached to the report:
The report was rated medium severity, classified as reflected cross-site scripting, and paid a 100.00 USD bounty. It was disclosed on 2024-12-28. The only remediation advice given is to delete the test page from the server. The report does not describe a fix that was actually applied.
Root cause
The likely cause is that the server takes part of the request path and writes it into the HTML response without encoding it, so markup in the path is parsed by the browser as part of the page. The testenv.html path segment and the recommendation to delete the test page suggest a leftover test page. The report itself does not identify the reflecting code, so this is inference from the payload and the recommendation.
Impact
As the report puts it, an attacker can execute JavaScript on the victim's behalf. In practice that means script running in the origin of oem.acronis.com, with access to that origin's cookies where they are not protected from script, to the DOM of the page, and to any action the page can perform as the logged-in user. The report makes no claim about which data or accounts are reachable, and no specific attack scenario beyond code execution is described.
How this kind of bug works
Reflected XSS happens when an application copies data from the request into a response without context-aware output encoding. The browser receives a document that contains attacker-controlled markup, parses it, and runs any script in it as if the site had written it. Because the script runs in the site's origin, the same-origin policy does not protect the site from it: the script can read the DOM, make authenticated requests and exfiltrate what it finds.
The reflection point can be anywhere the request influences the response: query parameters, path segments, headers used in error pages, fragment handling in client-side code, or 404 and redirect pages that echo the requested URL. Path-based reflection is easy to miss because developers often assume the path is not user input in the same sense as a parameter.
Defences are layered. Output encoding matched to the HTML context (element text, attribute value, JavaScript string, URL) is the primary control. A restrictive Content Security Policy that disallows inline script and unexpected script sources limits the damage when encoding fails. Framework templating with auto-escaping removes most of the class by default. Setting cookies HttpOnly does not stop XSS but reduces what a successful payload can steal. Removing unused test and debug pages removes whole categories of exposure.
How to test for it
- Map every place where request data appears in a response. Start with parameters, then look at path segments, error pages, redirects and any page that echoes the URL.
- Send a harmless marker first, such as a unique alphanumeric string, and confirm it appears in the response. Note the exact context: inside a tag, inside an attribute, inside a script block, inside a URL.
- Send context-appropriate probe characters: angle brackets and quotes for HTML contexts, quote and backslash for script strings, and encoded variants for URL contexts. Check whether they come back encoded, stripped or intact.
- When characters survive, build a minimal payload for that context and confirm execution in a browser, not just in the response body. A dialog box or a DOM change is a positive result.
- Test both the raw and percent-encoded forms of the payload, since servers and proxies differ in when they decode.
Common false positives: the marker appears only in a JavaScript-escaped or HTML-encoded form; the reflection lands in a context where the browser does not execute it, such as inside a comment or a textarea; the payload only fires in the tester's browser because of an extension; or the response is served with a content type that prevents HTML parsing. Always confirm in a clean browser profile.
How it is fixed
Apply context-aware output encoding to every value taken from the request, including path segments. Where possible, avoid reflecting request data at all: use fixed error pages and redirect targets. Add a Content Security Policy that blocks inline and third-party script. Remove test, debug and environment pages from production, which is exactly what this report recommends. Add regression tests that send probe payloads to reflection points and assert that they come back encoded.
Hunting notes
Reflection points cluster in search pages, error handlers, login redirects, language and locale switches, and anything with a return, next or redirect style parameter. Path-based reflection is less common but shows up on static file servers, custom 404 handlers and legacy test pages. Recon signals worth following: hosts with test, dev, staging or env in the path or name, directory listings, and pages that echo the requested URL back to the user.
Keep the payload minimal and avoid actions that touch other users' data.
What happened, in plain words
A security researcher found a bug on oem.acronis.com, a website that belongs to Acronis (the company behind backup and security software). The bug is called reflected cross-site scripting, or XSS for short. In simple terms: a crafted link made the website run JavaScript inside its own page. Because of that, an attacker could put a small program (JavaScript) into a link, and when someone opened that link, the program would run inside the Acronis website as if Acronis itself had written it.
Think of it like a restaurant that prints whatever name you give on your order slip, straight onto the receipt, without checking it. If you write "and also give me the whole till" on the name line, the receipt now looks like a legitimate instruction from the restaurant. The website here did the same thing with the web address.
The vulnerable link
The researcher gave one step to reproduce the bug: open a specially crafted link. Here it is exactly as written in the report:
https://oem.acronis.com/test/testenv.html/%3C/pre%3E%3Cisindex%20type%3Dimage%20src%3D1%20onerror%3Dalert%289166%29%3E%3Cscript%3Ealert(origin)%3C/script%3E
Let us break it down, because every part matters.
https://oem.acronis.com/is the website.httpsmeans the connection is encrypted, so nobody in between can read or change it.test/testenv.htmlis a page on that site. The name suggests it is a test or environment page.- Everything after that is the injected part. It looks like nonsense because it is percent-encoded: certain characters are written as
%followed by two hex digits so they can travel safely inside a URL.%3Cis<,%3Eis>,%20is a space, and%2Fwould be/. Browsers and servers decode these back to normal characters when they process the address.
Decoded, the injected part is:
Line by line:
</pre>closes a<pre>block. A<pre>element is a chunk of HTML that shows text exactly as typed, preserving spaces and line breaks. Closing it early is a trick to break out of wherever the page put the text, so the following markup is treated as real HTML rather than as plain text.<isindex type=image src=1 onerror=alert(9166)>is an old HTML element. The important part isonerror=alert(9166):onerroris an event handler, a piece of JavaScript the browser runs when something goes wrong. Here it fires when the image atsrc=1fails to load, which it always will because1is not a real image.alert(9166)pops up a dialog box showing the number 9166. The number is just a marker so the researcher can see the script ran.<script>alert(origin)</script>is a script block.alert(origin)shows a dialog with the page's origin, which is the combination of protocol, host and port, herehttps://oem.acronis.com. Showing the origin proves the script is running as part of the Acronis site, not as some unrelated page.
Why does this matter? Because the browser cannot tell the difference between script the site wrote on purpose and script that arrived through the address bar. Both run with the same powers.
The proof
The report includes a screen recording of the link being opened and the JavaScript running:
The report attaches a screen recording as the proof of concept.
What the researcher recommended
The only fix suggested was to delete the test page from the server. That makes sense: if testenv.html is a leftover from development, removing it removes the problem entirely. The report does not say whether that was done.
The report was rated medium severity, classified as reflected cross-site scripting, and paid a bounty of 100.00 USD. It was disclosed on 2024-12-28.
What an attacker could do
The report states that an attacker can execute JavaScript on the victim's behalf. In practice, that means code running inside the Acronis site could read what is on the page, act as the logged-in user, and reach cookies that are not protected from script. The report does not describe a specific attack beyond code execution, and does not say which accounts or data could be reached.
In general, how this kind of bug works
Cross-site scripting is a family of bugs where a website lets someone else's text become part of its own page. In reflected XSS, the text comes in with the request and bounces straight back in the response. Nothing is stored on the server; the malicious link carries the payload.
A few concepts first:
- A request is the message your browser sends to a server when you open a link or submit a form. It contains a method (usually
GETfor opening a page), a path, and sometimes headers and a body. - A response is what the server sends back, usually HTML that the browser turns into the page you see.
- A cookie is a small piece of data a site stores in your browser, often to remember that you are logged in. If script can read a cookie, it can potentially use it.
- The same-origin policy is a browser rule that stops one website from reading another website's data. It does not help here, because the malicious script is running inside the same site.
When a server copies part of the request into the page without output encoding (converting characters like < and > into harmless forms such as < and >), the browser sees markup where the developer intended plain text. The browser parses it and runs any script in it.
The place where the text comes back is called the reflection point. It can be a query parameter (the part after ?), a path segment like here, a header echoed in an error page, or a redirect page that repeats the URL you asked for. Path-based reflection is easy to overlook because developers often think of the path as a file name, not as user input.
Defences come in layers:
- Output encoding matched to where the value lands: inside text, inside an attribute, inside a script block, or inside a URL. This is the main fix.
- A Content Security Policy (CSP), a header that tells the browser which scripts are allowed to run. A strict policy that blocks inline script limits the damage when encoding fails.
- Templating frameworks that escape values automatically by default.
- Marking cookies HttpOnly, which stops script from reading them. This does not stop XSS but reduces what a payload can steal.
- Removing unused test and debug pages, which is exactly what this report recommends.
How to test for it
- Find every place where something you send appears in the response. Start with parameters, then check path segments, error pages, redirects and any page that repeats the URL.
- Send a harmless marker first, such as a unique word, and confirm it appears. Note the exact context: inside a tag, inside an attribute, inside a script block, inside a URL.
- Send characters that matter in that context: angle brackets and quotes for HTML, a quote and backslash for script strings, encoded variants for URLs. See whether they come back encoded, stripped or unchanged.
- If they survive, build a minimal payload for that context and confirm it runs in a browser, not just in the response text. A dialog box or a visible change on the page is a positive result.
- Try both the raw and percent-encoded forms, because servers and proxies decode at different points.
Watch for false positives: the marker may appear only in an encoded form, or land somewhere the browser never executes, such as inside a comment or a textarea. Always confirm in a clean browser profile without extensions.
How it is fixed
Apply context-aware output encoding to every value taken from the request, including path segments. Where possible, do not reflect request data at all: use fixed error pages and fixed redirect targets. Add a Content Security Policy that blocks inline and third-party script. Remove test, debug and environment pages from production. Add regression tests that send probe payloads to reflection points and check that they come back encoded.
Hunting notes
Reflection points cluster in search pages, error handlers, login redirects, language switches, and anything with a return, next or redirect style parameter. Path-based reflection is rarer but appears on static file servers, custom 404 handlers and legacy test pages. Good signals to follow: hosts with test, dev, staging or env in the name or path, directory listings, and pages that echo the requested URL back to you.
Keep the payload minimal and avoid touching other users' data.
Glossary
- XSS (cross-site scripting): a bug where a website lets someone else's text become part of its own page, so the browser runs it as script.
- Reflected XSS: XSS where the payload comes in with the request and is echoed straight back in the response, usually through a crafted link.
- JavaScript: the programming language browsers run to make pages interactive.
- Payload: the piece of text or code an attacker injects to trigger the bug.
- Percent-encoding: writing special characters in a URL as
%plus two hex digits, such as%3Cfor<. - HTML: the markup language that describes the structure of a web page.
- Tag / element: a piece of HTML such as
<script>or<pre>that tells the browser what something is. - Event handler: a piece of JavaScript attached to an element that runs when something happens, such as
onerrorwhen an image fails to load. alert(): a JavaScript function that shows a dialog box, often used to prove script ran.- Origin: the combination of protocol, host and port, such as
https://oem.acronis.com, that defines a site's security boundary. - Request: the message a browser sends to a server when you open a link or submit a form.
- Response: what the server sends back, usually HTML.
- Path: the part of a URL after the host, such as
/test/testenv.html/.... - Cookie: a small piece of data a site stores in your browser, often to keep you logged in.
- Same-origin policy: a browser rule that stops one site from reading another site's data.
- Output encoding: converting characters like
<and>into harmless forms so the browser treats them as text, not markup. - Reflection point: the place in a response where request data is copied back to the user.
- Content Security Policy (CSP): a response header that tells the browser which scripts are allowed to run.
- HttpOnly: a cookie flag that stops JavaScript from reading that cookie.
- Severity: a rating of how serious a bug is, here medium.
- Bounty: a payment a company makes to a researcher who reports a valid bug.
- Disclosure: the date a report is made public.