Skip to content

SQL inject detected in login.jsp #7

@p0l42

Description

@p0l42

I detected a sql inject in login.jsp by source code review.
In detail, the code in teacherD/studentD.checkAccount concat the username and password with sql, and cause a sql inject.
image
The vuln can be exploit by payload 1' or '1'='1 and access main.jsp successfully without true password.
image
image

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