CAPEC-201 詳細資料

CAPEC-201

Serialized Data External Linking
2014-06-23
00h00 +00:00
高危
高危
Draft
2022-09-29
00h00 +00:00
指定 CAPEC 提醒
掌握特定 CAPEC 的任何變更。
管理通知

CAPEC 描述

An adversary creates a serialized data file (e.g. XML, YAML, etc...) that contains an external data reference. Because serialized data parsers may not validate documents with external references, there may be no checks on the nature of the reference in the external data. This can allow an adversary to open arbitrary files or connections, which may further lead to the adversary gaining access to information on the system that they would normally be unable to obtain.

CAPEC 資訊

執行流程

1) Explore

[Survey the target] Using a browser or an automated tool, an adversary records all instances of web services that process requests with serialized data.

技術
  • Use an automated tool to record all instances of URLs that process requests with serialized data.
  • Use a browser to manually explore the website and analyze how the application processes serialized data requests.
2) Exploit

[Craft malicious payload] The adversary crafts malicious data message that contains references to sensitive files.

3) Exploit

[Launch an External Linking attack] Send the malicious crafted message containing the reference to a sensitive file to the target URL.

前置條件

The target must follow external data references without validating the validity of the reference target.

所需技能

To send serialized data messages with maliciously crafted schema.

所需資源

None: No specialized resources are required to execute this type of attack.

緩解措施

Configure the serialized data processor to only retrieve external entities from trusted sources.

相關弱點

CWE-ID 弱點名稱

CWE-829

Inclusion of Functionality from Untrusted Control Sphere
The product imports, requires, or includes executable functionality (such as a library) from a source that is outside of the intended control sphere.

參考資料

REF-73

XXE (Xml eXternal Entity) Attack
http://www.securiteam.com/securitynews/6D0100A5PU.html

REF-74

CESA-2007-002 - rev 2: Sun JDK6 breaks XXE attack protection
http://scary.beasts.org/security/CESA-2007-002.html

提交

名稱 機構 日期 發布日期
CAPEC Content Team The MITRE Corporation 2014-06-23 +00:00

修改記錄

名稱 機構 日期 備註
CAPEC Content Team The MITRE Corporation 2017-08-04 +00:00 Updated Activation_Zone, Attack_Phases, Attacker_Skills_or_Knowledge_Required, Description, Description Summary, Examples-Instances, Injection_Vector, Methods_of_Attack, Payload, Payload_Activation_Impact, Resources_Required, Typical_Likelihood_of_Exploit, Typical_Severity
CAPEC Content Team The MITRE Corporation 2018-07-31 +00:00 Updated Attack_Phases, Description Summary, Related_Attack_Patterns, Related_Weaknesses
CAPEC Content Team The MITRE Corporation 2020-07-30 +00:00 Updated @Name, Description, Execution_Flow, Mitigations, Skills_Required
CAPEC Content Team The MITRE Corporation 2020-12-17 +00:00 Updated Consequences, Description
CAPEC Content Team The MITRE Corporation 2021-10-21 +00:00 Updated Description, Example_Instances, Execution_Flow, Prerequisites
CAPEC Content Team The MITRE Corporation 2022-09-29 +00:00 Updated Example_Instances, Related_Attack_Patterns