Home / Vulnerability Database / C or C++ : Hardcoded encryption key
C/C++
C or C++ : Hardcoded encryption key
Classification
OWASP Top 10 2013
OWASP Top 10 2017
OWASP Top 10 2021
OWASP MASVS
HIPAA
CWE/SANS Top 25 2011
Overview
Encryption key is hardcoded. This may lead to an application data compromise.
Eliminating security risks related to hardcoded keys is extremely difficult. This data is available at least to every developer of the application. Moreover, after the application is installed, removing key from its code is possible only via an update. Constant strings are easily extracted from the compiled application by decompilers. Therefore, an attacker does not necessarily need to have an access to the source code to find out the value of the key.
References
MEDIUM
DerScanner Severity Score
Do you want to fix C or C++ : Hardcoded encryption key in your application?
See also
C/C++
C or C++ : Dead store
C/C++
C or C++ : Use after free
C/C++
