Skip to content
Access control Disclosed report Beginner

Account verification bypass on translate.kromtech.com

The site checked account activation only by sending a redirect to an access-denied page while still returning the full requested data in the same response. An attacker with an unactivated account could read the protected data by ignoring the redirect.

rumiljonov Follow

Originally disclosed on HackerOne

Bounty$300 Medium View original
  • Triaged in 1 hour
  • Fixed in 4 days
  • Paid in 4 days
  • Disclosed after 6 months

Summary by the program

Account verification bypass on translate.kromtech.com

Summary:

An account could be registered on translate.kromtech.com but the functionality returns "Access denied or Your user wasn't activated yet. ". But it's implemented in a strange way, every time we make a request that requires user to be activated we receive a full response with all the data we asked for, but with 302 status code redirecting us to /access-denied .

Steps To Reproduce:

A simple match-replace Burp rule could be created to bypass this implementation

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

The original is short, so this covers everything it reports, then explains this kind of bug in general: how it works, how to test for it and how it is fixed. The general sections are about the bug class, not this target. Written with AI and checked against the original; the original is the record. 5 min read.

What the report shows

The target is translate.kromtech.com, part of the *.kromtech.com scope of the Clario program on HackerOne. The feature under test is account registration and the activation gate that sits in front of authenticated functionality.

The researcher registered an account on the site. The application then refused to serve the account normally, returning the message "Access denied or Your user wasn't activated yet. ". The interesting part was how that refusal was implemented. Every time a request was made that required an activated user, the server still produced the full response containing all the data that had been requested, but attached a 302 status code redirecting the client to /access-denied.

In other words, the denial was expressed only in the status code, while the full response body was still returned.

The researcher's reproduction step is a single sentence: a simple match-replace Burp rule could be created to bypass this implementation. The report does not include the rule itself, the exact request or response pair, or the endpoint that was called. What it establishes is that a client-side rewrite of the response is enough to read the protected content, because the content was never withheld.

The report was rated medium severity, with the weakness classified as "Authentication Bypass Using an Alternate Path or Channel". A bounty of 300.00 USD was awarded and the report was disclosed on 2020-05-05. The report does not describe the fix that was applied.

Root cause

The report does not explain the root cause; it only notes that the functionality is implemented in a strange way. The redirect is a signal to a cooperating browser, not an access control: the body has already left the server.

This is a classic confused enforcement point. The check exists, but it gates the navigation rather than the data. Any client that does not honour the redirect, or that rewrites the response in transit, sees everything the endpoint returns. The report's own framing, that the functionality is "implemented in a strange way", points at exactly this mismatch between intent and implementation.

Impact

Within the report's own terms, an unactivated account holder can obtain the data returned by endpoints that are supposed to require activation. The report suggests a match-replace Burp rule could be created to bypass the implementation.

The report does not enumerate which endpoints were affected, what data they returned, or whether the bypass extended to actions with side effects rather than reads. Those details would determine whether the issue stays at information disclosure or escalates.

How this kind of bug works

Access control has to be applied before the work is done, not after. When a framework or a hand-written handler performs its permission check late, three things can go wrong:

  1. The response body is generated and sent even though the check fails, and only the status code or a redirect header carries the denial.
  2. The check is applied to the page that renders the data rather than to the API that serves it, so the API remains reachable directly.
  3. The check trusts something the client controls, such as a header, a query parameter or a cookie flag, rather than server-side session state.

The report's description matches the first case. It survives because developers reasonably assume that a 302 means the browser will not show the body. That assumption holds for ordinary navigation and fails for anything that inspects the raw response: proxies, API clients, scripts, and browser extensions.

Defences are structural. Authorisation should be a precondition of the handler, returning an error before any data is fetched or serialised. Sensitive endpoints should fail closed with a body that contains nothing useful. Where a redirect is genuinely part of the flow, it should be issued instead of the response, not alongside it.

How to test for it

Look for features gated behind an account state: unverified email, pending approval, trial expiry, incomplete onboarding, or a role that has not been granted yet. These gates are frequently bolted on late.

  1. Create an account and leave it in the unactivated state.
  2. Map the endpoints the activated UI calls, using the browser's developer tools or a proxy, and note which ones the application refuses.
  3. Replay each refused request with interception on. Record the status code, the Location header and the body separately.
  4. If the body contains the expected data despite a 302 or a 403, rewrite the status to 200 and drop the Location header in your proxy, then confirm the content is complete and correct.
  5. Repeat for state-changing requests, since a bypass on a write is far more serious than a read.

