Skip to content
IDOR Disclosed report Beginner

Idor - Access To Private Resumes

An endpoint that served PDF versions of public resumes did not check whether the resume was actually public, so changing the URL to include the PDF path let anyone download resumes marked private. An attacker who could guess or enumerate resume identifiers could read other users' private resumes.

mar0uane Follow

Originally disclosed on Bugcrowd

Bounty$250 Medium View original
  • Accepted in 24 days
  • Fixed in 12 months
  • Disclosed after 3.0 years

Summary by Indeed

An authorization flaw in the application was identified, where an endpoint for downloading the pdf of a 'public' resume could also be used to download a resume that was set to 'private' if you had a method to enumerate user resume ids.

Summary by mar0uane

Idor Based in the url of the resume , all what attacker should do is adding /pdf/ to url to bypass it and see private resumes .

The original report as published on Bugcrowd, by Indeed. Images and videos are our own copies; raw HTML is shown as text. View it on Bugcrowd.

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 Indeed's web application, in scope as https://*.indeed.com. The feature involved is resume download: the application exposes an endpoint that renders a resume as a PDF. According to the summary written by Indeed, that endpoint was intended for resumes marked as public, but it could also be used to download a resume set to private, provided the attacker had a way to enumerate user resume identifiers.

The researcher, mar0uane, describes the issue as an IDOR based in the URL of the resume. The whole technique is a path manipulation: take the URL of a resume and insert /pdf/ into it, which bypasses the restriction and returns private resumes.

The report does not include the concrete request or the full URL that was used, so the exact path layout cannot be reproduced from the text. What it does state is the shape of the manipulation: a resume URL, with /pdf/ added, resolves to the PDF download of a resume that should not be reachable.

The report was disclosed on 3 February 2023 through Bugcrowd. It was rated medium severity and paid a bounty of 250.00 USD. The report does not describe the fix that was applied.

Root cause

The report does not describe the internal cause. The observable behaviour is that adding /pdf/ to a resume URL returns the PDF of a resume set to private. The public resume view is gated, but the download variant of the same resource is treated as a plain object fetch keyed on the identifier in the path. Authorisation is therefore decided by which route is used rather than by the state of the object being requested, and adding /pdf/ selects the route with the weaker check.

A second condition makes the flaw exploitable in practice: resume identifiers must be guessable or enumerable. The report explicitly frames exploitation as conditional on having a method to enumerate user resume ids, The report frames exploitation as conditional on having a method to enumerate user resume ids.

Impact

An attacker who can enumerate resume identifiers can download resumes that their owners set to private. Resumes typically contain a person's name, contact details, employment history and education, so the exposure is personal data rather than application internals. The report does not quantify how many resumes were reachable, does not state whether identifiers were sequential, and does not describe any further use of the downloaded files. The severity assigned by the program was medium.

How this kind of bug works

An IDOR (insecure direct object reference) occurs when an application accepts a client-supplied identifier, uses it to fetch an object, and does not verify that the caller is entitled to that object. The check that matters is object-level authorisation: not "is this user logged in" but "may this user read this particular record".

A frequent variant, and the one this report resembles, is route-level inconsistency. The same object is exposed through several endpoints: a JSON view, an HTML page, a print view, a PDF export, a thumbnail, an attachment download. Each is written at a different time, often by different people, and the visibility rule is implemented in the controller of the primary view only. The secondary route fetches by primary key and returns the bytes.

Enumeration is the other half. If identifiers are sequential integers, UUIDv1 values, short hashes or derived from a public profile slug, an attacker can walk the space.

Defences are straightforward in principle: enforce object ownership in a single place that every route passes through, key lookups on the authenticated principal as well as the object id, and return a generic not-found response for objects the caller may not see so that existence is not disclosed.

How to test for it

  1. Create two accounts on the target, or use one account plus a second identity you control. Populate each with an object of the relevant type, for example a document, and set one to private.
  2. Map every route that returns that object. Look for export, download, print, preview, thumbnail, embed and API variants of the same resource, and note how the identifier appears in each (path segment, query parameter, body field, header).
  3. Capture a request to the private object from the owning account and record the exact response, including status code, content type and body length.
  4. Replay the request as the second account, then unauthenticated. A positive result is a full response body for the private object, not a redirect to a login page and not an empty placeholder.
  5. If the primary route is protected, repeat against each secondary route, and try inserting extra path segments or switching the extension, since the weaker handler is often reachable only through a slightly different path.
  6. Test identifier handling: request neighbouring identifiers, identifiers belonging to the second account, and identifiers with different formats. Note whether the application distinguishes "does not exist" from "not yours".

