Skip to content
IDOR Disclosed report Beginner

IDOR Vulnerability Allowing Unauthorized Profile Picture Change

An IDOR vulnerability in the Edit Photo functionality of profile.autodesk.com allowed an attacker to change any user's profile picture without authorization by manipulating the 'id' parameter. The program fixed the issue.

l1ackersalman Follow

Originally disclosed on HackerOne

Medium 5.3 View original
  • Triaged in 24 hours
  • Fixed in 14 days
  • Disclosed after 22 days

Summary by the program

An IDOR (Insecure Direct Object Reference) vulnerability was found on Autodesk User Profile, through the "id" parameter which could have allowed an attacker to edit another user's photo. Autodesk has fixed the vulnerability and we thank @tasin_zucced___ for reporting this issue.

Summary by the researcher

An Insecure Direct Object Reference vulnerability was discovered in the Edit Photo functionality of profile.autodesk.com. This flaw allows an attacker to change the profile picture of any user without authorization.

The original report as published on HackerOne, by l1ackersalman. 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 the Autodesk User Profile, specifically the Edit Photo functionality on profile.autodesk.com. The researcher reports an Insecure Direct Object Reference (IDOR) in that feature, reached through an id parameter. According to the researcher's summary, the flaw allowed an attacker to change the profile picture of any user without authorisation.

The program's own summary describes the same issue: an IDOR on the Autodesk User Profile, through the id parameter, which could have allowed an attacker to edit another user's photo. The program states that the vulnerability has been fixed.

The report is short and does not include the HTTP request, the parameter placement, the value used for the id, or the server responses that confirmed the change. It also does not describe the account setup, the victim account used, or any reproduction steps beyond the two summaries above. The disclosed record lists the severity as medium with a CVSS score of 5.3, and the weakness as Insecure Direct Object Reference. No bounty amount is given.

Root cause

The report points to the id parameter in the Edit Photo flow as the object reference. The report names the id parameter as the object reference but does not describe the server-side check that was missing. In other words, authorisation was probably tied to being logged in rather than to owning the object named in the request. The report does not show the server-side code or the exact check that was missing, so this remains an inference from the described behaviour.

Impact

As described, an attacker could change the profile picture of any user without authorisation. The report does not go further: it does not claim account takeover, access to other profile fields, or any persistence beyond the photo change. The report itself only asserts the photo change.

How this kind of bug works

An IDOR appears when an application exposes a reference to an internal object (a numeric ID, a UUID, a filename, a slug) and uses it to select the object to read or modify, but does not verify that the caller is allowed to act on that object. Authentication answers "who are you"; authorisation answers "may you touch this specific thing". IDOR is the gap between the two.

The classic pattern is a request that carries both an identity (session cookie, bearer token) and an object reference. The server resolves the object from the reference and performs the action. If the ownership check is missing, or is performed only in the browser, or is keyed on a value the client controls, any authenticated user can act on any object whose reference they can guess or obtain.

References that are easy to enumerate (sequential integers, short IDs) make the bug trivial to exploit. Opaque references (long random UUIDs) do not fix it; they only make discovery harder, and references leak through pages, emails, exports and APIs. The defence is a server-side check on every request that resolves the object and confirms the caller's relationship to it, ideally enforced centrally rather than per endpoint.

How to test for it

  1. Map the features that act on a per-user object: profile edits, uploads, address books, invoices, drafts, team memberships, notification settings. Note every request that carries an object reference in the path, query string, body or a header.
  2. Create two accounts you control, A and B. Perform the action as A and capture the request. Record every identifier in it, including hidden form fields and JSON body keys, not just the obvious ones.
  3. Replay the same request with A's session but B's object reference. A positive result is a successful response (2xx, or a redirect to a success page) and a verifiable change on B's side: reload B's profile or fetch B's object through B's own session and confirm the modification.
  4. Try the reverse: B's session with A's reference. Also try removing the reference entirely, sending an empty value, sending an array or duplicate parameter, and swapping between numeric and string forms, since some frameworks bind these differently.
  5. For write operations, prefer a harmless, reversible change (a photo, a display name you can restore) so the test does not damage the target.

Common false positives: the endpoint returns 200 but silently ignores the change; the change is applied to the caller's own object because the server derives the owner from the session and ignores the supplied ID; a cached or client-side view shows the change while the server state is unchanged; or the second account actually has permission (shared team, delegated access). Always confirm server-side state through the victim's own session before reporting.

