The product declares a critical variable, field, or member to be public when intended security policy requires it to be private.
This issue makes it more difficult to maintain the product, which indirectly affects security by making it more difficult or time-consuming to find and/or fix vulnerabilities. It also might make it easier to introduce vulnerabilities.
Impact: Read Application DataModify Application Data
Making a critical variable public allows anyone with access to the object in which the variable is contained to alter or read the value.
Impact: Reduce Maintainability
c++c++c++
// if the username and password in the input parameters are equal to*
c++
c++c++