SQL注入
SourceCodester人力资源管理系统1.0中的/hrm/country.php存在SQL注入漏洞,允许攻击者通过searccountry参数执行任意SQL命令。
路径 URL: /hrm/country.php
参数: &searccountry=[在此处注入]
此漏洞允许攻击者通过searccountry参数执行任意SQL命令。
当使用错误条件 ' and '1'='2'# 搜索国家时,没有返回结果:

并且,当使用错误条件 ' and '1'='1'# 搜索国家时,所有结果都返回:
