Skip to content

CWE-425: Direct Request ('Forced Browsing')

Base

The web application does not adequately enforce appropriate authorization on all restricted URLs, scripts, or files.

Consequences

  • Confidentiality, Integrity, Availability, Access Control: Read Application Data, Modify Application Data, Execute Unauthorized Code or Commands, Gain Privileges or Assume Identity

How to prevent it

  • Architecture and Design, Operation: Apply appropriate access control authorizations for each access to all restricted URLs, scripts or files.
  • Architecture and Design: Consider using MVC based frameworks such as Struts.

Recent advisories

All advisories for CWE-425

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