Skip to content
Access control Write-up Intermediate

How I Gain Access to the Server Administration of a Million-Dollar Company

The user update endpoint accepted extra fields that were not in the original request, allowing the attacker to set a companyUser flag, a 2FA code, and an IP address to gain administrative access. This gave access to admin panels across multiple subdomains.

Marx Chryz Del Mundo Follow

Published on marxchryz.medium.com

Bounty$5,000 View original

Hello everyone, I am Marx Chryz and I am new to bug bounty hunting even though I do web penetration testing for more than a year.

Marx Chryz Del Mundo, on marxchryz.medium.com

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.

Written with AI from the full original report and checked against it passage by passage; anything it could not back up was removed or toned down. The original is the record. 7 min read.

Context

The target was a subdomain of a private bug bounty program that requires signup and login before anything is reachable. The researcher does not name the company or the subdomain, and shows no screenshots of it, because the program is private. The feature involved is ordinary account management: registration, an account update form, and a login flow that, for certain accounts, adds a 2FA pin and an IP whitelist check.

The write-up opens with a lab exercise rather than the target. In OWASP Juice Shop, under the "Improper Input Validation" category, there is a task described as "Register as a user with administrator privileges." The way that task is solved is to guess and supply a parameter named role with the value admin during registration. That exercise is the seed for everything that follows: the researcher's question was whether the same idea works against a real application.

OWASP Juice Shop From the original on marxchryz.medium.com

Setup

The researcher had been doing web penetration testing for more than a year but describes himself as new to bug bounty hunting. Before this target he had worked through DVWA in late 2019 and, from November 2020, OWASP Juice Shop and WebGoat. The researcher reviewed his HTTP logs in Burp Suite, and that is where the finding came out of.

On the target, the precondition was simply an account. The researcher created one during registration, and later repeated the same steps on a second and a third account. No special role, invitation or approval was needed to reach the update endpoint.

Finding it

Registration looked normal. The researcher's simplified representation of the request is:

HTTP
POST /register HTTP/1.1
Host: www.redacted.com
Content-Type: application/json

{"email": "[redacted]", "password": "password123"}

That request returned a 302 redirect to the homepage, and nothing about it stood out.

Exploration of the "My Account" functionality turned up no CSRF or IDOR issues: the CSRF tokens are bound to the userID, so neither class of bug could be exploited there. The researcher then took a break, and afterwards went back through the Burp Suite HTTP logs. In those logs was the request that updates the account:

HTTP
POST /updateUserInfo HTTP/1.1
Host: www.redacted.com
CSRF-Token: XXXXXXXXXXXXXXXXXXXXXXX
Content-Type: application/json

{
 "User": {"id": "123", "email": "[redacted]", "fullName": "User A"},
 "Address": {"city": "Some City"}
}

The response was very long. The part shown is:

HTTP
HTTP/1.1 200 OK

{
 "response": "success",
 "info": {
 "id": "123",
 "email": "[redacted]",
"fullName": "User A",
…
 }
}

The response contains many fields that were not in the request. One of them is named companyUser and has the value 0. That is what made the researcher ask whether the value could be changed, and where in the request the field would have to be placed for the change to take effect.

Exploitation

Step 1: try the field inside the existing object

The first attempt added companyUser to the User object that was already being sent:

HTTP
POST /updateUserInfo HTTP/1.1
Host: www.redacted.com
CSRF-Token: XXXXXXXXXXXXXXXXXXXXXXX
Content-Type: application/json

{
 "User": {"id": "123", "email": "[redacted]", "fullName": "User A", "companyUser": "1"},
"Address": {"city": "Some City"}
}

Nothing happened. The researcher concluded that companyUser must not belong inside the User field, and started guessing at the shape the server expected.

Step 2: try a nested object with a lowercase key

The next guess wrapped the field in an object of its own, still lowercase:

JSON
{"companyUser": { "companyUser": "1" }}

Nothing happened again.

Step 3: match the naming convention

The application's own field names start with a capital letter (User, Address), so the researcher changed the outer key to CompanyUser:

JSON
{"CompanyUser": { "companyUser": "1" }}

This time the response came back with companyUser set to 1. The researcher logged out and logged back in to check, but the login did not complete: a 2FA pin code was requested.

From the original on marxchryz.medium.com