How it is fixed

The standard fix is a server-side authorisation check on every object access: resolve the object from the reference, then confirm the authenticated principal owns it or holds a role that permits the action, and reject otherwise. Where possible, derive the object from the session rather than trusting a client-supplied identifier. Enforce this centrally (middleware, policy layer, ORM scoping) so new endpoints inherit it. Return a generic 403 or 404 for unauthorised access, avoid leaking whether the object exists, and add regression tests that replay cross-account requests.

Hunting notes

IDOR tends to hide in features added later or maintained by separate teams: profile and settings pages, file and photo uploads, export and report generators, invitation and sharing flows, and mobile or legacy API versions that lag behind the web app. Recon signals include numeric or short identifiers in URLs and JSON bodies, endpoints that accept an id alongside a session, GraphQL mutations taking object IDs, and any place where the UI hides a field that the API still accepts. GraphQL and bulk endpoints are worth attention because a single mutation or batch call may skip the per-object check that the single-item UI path enforces.

To make a report land, show the two-account setup, the exact request with the swapped reference, the server response, and proof of the change observed through the victim's own session. Keep the demonstration minimal and reversible, state the impact in the terms the program cares about (unauthorised modification of another user's data), 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

Autodesk runs a website at profile.autodesk.com where a user manages their own profile, including their profile picture. That picture is the small image shown next to your name on a service, a bit like the photo on an ID card or the avatar next to your messages in a chat app. The feature that lets you upload or replace it is called Edit Photo.

When you use a feature like that in a browser, the browser does not just show a page; it sends a small message to Autodesk's server asking it to save the change. That message is called a request. A request usually carries a few pieces of information: who you are, and what you want to act on. The "who you are" part is normally a session cookie, a short string the server gave your browser when you logged in, which the browser sends back on every request so the server recognises you. The "what you want to act on" part is often an identifier, a number or code that names a specific item, in this case a user profile.

The researcher found that the Edit Photo feature used an id parameter to say which profile's photo should be changed. A parameter is simply a named value in a request, like a field on a form: the name is id and the value is whatever the browser sends. The report says the id parameter could have allowed an attacker to edit another user's photo.

That kind of mistake has a name: Insecure Direct Object Reference, usually shortened to IDOR. It means the application lets you point directly at an internal object (here, a user profile) by its reference, and forgets to check whether you are allowed to touch that particular object. The everyday comparison is a cloakroom: you hand in your coat and get a ticket with a number. If the attendant hands back any coat whose number you ask for, without checking that the ticket is yours, then anyone can walk off with anyone else's coat by guessing a number. The ticket is the id; the missing check is the vulnerability.

According to the researcher's summary, the flaw allowed an attacker to change the profile picture of any user without authorisation. The program's own summary says the same: an IDOR on the Autodesk User Profile, through the id parameter, which could have allowed an attacker to edit another user's photo. The program states that the vulnerability has been fixed.

The report is short. It does not include the HTTP request, where the id sat (in the URL, in the body, or elsewhere), what value was used for id, or the server responses that confirmed the change. It also does not describe the accounts used or any reproduction steps beyond the two summaries. The disclosed record lists the severity as medium with a CVSS score of 5.3, and the weakness as Insecure Direct Object Reference. No bounty amount is given.

Why does this matter, even though it is "only" a photo? Being able to change someone else's profile picture is unauthorised modification of their data. The report itself only asserts the photo change; it does not claim account takeover or access to other profile fields.

In general, how this kind of bug works

An IDOR appears when an application exposes a reference to an internal object (a numeric ID, a random string called a UUID, a filename, a short name in a URL) and uses it to pick the object to read or change, but does not verify that the caller is allowed to act on that object. Two ideas are easy to mix up here. Authentication answers "who are you": logging in with a password or a session cookie. Authorisation answers "may you touch this specific thing": owning this profile, this invoice, this draft. IDOR is the gap between the two: you are properly logged in, but the server never asks whether the thing you named is yours.

The classic pattern is a request that carries both an identity (the session cookie) and an object reference (the id). The server looks up the object from the reference and performs the action. If the ownership check is missing, done only in the browser, or based on a value the client controls, then any logged-in user can act on any object whose reference they can guess or find.

References that are easy to guess (sequential numbers, short IDs) make the bug trivial to exploit. Long random references do not fix it; they only make discovery harder, and references leak through pages, emails, exports and APIs anyway. The real defence is a check on the server, on every request, that resolves the object and confirms the caller's relationship to it, ideally enforced in one central place rather than endpoint by endpoint.

How to test for it

  1. Map the features that act on a per-user object: profile edits, uploads, address books, invoices, drafts, team memberships, notification settings. Note every request that carries an object reference in the path, the query string, the body or a header.
  2. Create two accounts you control, A and B. Perform the action as A and capture the request. Record every identifier in it, including hidden form fields and JSON body keys, not just the obvious ones.
  3. Replay the same request with A's session but B's object reference. A positive result is a successful response (2xx, or a redirect to a success page) and a verifiable change on B's side: reload B's profile, or fetch B's object through B's own session, and confirm the modification.
  4. Try the reverse: B's session with A's reference. Also try removing the reference entirely, sending an empty value, sending an array or a duplicate parameter, and swapping between numeric and string forms, since some frameworks handle these differently.
  5. For write operations, prefer a harmless, reversible change (a photo, a display name you can restore) so the test does not damage the target.

Common false positives: the endpoint returns 200 but silently ignores the change; the change is applied to the caller's own object because the server takes the owner from the session and ignores the supplied ID; a cached or client-side view shows the change while the server state is unchanged; or the second account actually has permission (shared team, delegated access). Always confirm the server-side state through the victim's own session before reporting.

How it is fixed

The standard fix is a server-side authorisation check on every object access: resolve the object from the reference, then confirm the logged-in user owns it or holds a role that permits the action, and reject otherwise. Where possible, take the object from the session rather than trusting an identifier supplied by the client. Enforce this centrally (middleware, a policy layer, database query scoping) so new endpoints inherit it. Return a generic 403 or 404 for unauthorised access, avoid revealing whether the object exists, and add regression tests that replay cross-account requests.

Where these bugs tend to hide

IDOR tends to hide in features added later or maintained by separate teams: profile and settings pages, file and photo uploads, export and report generators, invitation and sharing flows, and mobile or legacy API versions that lag behind the web app. Signals worth watching include numeric or short identifiers in URLs and JSON bodies, endpoints that accept an id alongside a session, GraphQL mutations taking object IDs, and any place where the interface hides a field that the API still accepts. GraphQL and bulk endpoints deserve attention because a single mutation or batch call may skip the per-object check that the single-item path enforces.

To make a report land, show the two-account setup, the exact request with the swapped reference, the server response, and proof of the change observed through the victim's own session. Keep the demonstration minimal and reversible, state the impact in the terms the program cares about (unauthorised modification of another user's data), and avoid overclaiming beyond what you demonstrated.

Glossary

  • Request: a message a browser sends to a server asking it to do something, such as load a page or save a change.
  • Parameter: a named value carried in a request, like a field on a form; here the name is id.
  • Session cookie: a short string the server gives your browser at login, sent back on each request so the server recognises you.
  • Token: a piece of data that stands in for your identity or permission, similar in role to a session cookie.
  • Authentication: proving who you are, for example by logging in.
  • Authorisation: deciding whether you are allowed to do a specific action on a specific thing.
  • IDOR (Insecure Direct Object Reference): a bug where the application lets you name an internal object directly and does not check that it is yours.
  • Object reference / identifier: the value that names a specific item, such as a user profile, in a request.
  • UUID: a long random-looking identifier, harder to guess than a small number.
  • Endpoint: a specific address on a server that performs a particular action.
  • HTTP request / response: the message sent to a server and the message it sends back.
  • 2xx: the family of HTTP status codes meaning the request succeeded.
  • 403 / 404: HTTP status codes meaning "forbidden" and "not found".
  • CVSS: a standard scoring system for the severity of a vulnerability; 5.3 is in the medium range.
  • Severity: a label for how serious a vulnerability is, such as low, medium or high.
  • False positive: a test result that looks like a bug but is not one.
  • GraphQL: a way for applications to ask a server for data or changes using structured queries and mutations.
  • Mutation: in GraphQL, an operation that changes data rather than just reading it.
  • Middleware: code that runs centrally on every request before the main handler, a good place for shared checks.
  • Regression test: an automated test that makes sure a fixed bug does not come back.

More from Autodesk

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Insecure direct object reference (IDOR)

The lesson behind this report.

One user can read or change another user's data, usually by changing an identifier the server trusts without checking who is asking. One of the most paid bug classes on web programs.