Skip to content

CX CSRF @ src/main/webapp/changeCardDetails.jsp [refs/heads/master] #197

@github-actions

Description

@github-actions

CSRF issue exists @ src/main/webapp/changeCardDetails.jsp in branch refs/heads/master

Method cardno=request.getParameter at line 37 of src\main\webapp\changeCardDetails.jsp gets a parameter from a user request from ""cardno"". This parameter value flows through the code and is eventually used to access application state altering functionality. This may enable Cross-Site Request Forgery (CSRF).

Severity: Medium

CWE:352

Vulnerability details and guidance

Checkmarx

Training
Recommended Fix

Lines: 37 38 39


Code (Line #37):

        String cardno=request.getParameter("cardno");

Code (Line #38):

        String cvv=request.getParameter("cvv");

Code (Line #39):

        String expirydate=request.getParameter("expirydate");

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions