# 请个为大牛指导下这个后台能用万能密码登录吗？？

**URL:** <https://forum.90sec.com/t/topic/2954>\
**Category:** 技术文章\
**Created:** [2011 年11 月 23 日 02:55 UTC](https://forum.90sec.com/t/topic/2954 "2011-11-23T02:55:48Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

作者： ![pp90hou](https://forum.90sec.com/letter_avatar_proxy/v4/letter/p/ac8455/32.png) [@pp90hou](https://forum.90sec.com/u/pp90hou)\
发布日期： [2011 年11 月 23 日 02:55 UTC](https://forum.90sec.com/t/topic/2954/1 "2011-11-23T02:55:48Z")

</div>

[33333.JPG](https://forum.90sec.com/discuz-migration/attachments/4fc7b7701eb4dca0c1f761e0e2f9187f734a93ed79a494d2c7f0320cff236e9e)

登录源码看了下没有什么特殊的处理

这个后台 我用万能密码'or'='or'登录它返回的是

Microsoft OLE DB Provider for ODBC Drivers 错误 '80040e21'

ODBC 驱动程序不支持所需的属性。

/news/include/userpw.asp，行 12

个人感觉应该能用万能密码登录  
就不知道什么地方出了岔子，希望各位能提供点帮助～

---

<div class="post-metadata">

作者： ![user12](https://forum.90sec.com/user_avatar/forum.90sec.com/user12/32/11336_2.png) [@user12](https://forum.90sec.com/u/user12)\
发布日期： [2011 年11 月 23 日 03:05 UTC](https://forum.90sec.com/t/topic/2954/2 "2011-11-23T03:05:41Z")

</div>

asp的万能密码有很多吧，试试其他的

---

<div class="post-metadata">

作者： ![c11](https://forum.90sec.com/letter_avatar_proxy/v4/letter/c/71e660/32.png) [@c11](https://forum.90sec.com/u/c11)\
发布日期： [2011 年11 月 23 日 03:07 UTC](https://forum.90sec.com/t/topic/2954/3 "2011-11-23T03:07:32Z")

</div>

這個試試登錄框注入、、、

---

<div class="post-metadata">

作者： ![pp90hou](https://forum.90sec.com/letter_avatar_proxy/v4/letter/p/ac8455/32.png) [@pp90hou](https://forum.90sec.com/u/pp90hou)\
发布日期： [2011 年11 月 23 日 06:11 UTC](https://forum.90sec.com/t/topic/2954/4 "2011-11-23T06:11:14Z")

</div>

PM？？什么意思哦～

---

<div class="post-metadata">

作者： ![koohik](https://forum.90sec.com/letter_avatar_proxy/v4/letter/k/9de053/32.png) [@koohik](https://forum.90sec.com/u/koohik)\
发布日期： [2011 年11 月 23 日 06:35 UTC](https://forum.90sec.com/t/topic/2954/5 "2011-11-23T06:35:06Z")

</div>

同意三楼。。。{:4\_67:}

---

<div class="post-metadata">

作者： ![pp90hou](https://forum.90sec.com/letter_avatar_proxy/v4/letter/p/ac8455/32.png) [@pp90hou](https://forum.90sec.com/u/pp90hou)\
发布日期： [2011 年11 月 23 日 06:45 UTC](https://forum.90sec.com/t/topic/2954/6 "2011-11-23T06:45:16Z")

</div>

刚才在试了下 在 用户名处 输入‘ ，密码不写，返回  
Microsoft OLE DB Provider for ODBC Drivers 错误 '80040e21'

ODBC 驱动程序不支持所需的属性。

/news/include/userpw.asp，行 12

但是在密码处写入’ 返回用户名密码错如～～

能不能猜出 select语句是怎么写的？？

对了3楼同学说 登錄框注入 试了下 不太行～

---

<div class="post-metadata">

作者： ![lovehkba](https://forum.90sec.com/user_avatar/forum.90sec.com/lovehkba/32/11343_2.png) [@lovehkba](https://forum.90sec.com/u/lovehkba)\
发布日期： [2011 年11 月 23 日 07:41 UTC](https://forum.90sec.com/t/topic/2954/7 "2011-11-23T07:41:38Z")

</div>

\*\*回复 [5#](http://www.90sec.org/redirect.php?goto=findpost&pid=6485&ptid=841) _pp90hou_ \*\*

```
PM是发站内信，把地址发给他，他帮忙看看

```

---

<div class="post-metadata">

作者： ![desperado](https://forum.90sec.com/letter_avatar_proxy/v4/letter/d/3ab097/32.png) [@desperado](https://forum.90sec.com/u/desperado)\
发布日期： [2011 年11 月 23 日 09:18 UTC](https://forum.90sec.com/t/topic/2954/8 "2011-11-23T09:18:40Z")

</div>

用穿山甲试试登陆框注入 ,,,,,

---

<div class="post-metadata">

作者： ![pp90hou](https://forum.90sec.com/letter_avatar_proxy/v4/letter/p/ac8455/32.png) [@pp90hou](https://forum.90sec.com/u/pp90hou)\
发布日期： [2011 年11 月 23 日 09:44 UTC](https://forum.90sec.com/t/topic/2954/9 "2011-11-23T09:44:07Z")

</div>

穿山甲的登录框注入试了不行～～～所以估计登录框注入行不通哦～

---

<div class="post-metadata">

作者： ![cfking](https://forum.90sec.com/letter_avatar_proxy/v4/letter/c/3da27b/32.png) [@cfking](https://forum.90sec.com/u/cfking)\
发布日期： [2011 年11 月 23 日 11:10 UTC](https://forum.90sec.com/t/topic/2954/10 "2011-11-23T11:10:20Z")

</div>

\*\*回复 [10#](http://www.90sec.org/redirect.php?goto=findpost&pid=6517&ptid=841) _pp90hou_ \*\*

```
引用某牛一句话：“登录框有注射，就必须搞下！”

```

---

<div class="post-metadata">

作者： ![pp90hou](https://forum.90sec.com/letter_avatar_proxy/v4/letter/p/ac8455/32.png) [@pp90hou](https://forum.90sec.com/u/pp90hou)\
发布日期： [2011 年11 月 23 日 11:36 UTC](https://forum.90sec.com/t/topic/2954/11 "2011-11-23T11:36:51Z")

</div>

{:4\_19:}牛人来帮忙啊～

---

<div class="post-metadata">

作者： ![Agile](https://forum.90sec.com/user_avatar/forum.90sec.com/agile/32/11326_2.png) [@Agile](https://forum.90sec.com/u/Agile)\
发布日期： [2011 年11 月 23 日 12:44 UTC](https://forum.90sec.com/t/topic/2954/12 "2011-11-23T12:44:27Z")

</div>

\*\*回复 [10#](http://www.90sec.org/redirect.php?goto=findpost&pid=6517&ptid=841) _pp90hou_ \*\*

```
后台地址PM我 我试试后台注入

```

---

<div class="post-metadata">

作者： ![pp90hou](https://forum.90sec.com/letter_avatar_proxy/v4/letter/p/ac8455/32.png) [@pp90hou](https://forum.90sec.com/u/pp90hou)\
发布日期： [2011 年11 月 23 日 14:15 UTC](https://forum.90sec.com/t/topic/2954/13 "2011-11-23T14:15:14Z")

</div>

发啦，发啦～很期待各位的结果～

---

<div class="post-metadata">

作者： ![honglousy](https://forum.90sec.com/letter_avatar_proxy/v4/letter/h/b4bc9f/32.png) [@honglousy](https://forum.90sec.com/u/honglousy)\
发布日期： [2011 年11 月 24 日 10:33 UTC](https://forum.90sec.com/t/topic/2954/14 "2011-11-24T10:33:09Z")

</div>

从报错来看应该是可以post注入

---

<div class="post-metadata">

作者： ![user\_deleted](https://forum.90sec.com/letter_avatar_proxy/v4/letter/u/35a633/32.png) [@user\_deleted](https://forum.90sec.com/u/user_deleted)\
发布日期： [2011 年11 月 28 日 12:20 UTC](https://forum.90sec.com/t/topic/2954/15 "2011-11-28T12:20:33Z")

</div>

应该可以post注入 会手工最好

---

<div class="post-metadata">

作者： ![pp90hou](https://forum.90sec.com/letter_avatar_proxy/v4/letter/p/ac8455/32.png) [@pp90hou](https://forum.90sec.com/u/pp90hou)\
发布日期： [2011 年12 月 2 日 11:00 UTC](https://forum.90sec.com/t/topic/2954/16 "2011-12-02T11:00:09Z")

</div>

嘿嘿搞定啦～  
不过进入看他的login.asp发现他的登录是有点问题，一般我们都是用conn.exec 来执行sql命令的，但是我看它的写法是  
sql=“select \* from admin where id='''&username&''' and paw='"&password&"'”  
rs.open sql conn 1,1

如果这样写还存在漏洞吗？？反正万能密码是出错的～

---

<div class="post-metadata">

作者： ![miaoshen](https://forum.90sec.com/letter_avatar_proxy/v4/letter/m/e99b99/32.png) [@miaoshen](https://forum.90sec.com/u/miaoshen)\
发布日期： [2011 年12 月 5 日 13:51 UTC](https://forum.90sec.com/t/topic/2954/17 "2011-12-05T13:51:27Z")

</div>

用其他的方法 不一定非要进后台
