Skip to content

CWE-202: Exposure of Sensitive Information Through Data Queries

BaseLikelihood of exploit: Medium

When trying to keep information confidential, an attacker can often infer some of the information by using statistics.

In situations where data should not be tied to individual users, but a large number of users should be able to make queries that "scrub" the identity of users, it may be possible to get information about a user -- e.g., by specifying search terms that are known to be unique to that user.

Consequences

  • Confidentiality: Read Files or Directories, Read Application Data

How to prevent it

  • Architecture and Design: This is a complex topic. See the [REF-1492] for a good discussion of best practices.

Recent advisories

All advisories for CWE-202

Is this in your code?

MergeHarbor checks every repository's dependencies against this database, ranks what matters by exploitability and reachability, routes it to the owning team and opens the fix pull request.

Check your repos with MergeHarbor