Common false positives: the response is a cached public copy; the object was actually public and the UI label was misleading; the endpoint returns metadata or a redacted preview rather than the content; the second account has a shared role or team membership that legitimately grants access; or the request fails but the error page echoes the object's title, which is an information leak rather than full access.

How it is fixed

Enforce object-level authorisation centrally, so that every route resolving a resume identifier, including the PDF route, consults the same policy before producing output. Scope the lookup to the authenticated user where the object is personal, rather than fetching by identifier and checking afterwards. Return a uniform 404 for objects the caller may not access, so that the response does not confirm existence. Replace enumerable identifiers with unguessable random ones, and avoid exposing internal identifiers in URLs, exports or public pages. Add regression tests that request a private object through every export route as a non-owner and assert denial.

Hunting notes

This class hides in secondary representations of a resource: PDF and CSV exports, print stylesheets, image and thumbnail services, attachment endpoints, older API versions, mobile API paths, and internal endpoints that were later exposed. Anywhere the same record can be fetched by identifier through more than one handler is worth a look.

Recon signals: a URL pattern where an identifier is followed by a format or action segment; JavaScript bundles that reference export or download paths not linked in the UI; API documentation listing several retrieval endpoints for one resource; and identifiers that look sequential or time-based in your own account's URLs.

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

Indeed is a job site. People who use it can create a resume and store it on the platform. A resume can be set to public, meaning other people are allowed to see it, or to private, meaning it is meant only for its owner. The feature at the centre of this report is the resume download: the site can turn a resume into a PDF file that you can save to your computer.

A PDF is just a document format: a file that looks the same on any computer when you open it. Turning a web page into a PDF is a normal convenience feature, so you can keep or print your resume.

According to the summary written by Indeed, the endpoint that produced these PDFs was meant for resumes marked public. An endpoint is simply a specific address on a website that does one job, like a counter in a shop that only handles one kind of request. This endpoint could also be used to download a resume that its owner had set to private, as long as the attacker had a way to work out other people's resume identifiers.

An identifier (often shortened to ID) is the unique label a website gives each item it stores, the way a library gives every book its own shelf number. If you know the number, you can ask for the book. The report says exploitation depended on being able to enumerate those identifiers, which means guessing or listing them one after another rather than knowing them in advance.

The researcher, mar0uane, describes the bug as an IDOR based in the URL of the resume. A URL is the address you see in your browser's address bar. IDOR stands for Insecure Direct Object Reference: the site takes an identifier that the visitor supplies, uses it to fetch a record, and never checks whether that visitor is allowed to see that particular record. The whole technique here is a small edit to the address: take the URL of a resume and insert /pdf/ into it. That change makes the site hand back the PDF version of a private resume instead of refusing.

The report does not include the concrete request or the full URL that was used, so the exact address layout cannot be reproduced from the text. What it does state is the shape of the manipulation: a resume URL, with /pdf/ added, resolves to the PDF download of a resume that should not be reachable.

The report was disclosed on 3 February 2023 through Bugcrowd, a platform where companies receive security reports from outside researchers. It was rated medium severity and paid a bounty of 250.00 USD. The report does not describe the fix that was applied.

Why the flaw existed

The report does not explain the internal cause. What it shows is that adding /pdf/ to a resume URL returns the PDF of a resume set to private. A route is one of the paths a website offers, like different doors into the same building. The normal public resume page was gated, but the download door to the same record was treated as a plain fetch keyed on the identifier in the path. Authorisation was therefore decided by which door you used rather than by the state of the thing you asked for, and adding /pdf/ picked the door with the weaker check.

A second condition makes the flaw usable in practice: resume identifiers must be guessable or enumerable. The report explicitly frames exploitation as conditional on having a method to enumerate user resume ids, The report frames exploitation as conditional on having a method to enumerate user resume ids.

What it means for the people affected

An attacker who can enumerate resume identifiers can download resumes that their owners set to private. Resumes typically contain a person's name, contact details, employment history and education, so what leaks is personal data rather than application internals. The report does not quantify how many resumes were reachable, does not state whether identifiers were sequential, and does not describe any further use of the downloaded files. The report was rated medium severity.

In general, how this kind of bug works

An IDOR happens when an application accepts an identifier supplied by the visitor, uses it to fetch an object, and does not verify that the caller is entitled to that object. The check that matters is object-level authorisation: not "is this user logged in" but "may this user read this particular record". Being logged in is like holding a membership card for a gym; it does not mean every locker in the building is yours.

