GithubHelp home page GithubHelp logo

30579096 / cve-2022-22947-spring-cloud-gateway-spelrce Goto Github PK

View Code? Open in Web Editor NEW

This project forked from m0ge/cve-2022-22947-spring-cloud-gateway-spelrce

0.0 0.0 0.0 16 KB

Spring Cloud Gateway远程代码执行漏洞POC,基于命令执行的基础上,增加了反弹shell操作

Python 100.00%

cve-2022-22947-spring-cloud-gateway-spelrce's Introduction

CVE-2022-22947-Spring-Cloud-Gateway-SpelRCE

CVE-2022-22947简介

危害等级:高危
POC/EXP情况:已公开
CNVD编号:CNNVD-2022-16402
影响范围:
  Spring Cloud GateWay 3.1.0
  Spring Cloud GateWay >=3.0.0,<=3.0.6
  Spring Cloud GateWay <3.0.0

漏洞描述

Spring Cloud Gateway存在远程代码执行漏洞,该漏洞是发生在Spring Cloud Gateway应用程序的Actuator端点,其在启用、公开和不安全的情况下容易受到代码注入的攻击。攻击者可利用该漏洞通过恶意创建允许在远程主机上执行任意远程请求。

CVE-2022-22947.py

为了方便,写了一个脚本,方便执行和反弹shell

执行正常命令

python3 CVE-2022-22947.py http://localhost:9000

image

image

反弹shell

1、首先nc开启监听

nc -lvvp 5000

image

2、输入shell,跳转到反弹shell操作 image

3、输入反弹shell命令即可获取shell image

cve-2022-22947-spring-cloud-gateway-spelrce's People

Contributors

m0ge avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.