CWE-97 Web页面中服务端引用(SSI)转义处理不恰当

Improper Neutralization of Server-Side Includes (SSI) Within a Web Page

结构: Simple

Abstraction: Variant

状态: Draft

被利用可能性: unkown

基本描述

The software generates a web page, but does not neutralize or incorrectly neutralizes user-controllable input that could be interpreted as a server-side include (SSI) directive.

相关缺陷

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

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

适用平台

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

常见的影响

范围 影响 注释
['Confidentiality', 'Integrity', 'Availability'] Execute Unauthorized Code or Commands

可能的缓解方案

Implementation

策略:

Utilize an appropriate mix of whitelist and blacklist parsing to filter server-side include syntax from all input.

Notes

分类映射

映射的分类名 ImNode ID Fit Mapped Node Name
PLOVER Server-Side Includes (SSI) Injection
WASC 36 SSI Injection

相关攻击模式

  • CAPEC-101
  • CAPEC-35