Home > CAPEC List > CAPEC-128: Integer Attacks (Version 2.9)  

CAPEC-128: Integer Attacks

 
Integer Attacks
Definition in a New Window Definition in a New Window
Attack Pattern ID: 128
Abstraction: Standard
Status: Draft
Completeness: Stub
Presentation Filter:
+ Summary

An attacker takes advantage of the structure of integer variables to cause these variables to assume values that are not expected by an application. For example, adding one to the largest positive integer in a signed integer variable results in a negative number. Negative numbers may be illegal in an application and the application may prevent an attacker from providing them directly, but the application may not consider that adding two positive numbers can create a negative number do to the structure of integer storage formats.

+ Attack Prerequisites
  • The target application must have an integer variable for which only some of the possible integer values are expected by the application and where there are no checks on the value of the variable before use.

  • The attacker must be able to manipulate the targeted integer variable such that normal operations result in non-standard values due to the storage structure of integers.

+ Typical Severity

Medium

+ Resources Required

No special resources are required.

+ Content History
Submissions
SubmitterOrganizationDateSource
CAPEC Content TeamThe MITRE Corporation2014-06-23Internal_CAPEC_Team
Modifications
ModifierOrganizationDateCommentsSource
CAPEC Content TeamThe MITRE Corporation2017-01-09Updated Related_Attack_PatternsInternal

More information is available — Please select a different filter.
Page Last Updated or Reviewed: December 07, 2015