As part of secure programming under SOUND Programming Methodology, we will explore the third security threat, Sensitive Data Exposure. We have already covered:

What is Sensitive Data Exposure?

This occurs when our application doesn’t protect the users' sensitive data. These below items can be classified as Sensitive Data:

Scenario and preventions for Sensitive Data Exposure

Scenario #1 - Transmission over an unsecured channel

Prevention

Scenario #2 - Unsecured Storage

Prevention

Scenario #3 - Weak Encryption and old algorithms

Prevention

Scenario #4 - Saving of unnecessary data

Prevention

Scenario #5 – Insufficient control and improper classification of data

Prevention

With this introduction, I hope you got a very good overview of OWASP Threat #3, Sensitive Data Exposure, and will take care in your code and code review. It may NOT be applicable to all applications but is recommended to consider with Banking and Finance, Healthcare and Insurance related applications.

Originally published at taagung.
Reference
https://www.owasp.org/images/7/72/OWASP_Top_10-2017_%28en%29.pdf.pdf