A positive result is a response whose body is indistinguishable from the one an activated user receives, while the status line says otherwise. Common false positives are bodies that contain only a generic error page, a login form, or placeholder markup with no real records; a redirect whose body is empty; and cases where the data returned is public anyway. Confirm that the content is genuinely restricted before reporting.

How it is fixed

Move the activation check ahead of data access. The handler should verify the account state first and return an error response with no payload when the check fails. If a redirect is required for the user experience, issue it as the response rather than after building the content. Apply the same check to every endpoint that serves restricted data, including those reached by direct API calls, and add regression tests that assert the body is empty on denial.

Hunting notes

These bugs cluster around features added after the core product: email verification, admin approval queues, paid-tier gates, and onboarding flows. Registration and activation endpoints are worth reading closely, because the gate is often implemented in a wrapper that runs after the controller.

Useful recon signals are endpoints that answer with 302 to paths such as /access-denied, /verify, /pending or /login while the response length is large, and any API route that returns data to an activated account but a redirect to an unactivated one. Comparing response sizes between the two states is a quick filter.

To make a report land, show the request, the raw response with the status line and headers, and the same response after rewriting, side by side, with the sensitive fields visible. State plainly what an unactivated user should not have been able to read, and avoid overclaiming beyond what you demonstrated.

The original is short, so this covers everything it reports, then explains this kind of bug in general: how it works, how to test for it and how it is fixed. The general sections are about the bug class, not this target. Written with AI and checked against the original; the original is the record. 8 min read.

What happened, in plain words

This report is about a website called translate.kromtech.com, which belongs to the Clario program on HackerOne. HackerOne is a platform where security researchers report bugs to companies and can receive a reward, called a bounty, when the bug is valid. The researcher in this case is rumiljonov.

The feature involved is account registration. Many websites let you create an account, but keep it limited until you confirm your email address or until someone approves it. That moment of confirmation is called activation. Until you are activated, the site is supposed to refuse to give you the things a normal user can see. Think of a gym that gives you a membership card but keeps the door to the weights room locked until you have signed the health form: the card alone should not open the door.

On this site, an account could be registered but was not activated. When the account tried to use features that need an activated user, the site answered with the message "Access denied or Your user wasn't activated yet. ". So far, so normal.

The strange part was how the refusal was delivered. Every time a request was made that required an activated user, the server still sent back the full response, containing all the data that had been asked for. It simply attached a 302 status code that told the browser to go to /access-denied instead.

To understand this, you need two small ideas. A request is what your browser sends to a server when you click something or load a page: "please give me this". A response is what the server sends back. Every response starts with a status code, a three-digit number that says how things went. 200 means "here is your content". 302 means "the content is not here, go and look at this other address instead", and that other address is given in a header called Location. Headers are the small labelled lines at the top of a response, before the actual content, called the body.

So the server returned the full data and also a 302 redirect to /access-denied. A normal browser follows the redirect and shows the access-denied page, so an ordinary user never notices. But the data was already in the response. The lock was painted on the door, not fitted to it.

What the report shows

The target is translate.kromtech.com, which falls within the *.kromtech.com scope of the Clario program. The feature under test is account registration and the activation gate that sits in front of authenticated functionality.

The researcher registered an account. The application then refused to serve the account normally, returning the message "Access denied or Your user wasn't activated yet. ". The interesting part was how that refusal was implemented. Every time a request was made that required an activated user, the server still produced the full response containing all the data that had been requested, but attached a 302 status code redirecting the client to /access-denied.

In other words, the authorisation decision was expressed only in the status line and the Location header. The body was already built and sent.

The reproduction step is a single sentence: a simple match-replace Burp rule could be created to bypass this implementation. Burp is a tool that sits between your browser and the server and lets you read and edit traffic in both directions. A match-replace rule automatically swaps one piece of text for another. Here, the idea is to use a match-replace rule to bypass the implementation. The report does not include the rule itself, the exact request and response pair, or the endpoint that was called.

What it establishes is that a client-side rewrite of the response is enough to read the protected content, because the content was never withheld. The report was rated medium severity, with the weakness classified as "Authentication Bypass Using an Alternate Path or Channel". A bounty of 300.00 USD was awarded and the report was disclosed on 2020-05-05. The report does not describe the fix that was applied.

In general, how this kind of bug works

Access control has to be applied before the work is done, not after. When a framework or a hand-written handler performs its permission check late, three things can go wrong:

  1. The response body is generated and sent even though the check fails, and only the status code or a redirect header carries the denial.
  2. The check is applied to the page that renders the data rather than to the API that serves it, so the API remains reachable directly.
  3. The check trusts something the client controls, such as a header, a query parameter or a cookie flag, rather than server-side session state.

The report's description matches the first case. It survives because developers reasonably assume that a 302 means the browser will not show the body. That assumption holds for ordinary navigation and fails for anything that inspects the raw response: proxies, API clients, scripts, and browser extensions.

Defences are structural. Authorisation should be a precondition of the handler, returning an error before any data is fetched or serialised. Sensitive endpoints should fail closed with a body that contains nothing useful. Where a redirect is genuinely part of the flow, it should be issued instead of the response, not alongside it.

In general, how to test for it

Look for features gated behind an account state: unverified email, pending approval, trial expiry, incomplete onboarding, or a role that has not been granted yet. These gates are frequently bolted on late.

  1. Create an account and leave it in the unactivated state.
  2. Map the endpoints the activated UI calls, using the browser's developer tools or a proxy, and note which ones the application refuses.
  3. Replay each refused request with interception on. Record the status code, the Location header and the body separately.
  4. If the body contains the expected data despite a 302 or a 403, rewrite the status to 200 and drop the Location header in your proxy, then confirm the content is complete and correct.
  5. Repeat for state-changing requests, since a bypass on a write is far more serious than a read.

A positive result is a response whose body is indistinguishable from the one an activated user receives, while the status line says otherwise. Common false positives are bodies that contain only a generic error page, a login form, or placeholder markup with no real records; a redirect whose body is empty; and cases where the data returned is public anyway. Confirm that the content is genuinely restricted before reporting.

In general, how it is fixed

Move the activation check ahead of data access. The handler should verify the account state first and return an error response with no payload when the check fails. If a redirect is required for the user experience, issue it as the response rather than after building the content. Apply the same check to every endpoint that serves restricted data, including those reached by direct API calls, and add regression tests that assert the body is empty on denial.

In general, where to look

These bugs cluster around features added after the core product: email verification, admin approval queues, paid-tier gates, and onboarding flows. Registration and activation endpoints are worth reading closely, because the gate is often implemented in a wrapper that runs after the controller.

Useful recon signals are endpoints that answer with 302 to paths such as /access-denied, /verify, /pending or /login while the response length is large, and any API route that returns data to an activated account but a redirect to an unactivated one. Comparing response sizes between the two states is a quick filter.

To make a report land, show the request, the raw response with the status line and headers, and the same response after rewriting, side by side, with the sensitive fields visible. State plainly what an unactivated user should not have been able to read, and avoid overclaiming beyond what you demonstrated.

Glossary

  • Account activation: the step that turns a newly registered account into a fully usable one, usually by confirming an email address or waiting for approval.
  • Authentication: proving who you are, for example by logging in with a password.
  • Authorisation: deciding what an identified user is allowed to do or see.
  • Body: the main content of an HTTP response, after the status line and headers.
  • Bounty: a reward paid by a company to a researcher for a valid security report.
  • Burp: a tool that intercepts traffic between a browser and a server so it can be inspected and modified.
  • Cookie: a small piece of data a site stores in your browser, often used to remember that you are logged in.
  • Endpoint: a specific address on a server that performs a particular action, such as returning a list of records.
  • Fail closed: to refuse access by default when a check fails, rather than letting the request through.
  • Header: a labelled line at the top of a request or response carrying metadata, such as where to redirect.
  • HackerOne: a platform where researchers report vulnerabilities to companies and can earn bounties.
  • Match-replace rule: an automatic find-and-swap applied to traffic passing through a proxy.
  • Proxy: software that sits between your browser and a server and can read or alter the traffic.
  • Redirect: an instruction telling the browser to load a different address instead.
  • Request: the message a browser sends to a server asking for something.
  • Response: the message a server sends back, made of a status code, headers and a body.
  • Scope: the set of systems a program has authorised researchers to test.
  • Severity: a rating of how serious a bug is, here medium.
  • Status code: a three-digit number at the start of a response saying how the request went, such as 200 for success or 302 for a redirect.
  • 302: a status code meaning the requested content is elsewhere and the browser should follow the Location header.
  • 403: a status code meaning the server understood the request but refuses to fulfil it.
  • Location header: the header in a redirect response that gives the address to go to.
  • Vulnerability class: the category a bug belongs to, here "Authentication Bypass Using an Alternate Path or Channel".

More by rumiljonov

View all

1 more disclosed report, best first.

More from Clario

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.