Skip to content

SQL Inject Found in one_page_student #10

@p0l42

Description

@p0l42

I found a sql inject in one_page_student.findWithId/findWithName.
Set a breakpoint as follows:
image
When I use payload one_page_student?key=1' or '1'='1,it hits the breakpoint.
image
image
After executing String sql=...sql becomes
image
After executing sql query, al is filled with information
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