Home > CAPEC List > CAPEC-133: Try All Common Switches (Version 2.10)  

CAPEC-133: Try All Common Switches

Try All Common Switches
Definition in a New Window Definition in a New Window
Attack Pattern ID: 133
Abstraction: Standard
Status: Draft
Completeness: Stub
Presentation Filter:
+ Summary

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 blindly 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.

+ Attack Prerequisites
  • The attacker must be able to control the options or switches sent to the target.

+ Typical Severity


+ Resources Required

No special resources are required beyond the ability to send requests to the target.

+ Solutions and Mitigations

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.

+ Content History
CAPEC Content TeamThe MITRE Corporation2014-06-23Internal_CAPEC_Team
CAPEC Content TeamThe MITRE Corporation2015-12-07Updated Related_Attack_PatternsInternal
Previous Entry Names
DatePrevious Entry Name
2015-12-07Try All Common Application Switches and Options
More information is available — Please select a different filter.
Page Last Updated or Reviewed: May 01, 2017