CWE-918 服务端请求伪造(SSRF)

Server-Side Request Forgery (SSRF)

结构: Simple

Abstraction: Base

状态: Incomplete

被利用可能性: unkown


The web server receives a URL or similar request from an upstream component and retrieves the contents of this URL, but it does not sufficiently ensure that the request is being sent to the expected destination.


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.


  • cwe_Nature: ChildOf cwe_CWE_ID: 441 cwe_View_ID: 1000 cwe_Ordinal: Primary

  • cwe_Nature: ChildOf cwe_CWE_ID: 610 cwe_View_ID: 1003 cwe_Ordinal: Primary

  • cwe_Nature: ChildOf cwe_CWE_ID: 441 cwe_View_ID: 699 cwe_Ordinal: Primary


Language: {'cwe_Class': 'Language-Independent', 'cwe_Prevalence': 'Undetermined'}

Paradigm: {'cwe_Name': 'Web Based', 'cwe_Prevalence': 'Undetermined'}

Technology: {'cwe_Name': 'Web Server', 'cwe_Prevalence': 'Undetermined'}


范围 影响 注释
Confidentiality Read Application Data
Integrity Execute Unauthorized Code or Commands


标识 说明 链接
CVE-2002-1484 Web server allows attackers to request a URL from another server, including other ports, which allows proxied scanning.
CVE-2004-2061 CGI script accepts and retrieves incoming URLs.
CVE-2010-1637 Web-based mail program allows internal network scanning using a modified POP3 port number.
CVE-2009-0037 URL-downloading library automatically follows redirects to file:// and scp:// URLs