Brute force was ruled out because the length and character set of the pin are unknown; it could be alphanumeric with symbols.

Step 4: add the 2FA field

The researcher repeated the steps on a second account and read the response again. In it was a field related to 2FA, named companyUser2FA. That field was added to the request:

JSON
{"CompanyUser": { "companyUser": "1", "companyUser2FA": "1234" }}

The 2FA field appeared in the response, which the researcher took as confirmation that it had been accepted. Logging out and back in produced a different obstacle: the login was refused because the IP was not on the whitelist.

From the original on marxchryz.medium.com

Step 5: add the IP field

The same process was repeated on a third account, and the response was reviewed again. This time the relevant field was named companyUserIP. It was added to the request, with the researcher's own public IP as the value, to get past the IP restriction. The final request body was:

JSON
{"CompanyUser": { "companyUser": "1", "companyUser2FA": "1234", "companyUserIP": "<My Public IP>" }}

After logging out and back in, the researcher was redirected to a route inside the website that only admins can reach, and could see everything that admins see.

From the original on marxchryz.medium.com

What the access covered

The admin access was not limited to the subdomain where the account had been created. It also worked on the company's admin panels on other subdomains, and through it the researcher saw a number of subdomains that had not appeared during subdomain enumeration.

At that point the researcher stopped testing. The reason given is uncertainty about whether the program's permission covered further testing on those systems, and the write-up repeats the general point that scope should be clarified with the program first. No further exploitation is described.

Root cause

The behaviour is mass assignment, also called object injection: the update endpoint takes the JSON body and binds its properties onto the stored user object without restricting which properties a client is allowed to set. The companyUser flag, the companyUser2FA value and the companyUserIP value are all server-side account attributes, but the endpoint accepts them from the request body just like fullName or city.

The naming convention mattered. The outer key had to be CompanyUser, capitalised like the application's other top-level objects, for the server to bind the nested values. The exact binding mechanism is not shown in the report, so the reason the capitalised key is the one that works is likely a case-sensitive mapping between the JSON keys and the server-side model.

The existing defences did not cover this. The CSRF token was present and bound to the userID, which is why CSRF and IDOR were ruled out earlier, but a valid CSRF token only proves the request came from the user's own session; it says nothing about which fields the user may write. The 2FA pin and the IP whitelist both blocked login until the corresponding attributes were written through the same update endpoint, so neither stopped the escalation.

Impact

An ordinary registered user could turn their own account into a company user and log in as an administrator, without any brute force and without any other user's credentials. The access extended to admin panels on other subdomains of the company, and exposed the existence of subdomains that enumeration had missed. The report does not describe what actions were possible inside those panels, and the researcher deliberately did not test further, so the impact beyond viewing admin functionality is not established here.

The conditions are that the attacker can register an account, that the update endpoint is reachable with a valid session and CSRF token, and that the attacker knows or guesses the field names. The field names were discovered from the responses to the update request, which returned attributes the client had not sent.

Fix

The report's timeline shows the bug was submitted on 22 January 2021 and fixed on 23 January 2021, but does not say what was changed. The measure that addresses the root cause is an allowlist on the update endpoint: bind only the fields a user is permitted to change, such as fullName and address details, and ignore or reject everything else, including companyUser, companyUser2FA and companyUserIP. Server-side flags of this kind should never be writable through a profile update, and the 2FA and IP whitelist values should be set only through a dedicated, separately authorised administrative flow.

Variants to test

  1. Add fields seen only in responses. Take any update or profile endpoint, note attributes returned in the response but absent from the request, and try to write them back. A positive result is the response echoing the new value and the change persisting after re-login.
  2. Try both key casings and nesting shapes. If {"companyUser": ...} is ignored, try {"CompanyUser": ...}, and try the field both inside and outside the existing object. A positive result is the value appearing in the response where it previously did not.
  3. Target boolean and role flags. Fields such as isAdmin, role, companyUser or verified are the highest-value candidates. A positive result is a change in what the account can reach after logging in again.
  4. Target security controls stored as user attributes. Look for fields named after 2FA, OTP, IP whitelist or trusted device. A positive result is a login that skips or satisfies the control with a value you supplied.
  5. Test the same endpoint with different content types. If JSON binding is filtered, try form encoding with bracketed keys such as CompanyUser[companyUser]=1. A positive result is the same attribute change through the alternate parser.
  6. Check whether the change propagates across subdomains. After a successful write, try the same session against admin routes on sibling subdomains. A positive result is admin functionality reachable where it was previously refused.

