CAPEC-133 詳細資料

CAPEC-133

Try All Common Switches
2014-06-23
00h00 +00:00
中危
Draft
2021-10-21
00h00 +00:00
指定 CAPEC 提醒
掌握特定 CAPEC 的任何變更。
管理通知

CAPEC 描述

An attacker attempts to invoke all common switches and options in the target application for the purpose of discovering weaknesses in the target. For example, in some applications, adding a --debug switch causes debugging information to be displayed, which can sometimes reveal sensitive processing or configuration information to an attacker. This attack differs from other forms of API abuse in that the attacker is indiscriminately attempting to invoke options in the hope that one of them will work rather than specifically targeting a known option. Nonetheless, even if the attacker is familiar with the published options of a targeted application this attack method may still be fruitful as it might discover unpublicized functionality.

CAPEC 資訊

執行流程

1) Explore

[Identify application] Discover an application of interest by exploring service registry listings or by connecting on a known port or some similar means.

技術
  • Search via internet for known, published applications that allow option switches.
  • Use automated tools to scan known ports to identify applications that might be accessible
2) Explore

[Authenticate to application] Authenticate to the application, if required, in order to explore it.

技術
  • Use published credentials to access system.
  • Find unpublished credentails to access service.
  • Use other attack pattern or weakness to bypass authentication.
3) Experiment

[Try all common switches] Using manual or automated means, attempt to run the application with many different known common switches. Observe the output to see if any switches seemed to put the application in a non production mode that might give more information.

技術
  • Manually execute the application with switches such as --debug, --test, --development, --verbose, etc.
  • Use automated tools to run the application with common switches and observe the output
4) Exploit

[Use sensitive processing or configuration information] Once extra information is observed from an application through the use of a common switch, this information is used to aid other attacks on the application

技術
  • Using application information, formulate an attack on the application

前置條件

The attacker must be able to control the options or switches sent to the target.

所需資源

None: No specialized resources are required to execute this type of attack. The only requirement is the ability to send requests to the target.

緩解措施

Design: Minimize switch and option functionality to only that necessary for correct function of the command.
Implementation: Remove all debug and testing options from production code.

相關弱點

CWE-ID 弱點名稱

CWE-912

Hidden Functionality
The product contains functionality that is not documented, not part of the specification, and not accessible through an interface or command sequence that is obvious to the product's users or administrators.

提交

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

修改記錄

名稱 機構 日期 備註
CAPEC Content Team The MITRE Corporation 2015-12-07 +00:00 Updated Related_Attack_Patterns
CAPEC Content Team The MITRE Corporation 2017-08-04 +00:00 Updated Resources_Required
CAPEC Content Team The MITRE Corporation 2019-04-04 +00:00 Updated Related_Weaknesses
CAPEC Content Team The MITRE Corporation 2020-07-30 +00:00 Updated Related_Attack_Patterns
CAPEC Content Team The MITRE Corporation 2021-06-24 +00:00 Updated Description
CAPEC Content Team The MITRE Corporation 2021-10-21 +00:00 Updated Execution_Flow