Standardlikelihood: Highseverity: HighDraft
CAPEC-48Passing Local Filenames to Functions That Expect a URL
Abstraction
Standard
Status
Draft
Likelihood
High
Severity
High
Description
This attack relies on client side code to access local files and resources instead of URLs. When the client browser is expecting a URL string, but instead receives a request for a local file, that execution is likely to occur in the browser process space with the browser's authority to local files. The attacker can send the results of this request to the local files out to a site that they control. This attack may be used to steal sensitive authentication data (either local or remote), or to gain system profile information to launch further attacks.
Related weaknesses· 2
Related attack patterns· 1
Exploits2
| Type | Target | Confidence | Tier |
|---|---|---|---|
| Weakness | Use of Incorrectly-Resolved Name or Referencecwe-706 | 100% | live |
| Weakness | Improper Handling of Unexpected Data Typecwe-241 | 100% | live |
Related by meaning· 6
Nearest entities by semantic similarity across the cs-graph corpus.