CWE-644Improper Neutralization of HTTP Headers for Scripting Syntax

PUBLISHEDweakness recordHigh
released 2008-01-30 · last modified 2025-12-11

Metadata

CWE ID:
CWE-644
摘要:
Variant
结构:
Simple
状态:
Incomplete
发布日期:
2008-01-30
更新日期:
2025-12-11

名称

Improper Neutralization of HTTP Headers for Scripting Syntax

描述

The product does not neutralize or incorrectly neutralizes web scripting syntax in HTTP headers that can be used by web browser components that can process raw headers, such as Flash.

An attacker may be able to conduct cross-site scripting and other attacks against users who have these components enabled. If a product does not neutralize user controlled data being placed in the header of an HTTP response coming from the server, the header may contain a script that will get executed in the client's browser context, potentially resulting in a cross site scripting vulnerability or possibly an HTTP response splitting attack. It is important to carefully control data that is being placed both in HTTP response header and in the HTTP response body to ensure that no scripting syntax is present, taking various encodings into account.

常见后果

范围:
Integrity, Confidentiality, Availability
影响:
Execute Unauthorized Code or Commands
注释:
Run arbitrary code.
范围:
Confidentiality
影响:
Read Application Data
注释:
Attackers may be able to obtain sensitive information.

相关 CWE