Written with AI from the full original report and checked against it passage by passage; anything it could not back up was removed or toned down. The original is the record. 16 min read.

What happened, in plain words

A security researcher found a way to turn an ordinary user account on a company's website into an administrator account. He did it by adding extra fields to a form that updates your profile, fields the website never expected a normal user to send. The company triaged the bug as P1 and it was eligible for a 5,000 US dollar bounty.

The company is not named because the bug bounty program is private. A bug bounty program is an arrangement where a company invites outside people to look for security problems in its systems and pays for the ones they report. A private program means the details stay confidential, which is why the company is not named.

The whole idea started with a practice exercise, not with the real target. That matters, because it shows how a simple lab task can lead to a real finding.

Background: where the idea came from

In November 2020 the researcher was practising on deliberately vulnerable learning applications: OWASP Juice Shop and WebGoat. These are websites built with known security holes on purpose, so that people can practise finding and exploiting them safely. He picked those two because he had already tried DVWA (Damn Vulnerable Web Application) in late 2019. DVWA is another practice site of the same kind.

OWASP Juice Shop From the original on marxchryz.medium.com

The screenshot shows the OWASP Juice Shop practice site.

Inside OWASP Juice Shop there is a category of challenges called "Improper Input Validation". Input validation means checking the data a user sends before trusting it. "Improper" means the check is missing or too weak. One challenge in that category is described as "Register as a user with administrator privileges."

To solve that challenge, you guess that the registration form accepts an extra field called role, and you give it the value admin. Passing that field completes the challenge. The lesson is simple: if a website blindly accepts every field you send, you can send fields it never meant to let you set.

After finishing the challenge, the researcher asked himself whether the same trick could work against a real company. He had always assumed the answer was no. Then, in January, he managed to do it on a real target, with a few extra tricks needed along the way, and got into the server administration of a company he describes as a million-dollar company.

Introduction: the target and the first request

The target was a subdomain of a private bug bounty program. A subdomain is a section of a company's website with its own address, for example shop.example.com next to www.example.com. This particular subdomain required you to sign up and log in before you could see anything.

So the researcher created an account straight away. Registration looked completely normal. To explain without revealing the real site, he uses a simplified example of the request. A request is the message your browser sends to a server when you do something on a website. Here it is:

HTTP
POST /register HTTP/1.1
Host: www.redacted.com
Content-Type: application/json

{"email": "[redacted]", "password": "password123"}

Line by line:

  • POST /register HTTP/1.1 says "I am sending data to the address /register, using version 1.1 of the HTTP protocol". HTTP is the language browsers and servers use to talk. POST means "here is some data for you to process", as opposed to GET, which means "please give me a page".
  • Host: www.redacted.com tells the server which website you are asking for. One server can host many websites, so it needs to know which one you mean.
  • Content-Type: application/json says the data is in JSON format. JSON is a way of writing structured data as text, using curly braces for objects and quotes around names and values. It is the format most modern web apps use to exchange data.
  • The blank line separates the headers (the instructions) from the body (the actual data).
  • {"email": "[redacted]", "password": "password123"} is the body: an email address and a password, the two things you type into a signup form.

The server answered with a 302 redirect to the homepage. A 302 is a status code meaning "the thing you asked for is somewhere else, go there instead". Status codes are three-digit numbers servers use to report what happened: 200 means OK, 302 means redirect, 404 means not found, 500 means the server broke. Nothing about this response looked suspicious, so the researcher carried on exploring the site.

Exploring the account area

He looked at the "My Account" feature, hoping to find CSRF or IDOR problems. Two terms to explain:

  • CSRF (Cross-Site Request Forgery) is when a malicious website tricks your browser into sending a request to another site where you are logged in, without you meaning to. The defence is a CSRF token: a random value the site gives your browser and expects back with every state-changing request, which an attacker's site cannot know.
  • IDOR (Insecure Direct Object Reference) is when a site lets you access someone else's data just by changing an identifier, for example changing id=123 to id=124 in a URL and seeing another person's records.

