Skip to content

CX Reliance_on_Cookies_in_a_Decision @ src/main/webapp/login.jsp [master] #847

@nidhi0512

Description

@nidhi0512

Reliance_on_Cookies_in_a_Decision issue exists @ src/main/webapp/login.jsp in branch master

*The cookie getCookies obtained by request.getCookies at src\main\webapp\login.jsp in line 7 uses its value in making a decision in if at src\main\webapp\login.jsp in line 13, without properly validating its contents.
Similarity ID: -40651904

The cookie getCookies obtained by request.getCookies at src\main\webapp\login.jsp in line 7 uses its value in making a decision in if at src\main\webapp\login.jsp in line 10, without properly validating its contents.
Similarity ID: 1101548256*

Severity: Low

CWE:784

Vulnerability details and guidance

Checkmarx

Training
Recommended Fix

Lines: 7


Code (Line #7):

Cookie[] cookies = request.getCookies();

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