Skip to content
Info disclosure Disclosed report Beginner

Table and Column Exposure

An error message on the Careers page revealed internal database table names to visitors. The text does not claim any injection flaw existed, only that the leaked names could have helped an attacker if one had.

n00bsec Follow

Originally disclosed on HackerOne

Bounty$150 Low View original
  • Triaged in 17 hours
  • Fixed in 22 hours
  • Paid in 22 hours
  • Disclosed after 13 months

Summary by the program

In this report, the researcher found an error message on our Careers page that exposed database table names. If an injection vulnerability had also existed there, this information could have helped an attacker carry out attacks.

In response, we cleaned up the error message so that it still gives our developers useful information when thrown, but does not expose sensitive data.

The original report as published on HackerOne, by n00bsec. 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 was the Rockstar Games Careers page. The researcher, n00bsec, found that an error message returned by that page exposed database table names. The report was rated low severity under the weakness "Information Exposure Through an Error Message" and paid a bounty of 150.00 USD. It was disclosed on 10 May 2018.

The public write-up is a short summary by the program rather than a step-by-step account from the researcher. It does not include the request that triggered the error, the response body, the table names that were leaked, or the exact page or parameter involved. What it does establish is that an error message on the Careers page exposed internal database table names.

The program's own framing of the risk is conditional. It states that if an injection vulnerability had also existed there, the exposed table names could have helped an attacker carry out attacks. In other words, the leak on its own was treated as information disclosure, and its value was as reconnaissance for a hypothetical second bug.

The fix was to clean up the error message. The program says the message still gives developers useful information when thrown, but no longer exposes sensitive data. That is a targeted change to what the error renders, not a removal of error reporting altogether.

Root cause

The likely cause is that the application surfaced a raw database error to the client. When a query fails, many frameworks and database drivers return a message that includes the failing statement, the schema objects it referenced, or a driver-specific error string naming a table or column. If the application renders that exception text into the HTTP response instead of logging it server-side and returning a generic message, the internal structure of the database becomes visible to anyone who can provoke the error.

The report does not identify which component produced the error or why the Careers page failed. It only points to the outcome: an error message that carried table names.

Impact

The direct impact is disclosure of internal schema information: the names of database tables. The program explicitly hedges the follow-on risk, noting that this information could have helped an attacker only if an injection vulnerability had also existed. Table names are useful for crafting SQL injection payloads, for guessing column names, and for targeting UNION-based extraction, but they do not by themselves give an attacker access to data.

How this kind of bug works

Error-based information disclosure happens when an application's error handling is built for developers rather than for production traffic. During development it is convenient to see the full exception, including stack traces, SQL fragments and driver messages, because that shortens the debugging loop. The mistake is carrying that behaviour into a reachable environment.

Database drivers are particularly talkative. A failed query often produces a message that names the table or column that could not be resolved, or echoes part of the statement. Frameworks may add a stack trace with file paths and library versions. Each of these is a small piece of the internal picture, and together they lower the cost of the next attack.

The defences are straightforward: catch exceptions at the boundary, log the detail server-side, and return a generic message with a correlation identifier to the client. Debug modes must be off in production, and error pages should be tested as part of release checks.

How to test for it

  1. Map the input surface of the application: query string parameters, form fields, path segments, headers that influence behaviour, and any parameter that looks like it reaches a query, a template or a file path.
  2. Send values that are likely to break assumptions: type mismatches where a number is expected, very long strings, characters that are meaningful to the backend (quotes, brackets, comment markers), and malformed structured input such as broken JSON or array syntax where a scalar is expected.
  3. Watch the response body, not just the status code. A 500 with a generic page is fine; a 500 that contains a stack trace, a SQL fragment, a driver name, a table or column name, or a file path is a finding.
  4. Compare behaviour across parameters. If one parameter produces a verbose error and others do not, that endpoint is the interesting one.
  5. Record the exact request and the exact response excerpt that shows the leak. That pair is the evidence a triager needs.

Common false positives: a generic error page that merely says "something went wrong"; framework default pages that reveal only the framework name and version with no application detail; and messages that echo the attacker's own input back without any server-side context. Echoed input is reflection, not disclosure. Also be careful with errors that only appear behind authentication on your own account, unless the report makes clear that any user can reach them.

