WebAPI/Security/BrowserAPI

From MozillaWiki
< WebAPI‎ | Security
Revision as of 23:41, 6 August 2012 by Ladamski (talk | contribs)
Jump to navigation Jump to search

Name of API: Browser API

References:

Brief purpose of API: Provide an iframe that acts as a web browser

General Use Cases: A browser app.

Inherent threats:

  • browser can see all data from all websites, and perform all actions
  • can steal passwords (user-entered; enumerate all saved passwords)
  • can steal cookies (by enumerating websites)
  • NOT a use case: OAuth or other app-content or content-content interactions

Threat severity: high per https://wiki.mozilla.org/Security_Severity_Ratings

Regular web content (unauthenticated)

Use cases for unauthenticated code: None

Authorization model for normal content: None

Authorization model for installed content:None

Potential mitigations:

Privileged (approved by app store)

Use cases for privileged code: Implement a 3rd party browser application

Authorization model: Implicit

Potential mitigations: Each app has separate cookie and password stores from other apps (including system browser app)

Certified (system-critical apps)

Use cases for certified code: Replacement Browser

Authorization model: Implicit

Potential mitigations: N/A