Neither was present. The CSRF tokens were tied to the user's ID, so neither attack could work there. A CSRF token tied to a user ID means the token is only valid for that one account, which blocks both tricks.

After a while he got bored, took a break, and afterwards went back through his HTTP logs in Burp Suite. Burp Suite is a tool that sits between your browser and the website and records every request and response, so you can read them later and change them before sending. In those logs he found the request that updates your account details:

HTTP
POST /updateUserInfo HTTP/1.1
Host: www.redacted.com
CSRF-Token: XXXXXXXXXXXXXXXXXXXXXXX
Content-Type: application/json

{
 "User": {"id": "123", "email": "[redacted]", "fullName": "User A"},
 "Address": {"city": "Some City"}
}

Line by line:

  • POST /updateUserInfo sends data to the address that saves profile changes.
  • Host: www.redacted.com names the site.
  • CSRF-Token: XXXXXXXXXXXXXXXXXXXXXXX is the anti-CSRF value described above. The Xs stand in for the real token, which is secret.
  • Content-Type: application/json says the body is JSON.
  • The body has two top-level objects. An object is a group of name-and-value pairs inside curly braces. The first is called User and holds the account's id, email and fullName. The second is called Address and holds the city.

The response was very long. Here is the part he shows:

HTTP
HTTP/1.1 200 OK

{
 "response": "success",
 "info": {
 "id": "123",
 "email": "[redacted]",
"fullName": "User A",
…
 }
}

Line by line:

  • HTTP/1.1 200 OK means the request succeeded.
  • "response": "success" is a simple confirmation message.
  • "info": { ... } is an object holding the account details the server knows about.
  • Inside it are id, email and fullName, matching what was sent, followed by …, meaning the response continued with many more fields.

The important part: the response contained lots of fields that were not in the request. One of them was named companyUser and had the value 0. That caught his eye. A field is a single named piece of data. A value of 0 usually means "false" or "no", so companyUser looked like a switch saying whether this account belongs to the company or not. The natural question was: can I change that value, and where in the request would I have to put it for the change to stick?

Exploitation: step by step

Step 1: put the field inside the existing object

The first attempt simply added companyUser to the User object that was already being sent:

HTTP
POST /updateUserInfo HTTP/1.1
Host: www.redacted.com
CSRF-Token: XXXXXXXXXXXXXXXXXXXXXXX
Content-Type: application/json

{
 "User": {"id": "123", "email": "[redacted]", "fullName": "User A", "companyUser": "1"},
"Address": {"city": "Some City"}
}

Line by line, this is the same request as before, with one addition: "companyUser": "1" now sits inside the User object, next to fullName. The value 1 is meant to mean "true" or "yes".

Nothing happened. The researcher concluded that companyUser must not belong inside the User field, and started guessing at the shape the server expected. This is normal when testing: you form a theory, test it, and use the result to refine the theory.

Step 2: try a nested object with a lowercase key

The next guess wrapped the field in an object of its own, still lowercase:

JSON
{"companyUser": { "companyUser": "1" }}

Line by line:

  • The outer { ... } is the whole body.
  • "companyUser" is the name of a top-level object, like User and Address were.
  • Inside it, "companyUser": "1" is the actual field being set.

Nothing happened again. The server ignored this shape too.

Step 3: match the naming convention

The application's own field names start with a capital letter: User, Address. So the researcher changed the outer key to CompanyUser:

JSON
{"CompanyUser": { "companyUser": "1" }}

Line by line:

  • "CompanyUser" is now capitalised, matching the style of the app's other top-level objects.
  • The inner "companyUser": "1" stays lowercase, because that is how the field appeared in the response.

This time the response came back with companyUser set to 1. The researcher logged out and logged back in to check, but the login did not complete: a 2FA pin code was requested.

2FA means two-factor authentication: a second proof of identity on top of your password, usually a short code. A pin is that short code. The site was asking for one.

From the original on marxchryz.medium.com

The screenshot shows the login being stopped by the 2FA pin prompt.

Brute force was ruled out. Brute force means trying every possible value until one works. It was not practical here because the length and character set of the pin are unknown; it could be letters and numbers with symbols, which makes the number of possibilities far too large.

Step 4: add the 2FA field