How it is fixed

The standard fix is to stop rendering exception detail to clients. Concretely: disable debug and verbose error modes in production, install a global exception handler that returns a generic message, and log the full detail server-side where developers can still reach it. Where the application needs to correlate a user-visible error with a log entry, return an opaque identifier instead of the message. Error pages for common status codes should be static and reviewed. The program's description matches this pattern: the message was cleaned up so it remains useful to developers but no longer exposes sensitive data.

Hunting notes

Verbose errors cluster around input that the application does not expect: search and filter parameters, sort and order fields, pagination offsets, ID parameters that are normally numeric, file and path parameters, and any endpoint that looks like it was built quickly, such as careers pages, marketing microsites, status pages and legacy subdomains. Recon signals worth following are old frameworks, staging or preview hosts inside scope, endpoints that return different error shapes for different inputs, and any response that mentions a database driver or ORM by name.

To get a report accepted, show the leak precisely: the request, the response excerpt containing the internal names, and a short explanation of what an attacker gains. Be honest about the limits. If the leak is schema names only and no injection is demonstrated, say so, and frame the impact as reconnaissance rather than direct access. That framing is what separates a low-severity information disclosure that gets paid from one that gets closed as informational.

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. 7 min read.

What happened, in plain words

Rockstar Games runs a Careers page, the part of its website where people look for jobs at the company. HackerOne is a bug bounty platform where companies invite outside researchers to look for security problems and pay for good findings.

A researcher going by the handle n00bsec found that when the Careers page ran into a problem, it showed an error message to whoever was visiting. That message was not a friendly "something went wrong". It contained the names of tables inside the company's database.

A database is where a website keeps its structured information: lists of users, job postings, applications and so on. It is organised into tables, much like a spreadsheet has sheets, and each table has a name. Those names are internal. A visitor should never see them.

The report was rated low severity under the weakness "Information Exposure Through an Error Message" and paid a bounty of 150.00 USD. It was disclosed on 10 May 2018.

The public write-up is a short summary written by the program rather than a step-by-step account from the researcher. It does not include the request that triggered the error, the response body, the table names that leaked, or the exact page or parameter involved. What it does establish is that an error message on the Careers page exposed internal database table names.

Why the program treated it as a real but limited issue

The program's own framing of the risk is conditional. It says that if an injection vulnerability had also existed there, the exposed table names could have helped an attacker carry out attacks. An injection vulnerability is a flaw where an attacker can slip their own instructions into a query the site sends to its database. The leak on its own was treated as information disclosure: a small piece of the internal picture handed out for free. Its value was as reconnaissance, groundwork for a hypothetical second bug.

The fix

The fix was to clean up the error message. The program says the message still gives its developers useful information when thrown, but no longer exposes sensitive data. That is a targeted change to what the error displays, not a removal of error reporting altogether. Developers still need to see errors to fix them; visitors do not need to see the internals.

In general, how this kind of bug works

Error-based information disclosure happens when an application's error handling is built for developers rather than for production traffic. During development it is convenient to see the full exception, the technical description of what broke, including stack traces (the list of function calls that led to the failure), SQL fragments and driver messages, because that shortens the debugging loop. The mistake is carrying that behaviour into a live site that anyone can reach.

Database drivers, the software that lets an application talk to its database, are particularly talkative. A failed query often produces a message that names the table or column that could not be resolved, or echoes part of the statement. Frameworks may add a stack trace with file paths and library versions. Each of these is a small piece of the internal picture, and together they lower the cost of the next attack.

The defences are straightforward: catch exceptions at the boundary, log the detail server-side, and return a generic message with a correlation identifier to the client. Debug modes must be off in production, and error pages should be tested as part of release checks.

