Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2024-36401 PoC — GeoServer 安全漏洞

Source
Associated Vulnerability
Title:GeoServer 安全漏洞 (CVE-2024-36401)
Description:GeoServer是一个用 Java 编写的开源软件服务器。允许用户共享和编辑地理空间数据。 GeoServer 存在安全漏洞,该漏洞源于不安全地将属性名称解析为 XPath 表达式,可能导致远程代码执行。
Readme
# CVE-2024-36401-PoC


This repository contains a Proof of Concept (PoC) script for CVE-2024-36401, a vulnerability that can be exploited to gain remote code execution on the target server.

## Features

- Assign a reverse shell listener using Perl.
- Encode commands using Base64.
- Make requests to the target server to exploit the vulnerability.
- Handle interruptions gracefully with signal handling.

## Prerequisites

- Python 3.x
- `requests` library

## Installation

1. Clone this repository:
    ```sh
    git clone https://github.com/yourusername/CVE-2024-36401-PoC.git
    cd CVE-2024-36401-PoC
    ```

2. Install the required Python library:
    ```sh
    pip install requests
    ```

3. Ensure `type_names.txt` is in the same directory as `rev.py`.

## Usage

```sh
python3 rev.py -u <target_url> -i <listener_ip> -p <listener_port>
File Snapshot

[4.0K] /data/pocs/75d1d2ebc9755723a3a827e4bea9df7289cdf42f ├── [3.4K] exploit.py ├── [ 849] README.md └── [ 410] type_names.txt 0 directories, 3 files
Shenlong Bot has cached this for you
Remarks
    1. It is advised to access via the original source first.
    2. If the original source is unavailable, please email f.jinxu#gmail.com for a local snapshot (replace # with @).
    3. Shenlong has snapshotted the POC code for you. To support long-term maintenance, please consider donating. Thank you for your support.