How I made 1000$ with AT&T Bug Bounty(H1)
The account profile edit form on AT&T's Mexican store site accepted changes without an anti-CSRF token, so a page hosted elsewhere could silently submit a profile change. An attacker could use this to change a victim's email or password and take over the account.
Published on web.archive.org
#### Adesh Kolte
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Context
AT&T runs a bug bounty programme, which the author notes was later hosted on HackerOne. The target here is the customer account settings page of the AT&T Mexico online store, specifically the endpoint that processes profile edits:
https://www.att.com.mx/tienda/customer/account/editPost/
That endpoint is what a logged-in customer's browser submits to when they change details on their account, such as the email address or password. The author demonstrated that a page on another site could make a logged-in victim's browser submit a profile change. Because the editable fields include the account email and password, a successful forgery leads to account takeover. The author rates the issue as Critical and was paid a 1000 USD bounty.
Setup
The setup is deliberately minimal:
- Create two accounts, one named
csrfattackerand one namedcsrfvictim. - Log the attacker account in with Mozilla Firefox and the victim account in with Google Chrome. The author notes you can also test with a single account.
- Have a web proxy tool in place to intercept traffic. The walkthrough uses Burp Suite.
Two browsers are used so that the attacker's session and the victim's session stay separate while the forged request is generated in one and delivered in the other.
Finding it
The author frames the bug with a short explanation of what CSRF is: a site that does not implement anti-CSRF tokens in its forms will accept a malicious request submitted on the user's behalf. A properly protected site embeds a random, unguessable token in every page it serves, different on each response and for each user, so an attacker cannot construct a request that carries a valid token. The profile edit endpoint at editPost/ accepted the forged change, which is what made the attack possible.
Exploitation
Step 1: Reach the profile edit form
With both accounts logged in, go to the account settings in Firefox (the attacker's browser) and click edit on the profile. This is the legitimate form whose submission will later be replayed from an attacker-controlled page.
Step 2: Intercept the profile change request
With the proxy running, submit the profile change and capture the resulting request to editPost/. This request is the one that will be turned into a CSRF proof of concept.
Step 3: Generate the PoC
The author exploits the form in automated fashion with Burp rather than building the HTML by hand. Right click the intercepted request, choose Engagement tools and then Generate PoC request. Copy the generated HTML and save it as csrf.htm.

The screenshot shows the generated CSRF PoC page, which reproduces the profile edit request.
Step 4: Choose the field to abuse
In the generated HTML, change the email address if you want to take over the account through email. The password field works for takeover too. The author notes that a manual exploit can use just the email field: the mandatory fields marked with * are needed, and the rest can be deleted.
Step 5: Deliver the page and submit
Open csrf.html in a new tab in Chrome, where the victim is logged in, and click submit request. The victim's profile is updated with the values in the forged form, and you get the victim's account with Email/Password. To cross-verify, refresh the first tab (the victim's original account settings view) and the change is visible there.

The author closes by stating he got a 1000 USD bounty from HackerOne.
Root cause
The profile edit endpoint accepted a forged cross-site request that changed the victim's profile. The author's explanation of the defence makes the gap clear: a site that issues a random token per page and per user cannot be forged, because the attacker cannot guess a valid token. Here the cross-site form submission reached the profile update, and the forged change was applied. The report does not describe any other defence, such as origin checks or re-authentication for sensitive fields, so the token check appears to have been the missing control.
Impact
An attacker who can get a logged-in victim to load the crafted page can change that victim's account email or password and thereby take over the account. The attack requires the victim to be authenticated at the time and to submit the form. The author does not enumerate what the compromised account grants access to beyond the account itself.
Fix
The report does not state what AT&T changed. The control the author describes as the correct behaviour is a per-page, per-user random anti-CSRF token embedded in the form and validated on submission, which would make the forged request invalid.
Variants to test
- Other account endpoints on the same store, such as address book, newsletter or order preference forms: a positive result is a state change on the victim's account after loading a self-submitting form from a different origin.
- Removing optional fields from the generated PoC and keeping only the mandatory ones, as the author did with
email: if the minimal form still changes the account, the endpoint validates only the required fields and the attack surface is wider. - Switching the abused field between email and password: a positive result is being able to log in to the victim's account with the value you set.
- Testing with a single account and two tabs, as the author suggests: if the change appears after refreshing the original tab, the forgery works without a second identity.
- Checking whether the endpoint accepts GET or other methods for the same action: a positive result is a state change triggered by a simple cross-site request that needs no form submission.
What happened, in plain words
A security researcher found a way to take over someone else's account on the AT&T Mexico online store. The trick was a type of attack called CSRF (Cross-Site Request Forgery). In simple terms, the website accepted a request sent on the logged-in user's behalf from another site. So the researcher could create a malicious webpage that, when opened by a logged-in victim, silently changed the victim's account email or password. The researcher reported it through AT&T's bug bounty programme (later on HackerOne) and received a 1000 USD reward.

This article explains the whole process step by step, assuming you know nothing about security. You only need to be able to use a browser and a computer.
Background: what is a bug bounty programme?
A bug bounty programme is a way for companies to reward people who find security problems in their systems. Instead of hiring only internal testers, companies invite outside researchers to look for bugs and report them responsibly. If the bug is valid, the company pays a reward (the bounty). AT&T runs such a programme, and at the time of this report it was hosted on HackerOne, a popular platform for bug bounties.
The researcher, Adesh Kolte, found this bug while he was a third-year engineering student with a lot of free time. His daily routine, as he puts it, was: Eat -> Sleep -> Bug Hunting -> Repeat.
The target: AT&T Mexico online store
The target is the customer account settings page of the AT&T Mexico online store. Specifically, the endpoint that processes profile edits:
https://www.att.com.mx/tienda/customer/account/editPost/
An endpoint is simply a URL that a web application uses to perform a specific action. When you fill in a form on a website and click "Save", your browser sends the data to an endpoint like this one. The server then processes the data and updates your account.
In this case, the endpoint handles changes to your profile, such as your email address or password. If an attacker can make your browser send a request to this endpoint without your knowledge, they can change your account details. That is exactly what CSRF allows.
What is CSRF?
CSRF stands for Cross-Site Request Forgery. It is a vulnerability that tricks a logged-in user's browser into sending a request to a website where the user is authenticated, without the user's intent. The key point is that the browser automatically includes the user's session cookie (a small piece of data that identifies the user) with every request to that website. So if an attacker can make the browser send a request, the website will think it came from the user.
To prevent CSRF, websites use anti-CSRF tokens. A token is a random string of characters that the server generates and embeds in every form. When the form is submitted, the server checks that the token matches the one it expects. Since the attacker cannot guess the token, they cannot forge a valid request. The token is different for each user and each page load, so it is impossible to predict.
In this case, the profile edit endpoint accepted the forged request. That made the attack possible.
Setting up the test
The researcher used a simple setup:
- Create two accounts: one named
csrfattackerand one namedcsrfvictim. These are just names to distinguish the attacker's account from the victim's account. - Log in to the attacker account using Mozilla Firefox and the victim account using Google Chrome. Using two different browsers keeps the two sessions separate. A session is the period during which you are logged in; each browser stores its own cookies, so the accounts don't interfere.
- Have a web proxy tool ready to intercept traffic. The researcher used Burp Suite, a popular tool for security testing that lets you see and modify the requests your browser sends.
You can also test with a single account, but using two makes it clearer to see the attack from both sides.
Finding the vulnerability
The researcher first explains CSRF in simple terms: if a site does not use anti-CSRF tokens, it will accept a malicious request submitted on the user's behalf. A properly protected site includes a random token in every page, different each time and for each user, so an attacker cannot construct a valid request. The profile edit endpoint at editPost/ accepted the forged change, which is the core of the bug.
Exploitation step by step
Step 1: Reach the profile edit form
With both accounts logged in, go to the account settings in Firefox (the attacker's browser) and click edit on the profile. This is the legitimate form that will later be replayed from an attacker-controlled page. The goal is to capture the request that this form sends when submitted.
Step 2: Intercept the profile change request
With the proxy running, submit the profile change and capture the resulting request to editPost/. This request contains the data that the browser sends to the server. The researcher will turn this request into a CSRF proof of concept (PoC). A PoC is a small piece of code that demonstrates the vulnerability.
Step 3: Generate the PoC
The researcher uses Burp Suite to automate the creation of the PoC. Right-click the intercepted request, choose Engagement tools, and then Generate PoC request. Burp generates an HTML page that reproduces the original request as a form. Copy the generated HTML and save it as csrf.htm.

The screenshot shows the generated CSRF PoC page, which reproduces the profile edit request.
Step 4: Choose the field to abuse
In the generated HTML, you can change the email address if you want to take over the account via email. The password field works for takeover too. The researcher notes that a manual exploit can use just the email field: the mandatory fields marked with * are required, and the rest can be deleted from the form.
Step 5: Deliver the page and submit
Open csrf.html in a new tab in Chrome, where the victim is logged in, and click submit request. The victim's profile is updated with the values in the forged form, and you get the victim's account with Email/Password. To cross-verify, refresh the first tab (the victim's original account settings view) and the change is visible there.

The author closes by stating he got a 1000 USD bounty from HackerOne.
Why it worked (root cause)
The profile edit endpoint accepted a forged cross-site request that changed the victim's profile. A POST request is one of the HTTP methods used to send data to a server; it is typically used when submitting forms that change something on the server. The author's explanation of the defence makes the gap clear: a site that issues a random token per page and per user cannot be forged, because the attacker cannot guess a valid token. Here the cross-site form submission reached the profile update, and the forged change was applied. The report does not describe any other defence, such as origin checks or re-authentication for sensitive fields, so the token check appears to have been the missing control.
Impact
An attacker who can get a logged-in victim to load the crafted page can change that victim's account email or password and thereby take over the account. The attack requires the victim to be authenticated at the time and to submit the form. The author does not enumerate what the compromised account grants access to beyond the account itself.
Fix
The report does not state what AT&T changed. The control the author describes as the correct behaviour is a per-page, per-user random anti-CSRF token embedded in the form and validated on submission, which would make the forged request invalid.
Variants to test
- Other account endpoints on the same store, such as address book, newsletter or order preference forms: a positive result is a state change on the victim's account after loading a self-submitting form from a different origin.
- Removing optional fields from the generated PoC and keeping only the mandatory ones, as the author did with
email: if the minimal form still changes the account, the endpoint validates only the required fields and the attack surface is wider. - Switching the abused field between email and password: a positive result is being able to log in to the victim's account with the value you set.
- Testing with a single account and two tabs, as the author suggests: if the change appears after refreshing the original tab, the forgery works without a second identity.
- Checking whether the endpoint accepts GET or other methods for the same action: a positive result is a state change triggered by a simple cross-site request that needs no form submission.
Glossary
- Bug bounty programme: A programme where companies reward security researchers for finding and reporting vulnerabilities.
- CSRF (Cross-Site Request Forgery): An attack that tricks a logged-in user's browser into sending a request to a website where the user is authenticated, without the user's intent.
- Endpoint: A URL that a web application uses to perform a specific action.
- Anti-CSRF token: A random string embedded in forms to prevent CSRF attacks; the server checks it on submission.
- Session: A period during which a user is logged in; maintained by a session cookie.
- Cookie: A small piece of data stored by the browser and sent with requests to a website, often used to identify the user.
- Proxy tool: Software that sits between your browser and the internet, allowing you to intercept and modify requests. Burp Suite is an example.
- Burp Suite: A popular tool for web security testing.
- PoC (Proof of Concept): A small piece of code that demonstrates a vulnerability.
- POST request: An HTTP method used to send data to a server, typically for form submissions that change state.
- Account takeover: Gaining unauthorised access to someone else's account.
- HackerOne: A platform for bug bounty programmes and vulnerability disclosure.
- Bounty: The reward paid for a valid vulnerability report.