Skip to content

CX Hardcoded_password_in_Connection_String @ root/product.jsp [master] #49

@CxYair

Description

@CxYair

Hardcoded_password_in_Connection_String issue exists @ root/product.jsp in branch master

The application contains hardcoded connection details, """", at line 10 of root\product.jsp. This connection string contains a hardcoded password, which is used in 1; at line 10 of root\product.jsp 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: 10


Code (Line #10):

            val = 1;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions