URl redirection
The report claims the Referer header on the merchant registration request is vulnerable to open redirection, allowing redirection to an arbitrary external domain.
- Triaged in 6 days
- Fixed in 19 days
- Disclosed after 45 days
In the following post HTTP request while registering for merchant
POST /register HTTP/1.1 Host: merchant.kartpay.com User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:67.0) Gecko/20100101 Firefox/67.0 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8 Accept-Language: en-US,en;q=0.5 Accept-Encoding: gzip, deflate Referer: https://merchant.kartpay.com/register Content-Type: application/x-www-form-urlencoded Content-Length: 189 DNT: 1 Connection: close Cookie: XSRF-TOKEN=eyJpdiI6IjFKUXdMQlhcL3Z0Ynh1c1dcL3gyeEpiZz09IiwidmFsdWUiOiIya3U5RUlwM0RuMUI5dGpQT0tWQ1Vwaml2bXgrYTk2aGM3UW03T3ZKM1ZYYnlnV2tOblg4eHhpR3lVM01xVzBjIiwibWFjIjoiYmMxNGNjYTY1N2MyMWIwMmYzYWZjNTczZWE0YTViNGQ0ZGVmNDBmYjkzYWFlNWEyN2Q4NGJhYjlkNDNlY2YzZCJ9; laravel_session=eyJpdiI6InJ2ZzByUm44aWFlUm5jSE1XRDV3clE9PSIsInZhbHVlIjoick1rVnRaNWw1YXVzMWJBWDFTaUJadm1pVTdXUHFrcks2Q0t4cmtqbXZGd3J5bTBuQW1MM2hyUXpodGV3R0M1ZyIsIm1hYyI6IjgxZmI2MDM0NmViNTNjYzQxOTI2MmE4OTIwOGZjZTI3ZjFmMmExNmQ0ZmM5NzZjNDkxZTQyNGFhNjczYTAwN2YifQ%3D%3D; __tawkuuid=e::kartpay.com::wQWbHoNu5pztKvKlrrxFMmm76vfDDCsNlhIe6kmIiM0OGKmL14t07iKcuOcjGIjy::2 Upgrade-Insecure-Requests: 1
verification_code=&type=merchant&_token=2zCgjrNgztgRCMhm4cDScrbTARxEmwn4z16Fjnpe&first_name=ahcvcv&last_name=jbshchjs&email=jbcjhsbcbsb%40baxjbj.com&country_code=%2B91&contact_no=9090909090
The referrer header is vulnerable to open url redirection
Steps To Reproduce:
[add details for how we can reproduce the issue]
- make above http request in burp suit
- change the referrer header to any site say bing.com
- it gets redirected to bing.com
Poc : attached screenshot
Impact
An attacker can construct a URL within the application that causes a redirection to an arbitrary external domain
Attachments

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the application used the user-controlled Referer header as the post-registration redirect target without validating it against an allowlist.
Impact
An attacker could construct a URL within the application that causes a redirection to an arbitrary external domain.
What the attacker needed
Ability to set the Referer header
How it was found
- Send the merchant registration request through an intercepting proxy.
- Change the Referer header to an external site.
- Observe that the response redirects to that external site.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
The report says the Referer header on a merchant registration request is vulnerable to open redirection, meaning changing it to another site causes a redirect there.
What is Open redirect?
A trusted site forwards users to any address an attacker picks; rarely paid alone, often the missing link in a chain.