google / account-provisioning-for-google-apps

Apache License 2.0
50 stars 21 forks source link

Sql injection #9

Open QiAnXinCodeSafe opened 5 years ago

QiAnXinCodeSafe commented 5 years ago

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".