A frequent variant, and the one this report resembles, is route-level inconsistency. The same object is exposed through several endpoints: a JSON view, an HTML page, a print view, a PDF export, a thumbnail, an attachment download. JSON is a plain text format that programs use to exchange data. Each route is written at a different time, often by different people, and the visibility rule is implemented in the main view only. The secondary route fetches by identifier and returns the bytes.

Enumeration is the other half. If identifiers are sequential integers, short hashes or derived from a public profile name, an attacker can walk the space.

Defences are straightforward in principle: enforce object ownership in a single place that every route passes through, key lookups on the logged-in user as well as the object id, and return a generic not-found response for objects the caller may not see so that existence is not disclosed.

How to test for it

  1. Create two accounts on the target, or use one account plus a second identity you control. Populate each with an object of the relevant type, for example a document, and set one to private.
  2. Map every route that returns that object. Look for export, download, print, preview, thumbnail, embed and API variants of the same resource, and note how the identifier appears in each (path segment, query parameter, body field, header).
  3. Capture a request to the private object from the owning account and record the exact response, including status code, content type and body length. A request is the message your browser sends to a server asking for something; the response is the server's reply. The status code is the three-digit number in that reply, such as 200 for success or 404 for not found.
  4. Replay the request as the second account, then unauthenticated. A positive result is a full response body for the private object, not a redirect to a login page and not an empty placeholder.
  5. If the primary route is protected, repeat against each secondary route, and try inserting extra path segments or switching the extension, since the weaker handler is often reachable only through a slightly different path.
  6. Test identifier handling: request neighbouring identifiers, identifiers belonging to the second account, and identifiers with different formats. Note whether the application distinguishes "does not exist" from "not yours".

Common false positives: the response is a cached public copy; the object was actually public and the UI label was misleading; the endpoint returns metadata or a redacted preview rather than the content; the second account has a shared role or team membership that legitimately grants access; or the request fails but the error page echoes the object's title, which is an information leak rather than full access.

How it is fixed

Enforce object-level authorisation centrally, so that every route resolving a resume identifier, including the PDF route, consults the same policy before producing output. Scope the lookup to the logged-in user where the object is personal, rather than fetching by identifier and checking afterwards. Return a uniform 404 for objects the caller may not access, so that the response does not confirm existence. Replace enumerable identifiers with unguessable random ones, and avoid exposing internal identifiers in URLs, exports or public pages. Add regression tests that request a private object through every export route as a non-owner and assert denial.

Where to look while hunting

This class hides in secondary representations of a resource: PDF and CSV exports, print stylesheets, image and thumbnail services, attachment endpoints, older API versions, mobile API paths, and internal endpoints that were later exposed. Anywhere the same record can be fetched by identifier through more than one handler is worth a look.

Recon signals: a URL pattern where an identifier is followed by a format or action segment; JavaScript bundles that reference export or download paths not linked in the UI; API documentation listing several retrieval endpoints for one resource; and identifiers that look sequential or time-based in your own account's URLs.

Glossary

  • Endpoint: a specific address on a website that performs one job, such as producing a PDF of a resume.
  • Resume: a document listing a person's work history and education, stored on the job site.
  • Public / private: a visibility setting; public means others may see the item, private means only its owner should.
  • PDF: a document file format that displays the same way on any computer.
  • Identifier (ID): the unique label a site gives each stored item, used to ask for it.
  • Enumerate: to guess or list identifiers one after another instead of knowing them in advance.
  • URL: the address shown in the browser's address bar.
  • IDOR (Insecure Direct Object Reference): a flaw where a site fetches a record using an identifier supplied by the visitor without checking that the visitor may see that record.
  • Route: one of the paths a website offers for reaching a resource.
  • Authorisation: the decision about whether a particular user is allowed to do a particular thing.
  • Object-level authorisation: the check that a given user may access this specific record, not merely that they are logged in.
  • Request: the message a browser sends to a server asking for something.
  • Response: the server's reply to a request.
  • Status code: the three-digit number in a response, such as 200 for success or 404 for not found.
  • JSON: a plain text format programs use to exchange data.
  • Bugcrowd: a platform where companies receive security reports from outside researchers.
  • Bounty: a payment a company makes to a researcher for a valid security report.
  • Severity: the rating of how serious a flaw is, here medium.
  • False positive: a finding that looks like a bug but is not, for example because the data was already public.

More from Indeed

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.