How to test for it

  1. Map the input surface of the application: query string parameters (the ?name=value parts of a URL), form fields, path segments, headers that influence behaviour, and any parameter that looks like it reaches a query, a template or a file path.
  2. Send values that are likely to break assumptions: type mismatches where a number is expected, very long strings, characters that are meaningful to the backend (quotes, brackets, comment markers), and malformed structured input such as broken JSON or array syntax where a scalar is expected.
  3. Watch the response body, not just the status code. A 500 with a generic page is fine; a 500 that contains a stack trace, a SQL fragment, a driver name, a table or column name, or a file path is a finding.
  4. Compare behaviour across parameters. If one parameter produces a verbose error and others do not, that endpoint is the interesting one.
  5. Record the exact request and the exact response excerpt that shows the leak. That pair is the evidence a triager needs.

Common false positives: a generic error page that merely says "something went wrong"; framework default pages that reveal only the framework name and version with no application detail; and messages that echo the attacker's own input back without any server-side context. Echoed input is reflection, not disclosure. Also be careful with errors that only appear behind authentication on your own account, unless the report makes clear that any user can reach them.

How it is fixed

The standard fix is to stop rendering exception detail to clients. Concretely: disable debug and verbose error modes in production, install a global exception handler that returns a generic message, and log the full detail server-side where developers can still reach it. Where the application needs to correlate a user-visible error with a log entry, return an opaque identifier instead of the message. Error pages for common status codes should be static and reviewed. The program's description matches this pattern: the message was cleaned up so it remains useful to developers but no longer exposes sensitive data.

Hunting notes

Verbose errors cluster around input that the application does not expect: search and filter parameters, sort and order fields, pagination offsets, ID parameters that are normally numeric, file and path parameters, and any endpoint that looks like it was built quickly, such as careers pages, marketing microsites, status pages and legacy subdomains. Recon signals worth following are old frameworks, staging or preview hosts inside scope, endpoints that return different error shapes for different inputs, and any response that mentions a database driver or ORM by name.

To get a report accepted, show the leak precisely: the request, the response excerpt containing the internal names, and a short explanation of what an attacker gains. Be honest about the limits. If the leak is schema names only and no injection is demonstrated, say so, and frame the impact as reconnaissance rather than direct access. That framing is what separates a low-severity information disclosure that gets paid from one that gets closed as informational.

Glossary

  • Bug bounty: a programme where a company pays outside researchers for reporting security problems.
  • Scope: the list of systems and domains a programme allows researchers to test.
  • HackerOne: a platform that hosts bug bounty programmes and their reports.
  • Database: organised storage for a website's structured information.
  • Table: a named list inside a database, similar to a sheet in a spreadsheet.
  • Schema: the structure of a database, including its table and column names.
  • Information disclosure: a flaw that reveals internal information to someone who should not see it.
  • Error message: text an application shows when something goes wrong.
  • Exception: the technical description of an error raised by software.
  • Stack trace: the list of function calls that led to an error.
  • SQL: the language applications use to query databases.
  • SQL injection: a flaw where an attacker slips their own SQL into a query the site sends to its database.
  • UNION-based extraction: a SQL injection technique that appends a second query to pull data out.
  • Reconnaissance: gathering information about a target before an attack.
  • Request: the message a browser sends to a server asking for a page or data.
  • Response: the message a server sends back, including the status code and body.
  • Status code: a number such as 200 or 500 that says how the request went; 500 means the server hit an error.
  • Parameter: a named value passed in a URL or form, such as ?id=5.
  • Header: extra information sent with a request or response.
  • Endpoint: a specific address on a server that handles a particular kind of request.
  • Driver: software that lets an application talk to a database.
  • Framework: a library that provides structure and default behaviour for building web applications.
  • ORM: a tool that maps database tables to code objects and generates queries.
  • Debug mode: a setting that shows detailed error information, meant for development only.
  • Production: the live environment that real users reach.
  • False positive: a finding that looks like a problem but is not.
  • Reflection: when a site echoes back input the user supplied, without adding server-side information.
  • Triager: the person who reviews a submitted report and decides whether it is valid.
  • Severity: the rating of how serious a finding is, here low.
  • Bounty: the money paid for a valid report, here 150.00 USD.
  • Disclosure: the date a report is made public.

More by n00bsec

View all

3 more disclosed reports, best first.

More from Rockstar Games

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Information disclosure

The lesson behind this report.

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.