Account Confirmation bypass leads to acess some fucntionality
By tampering with API responses, a user could flip confirmation and agreement flags to use some features before confirming email, and add contact and billing details that appeared after confirmation.
- Disclosed after 21 days
STEPS:
- Go to the URL https://account.acronis.com/#/auth/signup
- Create a Business Account
- Intercept the request using burp suite
- Now intercept the response of given HTTP REQUEST below
- Change the field
"confirmed":falsetotrue - Even you can bypass Accept term condition by changing the field
"agreement_accepted":falsetotrue - Forward the response and go to profile
- Under Profile
add contact detailsandbilling details - Now logout and again login with the credentials you not able to that functionality
- But when you confirmed your email
- You will see that Details attacker entered bypassing email confirmation
HTTP REQUEST TO bypass email confirmation
GET /v2/account HTTP/1.1
Host: account.acronis.com
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0
Accept: application/json, text/plain, */*
Accept-Language: en-GB,en;q=0.5
Accept-Encoding: gzip, deflate
Connection: close
Referer: https://account.acronis.com/
Cookie:
HTTP RESPONSE
HTTP/1.1 200 OK
Server: nginx
Date: Tue, 09 Mar 2021 10:28:36 GMT
Content-Type: application/json
Connection: close
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
pragma: no-cache
expires: -1
X-RateLimit-Limit: 100
X-RateLimit-Remaining: 99
Access-Control-Allow-Credentials: false
Access-Control-Allow-Headers: Accept, Accept-Encoding, Accept-Language, Authorization, Cache-Control, Connection, DNT, Keep-Alive, If-Modified-Since, Origin, Save-Data, User-Agent, X-Requested-With, Content-Type
Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
p3p: CP=IDC DSP COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT
X-Frame-Options: SAMEORIGIN
Strict-Transport-Security: max-age=31536000; includeSubDomains; preload
X-XSS-Protection: 1; mode=block
Content-Length: 847
{"account":{"id":,"type":"enterprise","email":"[email protected]","title":" ","first":"test","last":"test","middle":"","company_name":"hackerone","occupation":"","industry":"","phone":"9971193792","fax":"","country":"IN","subscription_language":"en-GB","zip":"","state_province":"","city":"","address1":"","address2":"","updated_at":1615284826,"created_at":1615284826,"subscription_home":false,"subscription_corporate":false,"subscription_developer":false,"subscription_beta":false,"blacklist":false,"auto_gen_pwd":false,"confirmed":false,"dr_region_supported":true,"dr_trial_used":false,"beta_user":false,"agreement_accepted":true,"up_to_date":true,"requires_data":true,"tenants":{"enterprise":""},"contacts_supported":true,"company_type":"Reseller","company_size":"1-10","contacts":[]}}
WHILE Adding contact details follow the steps
- Intercept the request
- change the
"email_confirmed":falsetotrue
HTTP REQUEST TO Add contact details
PUT /v2/contacts/eff03f0f-10f5-4c17-9360-a400a0068cff HTTP/1.1
Host: account.acronis.com
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0
Accept: application/json, text/plain, */*
Accept-Language: en-GB,en;q=0.5
Accept-Encoding: gzip, deflate
Content-Type: application/json;charset=utf-8
Content-Length: 330
Origin: https://account.acronis.com
Connection: close
Referer: https://account.acronis.com/
Cookie:
{"id":"eff03f0f-10f5-4c17-9360-a400a0068cff","types":["technical"],"email":"[email protected]","address1":"","address2":"","country":"","state":"","city":"","zipcode":"","phone":"9971193792","firstname":"Test","lastname":"Test","title":"test","website":"","industry":"","organization_size":"","email_confirmed":false}
Impact
Attacker is able to bypass the email confirmation to use some functionality which is only be used after email confirmation
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 server trusted client-controlled values for account state flags (email confirmation and agreement acceptance) instead of setting them server-side.
Impact
An attacker could use features restricted to confirmed accounts and store contact and billing details before confirming their email, though the data only became visible after genuine confirmation.
What the attacker needed
A free signup; ability to intercept HTTP traffic
How it was found
- Open the signup page and create a business account.
- Intercept the account request and its response in a proxy.
- Change the confirmation flag in the response to true and forward it.
- Open the profile and add contact and billing details, changing the contact email-confirmed flag to true.
- Log out and back in: the functionality is unavailable until the email is confirmed.
- After confirming the email, the details entered during the bypass are visible.
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.
When you sign up, the server sends back a record with a confirmation flag. The report shows that changing that flag in the intercepted response, and a similar flag when saving contact details, let the user use features meant to be locked until confirmation.
What is Access control?
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.