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-2025-26244 — The graph functionality of DeimosC2 v1.1.0-Beta is vulnerable to Stored Cross-Site Scripting (XSS), allowing the theft of session cookie and unauthorized access to the C2 server. | Kitploit
Tools/GitHubGitHub/jarm222/cve-2025-26244
ExploitationReverse EngineeringWeb Application ExploitationPenetration TestingCommand and ControlRed TeamingPayload Development
GitHubjarm222/cve-2025-26244

CVE-2025-26244

The graph functionality of DeimosC2 v1.1.0-Beta is vulnerable to Stored Cross-Site Scripting (XSS), allowing the theft of session cookie and unauthorized access to the C2 server.

View Repository
21 year 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-26244-POC

The code to exploit this vulnerability can be seen in 'spoof.go'. This imitates as an agent to the C2 server. In order to run this vulnerability we need to know:

  1. The listener IP address and Port
  2. The public key of the listener.
  3. The first time check in URL of the listener.

We could obtain this information by reverse engineering a binary previously generated by the operator.

Currently, 'spoof.go' only works when both the listener and agent use the HTTPS protocol, however, if adapted this will likely work with the other protocols DeimosC2 supports.

To Exploit

  1. You will need access to a HTTPS binary previously generated by the operator.

  2. Extract the IP address, port, the public key and first time check in URL of the listener from the binary. Trend Micro provide scripts to aid in this.

  3. Place the IP address, port, the public key and first time check in URL of the listener into the script.

  4. Install the DeimosC2 Crypto Library

root@kitploit:~
go install github.com/DeimosC2/DeimosC2/lib/crypto@latest
  1. Run the script.
root@kitploit:~
go run Spoof.go
  1. A new agent will be registered and as soon as the operator loads the graph view the XSS will trigger and you will have their cookie!

If you only have access to a binary with one of the other protocols, spoof.go will need to be adapted to support the other protocols.

Writeup

A full writeup on how I discovered this vulnerability can be seen on my blog here.

Video PoC

https://github.com/user-attachments/assets/b6e475b2-600d-40ce-bdfa-5bfe9ff3d682

Download Tool