Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sql injection #9

Open
QiAnXinCodeSafe opened this issue Jul 17, 2019 · 0 comments
Open

Sql injection #9

QiAnXinCodeSafe opened this issue Jul 17, 2019 · 0 comments

Comments

@QiAnXinCodeSafe
Copy link

QiAnXinCodeSafe commented Jul 17, 2019

The suggestGet method in the ProvisioningAction.java accepts the parameters in the request and puts them into "userDataMap".
图片
Finally, participated in the database interaction in the executeQuery() method in H2DataSource.java.
图片
An attacker can perform a SQL injection attack by constructing malicious parameters -- "lastanme" and "firstname".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant