Dark Mode

Settings

Capec-137 Detail

Parameter Injection

Meta Social Engineering Software Likelihood: Medium Typical Severity: Medium

Children: 6 15 134 135 138 182

Threats: T290

Description

An adversary manipulates the content of request parameters for the purpose of undermining the security of the target. Some parameter encodings use text characters as separators. For example, parameters in a HTTP GET message are encoded as name-value pairs separated by an ampersand (&). If an attacker can supply text strings that are used to fill in these parameters, then they can inject special characters used in the encoding scheme to add or modify parameters. For example, if user input is fed directly into an HTTP GET request and the user provides the value "myInput&new;_param=myValue", then the input parameter is set to myInput, but a new parameter (new_param) is also added with a value of myValue. This can significantly change the meaning of the query that is processed by the server. Any encoding scheme where parameters are identified and separated by text characters is potentially vulnerable to this attack - the HTTP GET encoding used above is just one example.

Not present

External ID Source Link Description
CAPEC-137 capec https://capec.mitre.org/data/definitions/137.html
CWE-88 cwe http://cwe.mitre.org/data/definitions/88.html

Not present

  1. The target application must use a parameter encoding where separators and parameter identifiers are expressed in regular text.
  2. The target application must accept a string as user input, fail to sanitize characters that have a special meaning in the parameter encoding, and insert the user-supplied string in an encoding which is then processed.
  1. None: No specialized resources are required to execute this type of attack. The only requirement is the ability to provide string input to the target.

Not present

Integrity
Modify Data (Successful parameter injection attacks mean a compromise to integrity of the application.)

Not present