Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
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.

FeedsContactPrivacy© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
CVE-2025-32432-PoC — A simple PoC on the Remote Code Execution (RCE) Vulnerability of CraftCMS designated as CVE-2025-32432 written in Go | Kitploit
Tools/GitHubGitHub/ezramansor/cve-2025-32432-poc
Payload GenerationExploitationWeb Application ExploitationRed TeamingRemote Access ToolAdversarial Attack
GitHubezramansor/cve-2025-32432-poc

CVE-2025-32432-PoC

A simple PoC on the Remote Code Execution (RCE) Vulnerability of CraftCMS designated as CVE-2025-32432 written in Go

View Repository
292 months agoNot yet reviewed

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

CVE-2025-32432: Log-Poisoning to RCE Exploit Tool

Description

This repository contains a professional proof-of-concept (PoC) exploit written in Go, designed to demonstrate a critical vulnerability chain in Craft CMS. The exploit leverages a log-poisoning vulnerability that leads to Local File Inclusion (LFI), ultimately achieving Remote Code Execution (RCE) via a reverse shell.

Technical Breakdown

The exploit follows a multi-stage execution chain:

1. Log Poisoning

The tool begins by sending an unauthenticated GET request to the target. By manipulating the a parameter and providing a custom CraftSessionId via cookies, the attacker can force the application to write a PHP payload into the session log file located at /var/lib/php/sessions/sess_[sessionId].

2. CSRF Bypass & Session Handling

To interact with the generate-transform endpoint, the tool automatically extracts the necessary X-CSRF-Token and CRAFT_CSRF_TOKEN cookies from the administrative interface, ensuring the subsequent POST request is accepted by the server.

3. LFI to RCE

The tool exploits the generate-transform endpoint by passing a specially crafted JSON payload. By abusing the \yii\rbac\PhpManager class through a behavior injection, the tool triggers a Local File Inclusion (LFI) of the previously poisoned session log. Once the PHP code in the log is executed, the tool invokes a Python-based reverse shell.

4. Integrated Listener

Unlike traditional scripts, this tool implements a concurrent TCP listener using Go routines. This allows the tool to automatically catch the reverse shell connection on a specified port, providing a seamless "one-click" experience from exploit delivery to shell access.

Usage

go run main.go

Follow the on-screen prompts to provide the target URL, your listener port, and your IP address.

Disclaimer

This tool is for educational and authorized testing purposes only.

References

  • SensePost: Investigating an In-The-Wild Campaign Using RCE in CraftCMS — Primary research and methodology.
  • GitHub Advisory: GHSA-f3gw-9ww9-jmc3 — Official vulnerability disclosure.
Download Tool