The researcher repeated the steps on a second account and read the response again. In it was a field related to 2FA, named companyUser2FA. That field was added to the request:

JSON
{"CompanyUser": { "companyUser": "1", "companyUser2FA": "1234" }}

Line by line:

  • "CompanyUser" is the outer object, capitalised as before.
  • "companyUser": "1" still marks the account as a company user.
  • "companyUser2FA": "1234" is new: it sets the 2FA value directly, so the account has a known pin instead of an unknown one.

The 2FA field appeared in the response, which the researcher took as confirmation that it had been accepted. Logging out and back in produced a different obstacle: the login was refused because the IP was not on the whitelist.

An IP address is the numeric address of a computer on a network. A whitelist (also called an allowlist) is a list of things that are allowed; here, a list of IP addresses permitted to log in. The site was checking where the login came from and rejecting anything not on the list.

From the original on marxchryz.medium.com

The screenshot shows the login being refused because the IP was not whitelisted.

Step 5: add the IP field

The same process was repeated on a third account, and the response was reviewed again. This time the relevant field was named companyUserIP. It was added to the request, with the researcher's own public IP as the value, to get past the IP restriction. Your public IP is the address the internet sees for your connection, as opposed to the private addresses used inside your home network. The final request body was:

JSON
{"CompanyUser": { "companyUser": "1", "companyUser2FA": "1234", "companyUserIP": "<My Public IP>" }}

Line by line:

  • "CompanyUser" is the outer object.
  • "companyUser": "1" marks the account as a company user.
  • "companyUser2FA": "1234" sets a known 2FA pin.
  • "companyUserIP": "<My Public IP>" puts the researcher's own address on the whitelist, so the login check passes.

After logging out and back in, the researcher was redirected to a route inside the website that only admins can reach, and could see everything that admins see. A route is simply a page or section of a website at a particular address.

From the original on marxchryz.medium.com

The screenshot shows the admin area being reached after the final login.

What the access covered

The admin access was not limited to the subdomain where the account had been created. It also worked on the company's admin panels on other subdomains, and through it the researcher saw a number of subdomains that had not appeared during subdomain enumeration. Subdomain enumeration is the process of discovering a company's subdomains, often with automated tools; here, the admin access revealed some that the tools had missed.

At that point the researcher stopped testing. The reason given is uncertainty about whether the program's permission covered further testing on those systems, and the write-up repeats the general point that scope should be clarified with the program first. Scope means the list of systems a researcher is allowed to test. No further exploitation is described.

Root cause

The behaviour is called mass assignment, also known as object injection. It means the update endpoint takes the JSON body and copies its properties onto the stored user record without restricting which properties a client is allowed to set. The companyUser flag, the companyUser2FA value and the companyUserIP value are all server-side account attributes, but the endpoint accepts them from the request body just like fullName or city.

An everyday comparison: imagine a form at a hotel reception that says "name and room number". If the clerk copies everything you write onto your record, and you write "name, room number, and also give me the master key", you get the master key. The form was never meant to accept that line, but nobody checked.

The naming convention mattered. The outer key had to be CompanyUser, capitalised like the application's other top-level objects, for the server to bind the nested values. The exact binding mechanism is not shown in the report, so the reason the capitalised key is the one that works is likely a case-sensitive mapping between the JSON keys and the server-side model. Case-sensitive means CompanyUser and companyUser are treated as different names.

The existing defences did not cover this. The CSRF token was present and bound to the userID, which is why CSRF and IDOR were ruled out earlier, but a valid CSRF token only proves the request came from the user's own session; it says nothing about which fields the user may write. The 2FA pin and the IP whitelist both blocked login until the corresponding attributes were written through the same update endpoint, so neither stopped the escalation.

Impact

An ordinary registered user could turn their own account into a company user and log in as an administrator, without any brute force and without any other user's credentials. The access extended to admin panels on other subdomains of the company, and exposed the existence of subdomains that enumeration had missed. The report does not describe what actions were possible inside those panels, and the researcher deliberately did not test further, so the impact beyond viewing admin functionality is not established here.

The conditions are that the attacker can register an account, that the update endpoint is reachable with a valid session and CSRF token, and that the attacker knows or guesses the field names. The field names were discovered from the responses to the update request, which returned attributes the client had not sent.

Fix

