Hardcoded_password_in_Connection_String issue exists @ ShoppingCart_jsp.java in branch master
The application contains hardcoded connection details, """", at line 31 of ShoppingCart_jsp.java. This connection string contains a hardcoded password, which is used in cn at line 112 of ShoppingCart_jsp.java to connect to a database server with getConnection. This can expose the database password, and impede proper password management.
Hardcoded_password_in_Connection_String issue exists @ ShoppingCart_jsp.java in branch master
The application contains hardcoded connection details, """", at line 31 of ShoppingCart_jsp.java. This connection string contains a hardcoded password, which is used in cn at line 112 of ShoppingCart_jsp.java to connect to a database server with getConnection. This can expose the database password, and impede proper password management.
Severity: Medium
CWE:547
Checkmarx
Training Recommended Fix
Lines: 31
Code (Line #31):