Cloud Defense Logo

Products

Solutions

Company

Book A Live Demo

CWE-389: Function Return with Uncommon Status Codes Weakness

Weaknesses in CWE 389 arise when a function fails to produce the expected return or status code. Attackers may exploit these uncommon conditions.

Summary

Weaknesses in this particular category arise when a function fails to produce the expected return or status code or when the application fails to handle all potential return or status codes that may be generated by the function. Such issues typically occur in situations that are rarely encountered during the regular operation of the product. It is assumed that most bugs related to common conditions are identified and resolved during the development and testing phases. However, in certain instances, an attacker may have the ability to manipulate the environment in order to purposely trigger these uncommon conditions.

Is your System Free of Underlying Vulnerabilities?
Find Out Now