The report's timeline shows the bug was submitted on 22 January 2021 and fixed on 23 January 2021, but does not say what was changed. The measure that addresses the root cause is an allowlist on the update endpoint: bind only the fields a user is permitted to change, such as fullName and address details, and ignore or reject everything else, including companyUser, companyUser2FA and companyUserIP. Server-side flags of this kind should never be writable through a profile update, and the 2FA and IP whitelist values should be set only through a dedicated, separately authorised administrative flow.

Variants to test

  1. Add fields seen only in responses. Take any update or profile endpoint, note attributes returned in the response but absent from the request, and try to write them back. A positive result is the response echoing the new value and the change persisting after re-login.
  2. Try both key casings and nesting shapes. If {"companyUser": ...} is ignored, try {"CompanyUser": ...}, and try the field both inside and outside the existing object. A positive result is the value appearing in the response where it previously did not.
  3. Target boolean and role flags. Fields such as isAdmin, role, companyUser or verified are the highest-value candidates. A positive result is a change in what the account can reach after logging in again.
  4. Target security controls stored as user attributes. Look for fields named after 2FA, OTP, IP whitelist or trusted device. A positive result is a login that skips or satisfies the control with a value you supplied.
  5. Test the same endpoint with different content types. If JSON binding is filtered, try form encoding with bracketed keys such as CompanyUser[companyUser]=1. A positive result is the same attribute change through the alternate parser.
  6. Check whether the change propagates across subdomains. After a successful write, try the same session against admin routes on sibling subdomains. A positive result is admin functionality reachable where it was previously refused.

Glossary

  • Bug bounty program: an arrangement where a company invites outside researchers to find security problems and pays for the ones they report.
  • Private program: a bug bounty program open only to invited researchers, with details kept confidential.
  • Subdomain: a section of a website with its own address, such as shop.example.com next to www.example.com.
  • Request: the message a browser sends to a server when you do something on a website.
  • Response: the message a server sends back.
  • HTTP: the language browsers and servers use to talk to each other.
  • POST: an HTTP method meaning "here is some data for you to process".
  • GET: an HTTP method meaning "please give me a page".
  • Header: an instruction line in a request or response, such as Host or Content-Type.
  • Body: the actual data part of a request or response.
  • JSON: a text format for structured data, using curly braces for objects and quotes around names and values.
  • Object: a group of name-and-value pairs inside curly braces in JSON.
  • Field: a single named piece of data.
  • Status code: a three-digit number a server uses to report what happened, such as 200 (OK) or 302 (redirect).
  • 302 redirect: a status code meaning the requested thing is somewhere else.
  • CSRF: Cross-Site Request Forgery, where a malicious site tricks your browser into sending a request to another site where you are logged in.
  • CSRF token: a random value the site gives your browser and expects back with state-changing requests, which an attacker's site cannot know.
  • IDOR: Insecure Direct Object Reference, where changing an identifier lets you access someone else's data.
  • Burp Suite: a tool that sits between your browser and a website, recording and letting you edit requests and responses.
  • HTTP log: the recorded history of requests and responses.
  • 2FA: two-factor authentication, a second proof of identity on top of your password, usually a short code.
  • Pin: the short code used for 2FA.
  • Brute force: trying every possible value until one works.
  • IP address: the numeric address of a computer on a network.
  • Public IP: the address the internet sees for your connection.
  • Whitelist (allowlist): a list of things that are allowed, such as IP addresses permitted to log in.
  • Route: a page or section of a website at a particular address.
  • Subdomain enumeration: the process of discovering a company's subdomains, often with automated tools.
  • Scope: the list of systems a researcher is allowed to test.
  • Mass assignment (object injection): a vulnerability where an endpoint copies all properties from a request body onto a stored record without restricting which ones a client may set.
  • Allowlist (for fields): a list of fields an endpoint is permitted to accept, with everything else ignored or rejected.
  • Case-sensitive: treating names with different capitalisation, such as CompanyUser and companyUser, as different.
  • Input validation: checking the data a user sends before trusting it.
  • P1: the most serious priority level a bug bounty program assigns to a report.
  • OWASP Juice Shop, WebGoat, DVWA: deliberately vulnerable practice websites used for learning security.

More by Marx Chryz Del Mundo

View all

1 more disclosed report, best first.

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.