Skip to content

CX SSRF @ src/main/java/org/cysecurity/cspf/jvl/controller/Install.java [refs/heads/master] #203

Description

@github-actions

SSRF issue exists @ src/main/java/org/cysecurity/cspf/jvl/controller/Install.java in branch refs/heads/master

The application sends a request to a remote server, for some resource, using dburl in src\main\java\org\cysecurity\cspf\jvl\controller\Install.java:112. However, an attacker can control the target of the request, by sending a URL or other data in ""dburl"" at src\main\java\org\cysecurity\cspf\jvl\controller\Install.java:54.

Severity: Medium

CWE:918

Vulnerability details and guidance

Checkmarx

Training
Recommended Fix

Lines: 54 56 57 58


Code (Line #54):

        dburl = request.getParameter("dburl");

Code (Line #56):

        dbuser = request.getParameter("dbuser");

Code (Line #57):

        dbpass = request.getParameter("dbpass");

Code (Line #58):

        dbname = request.getParameter("dbname");

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions