| Impact | Details |
|---|---|
|
Read Application Data |
Scope: Confidentiality |
|
Execute Unauthorized Code or Commands |
Scope: Integrity |
|
Bypass Protection Mechanism |
Scope: Access Control
By providing URLs to unexpected hosts or ports, attackers can make it appear that the server is sending the request, possibly bypassing access controls such as firewalls that prevent the attackers from accessing the URLs directly. The server can be used as a proxy to conduct port scanning of hosts in internal networks, use other URLs such as that can access documents on the system (using file://), or use other protocols such as gopher:// or tftp://, which may provide greater control over the contents of requests.
|
| Nature | Type | ID | Name |
|---|---|---|---|
| ChildOf | Class Class - a weakness that is described in a very abstract fashion, typically independent of any specific language or technology. More specific than a Pillar Weakness, but more general than a Base Weakness. Class level weaknesses typically describe issues in terms of 1 or 2 of the following dimensions: behavior, property, and resource. | 441 | Unintended Proxy or Intermediary ('Confused Deputy') |
| Nature | Type | ID | Name |
|---|---|---|---|
| MemberOf | Category Category - a CWE entry that contains a set of other entries that share a common characteristic. | 417 | Communication Channel Errors |
| Nature | Type | ID | Name |
|---|---|---|---|
| ChildOf | Class Class - a weakness that is described in a very abstract fashion, typically independent of any specific language or technology. More specific than a Pillar Weakness, but more general than a Base Weakness. Class level weaknesses typically describe issues in terms of 1 or 2 of the following dimensions: behavior, property, and resource. | 610 | Externally Controlled Reference to a Resource in Another Sphere |
| Phase | Note |
|---|---|
| Architecture and Design | |
| Implementation |
Class: Not Language-Specific (Undetermined Prevalence)
AI/ML (Undetermined Prevalence)
Web Server (Undetermined Prevalence)
Note: this is a curated list of examples for users to understand the variety of ways in which this weakness can be introduced. It is not a complete list of all CVEs that are related to this CWE entry.
| Reference | Description |
|---|---|
|
SSRF in LLM application development framework because the URL retriever allows connections to local addresses using a crafted Location header
|
|
|
Server Side Request Forgery (SSRF) in mail server, as exploited in the wild per CISA KEV.
|
|
|
Server Side Request Forgery in cloud platform, as exploited in the wild per CISA KEV.
|
|
|
Web server allows attackers to request a URL from another server, including other ports, which allows proxied scanning.
|
|
|
CGI script accepts and retrieves incoming URLs.
|
|
|
Web-based mail program allows internal network scanning using a modified POP3 port number.
|
|
|
URL-downloading library automatically follows redirects to file:// and scp:// URLs
|
| Method | Details |
|---|---|
|
Automated Static Analysis |
Automated static analysis, commonly referred to as Static Application Security Testing (SAST), can find some instances of this weakness by analyzing source code (or binary/compiled code) without having to execute it. Typically, this is done by building a model of data flow and control flow, then searching for potentially-vulnerable patterns that connect "sources" (origins of input) with "sinks" (destinations where the data interacts with external components, a lower layer such as the OS, etc.)
Effectiveness: High |
| Nature | Type | ID | Name |
|---|---|---|---|
| MemberOf | ViewView - a subset of CWE entries that provides a way of examining CWE content. The two main view structures are Slices (flat lists) and Graphs (containing relationships between entries). | 1337 | Weaknesses in the 2021 CWE Top 25 Most Dangerous Software Weaknesses |
| MemberOf | CategoryCategory - a CWE entry that contains a set of other entries that share a common characteristic. | 1356 | OWASP Top Ten 2021 Category A10:2021 - Server-Side Request Forgery (SSRF) |
| MemberOf | ViewView - a subset of CWE entries that provides a way of examining CWE content. The two main view structures are Slices (flat lists) and Graphs (containing relationships between entries). | 1387 | Weaknesses in the 2022 CWE Top 25 Most Dangerous Software Weaknesses |
| MemberOf | CategoryCategory - a CWE entry that contains a set of other entries that share a common characteristic. | 1396 | Comprehensive Categorization: Access Control |
| MemberOf | ViewView - a subset of CWE entries that provides a way of examining CWE content. The two main view structures are Slices (flat lists) and Graphs (containing relationships between entries). | 1425 | Weaknesses in the 2023 CWE Top 25 Most Dangerous Software Weaknesses |
| MemberOf | ViewView - a subset of CWE entries that provides a way of examining CWE content. The two main view structures are Slices (flat lists) and Graphs (containing relationships between entries). | 1430 | Weaknesses in the 2024 CWE Top 25 Most Dangerous Software Weaknesses |
Rationale
This CWE entry is at the Base level of abstraction, which is a preferred level of abstraction for mapping to the root causes of vulnerabilities.Comments
Carefully read both the name and description to ensure that this mapping is an appropriate fit. Do not try to 'force' a mapping to a lower-level Base/Variant simply to comply with this preferred level of abstraction.Relationship
| CAPEC-ID | Attack Pattern Name |
|---|---|
| CAPEC-664 | Server Side Request Forgery |
| Submissions | ||
|---|---|---|
| Submission Date | Submitter | Organization |
|
2013年02月17日
(CWE 2.4, 2013年02月21日) |
CWE Content Team | MITRE |
| Contributions | ||
| Contribution Date | Contributor | Organization |
|
2024年02月29日
(CWE 4.16, 2024年11月19日) |
Abhi Balakrishnan | |
| Provided diagram to improve CWE usability | ||
| Modifications | ||
| Modification Date | Modifier | Organization |
|
2025年09月09日
(CWE 4.18, 2025年09月09日) |
CWE Content Team | MITRE |
| updated Applicable_Platforms, Observed_Examples, References | ||
|
2024年11月19日
(CWE 4.16, 2024年11月19日) |
CWE Content Team | MITRE |
| updated Alternate_Terms, Common_Consequences, Description, Diagram, Observed_Examples, Relationships | ||
| 2023年06月29日 | CWE Content Team | MITRE |
| updated Mapping_Notes, Relationships | ||
| 2023年04月27日 | CWE Content Team | MITRE |
| updated Detection_Factors, References, Relationships | ||
| 2022年10月13日 | CWE Content Team | MITRE |
| updated Observed_Examples | ||
| 2022年06月28日 | CWE Content Team | MITRE |
| updated Observed_Examples, Relationships | ||
| 2021年10月28日 | CWE Content Team | MITRE |
| updated Relationships | ||
| 2021年07月20日 | CWE Content Team | MITRE |
| updated References, Related_Attack_Patterns, Relationships | ||
| 2020年02月24日 | CWE Content Team | MITRE |
| updated Applicable_Platforms, Relationships | ||
| 2019年06月20日 | CWE Content Team | MITRE |
| updated Relationships | ||
| 2018年03月27日 | CWE Content Team | MITRE |
| updated References | ||
| 2017年11月08日 | CWE Content Team | MITRE |
| updated Applicable_Platforms, References | ||
| 2017年01月19日 | CWE Content Team | MITRE |
| updated Relationships | ||
| 2015年12月07日 | CWE Content Team | MITRE |
| updated Relationships | ||
Use of the Common Weakness Enumeration (CWE™) and the associated references from this website are subject to the Terms of Use. CWE is sponsored by the U.S. Department of Homeland Security (DHS) Cybersecurity and Infrastructure Security Agency (CISA) and managed by the Homeland Security Systems Engineering and Development Institute (HSSEDI) which is operated by The MITRE Corporation (MITRE). Copyright © 2006–2025, The MITRE Corporation. CWE, CWSS, CWRAF, and the CWE logo are trademarks of The MITRE Corporation.