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-2026-7070-RDP-Clipboard-Hijacking-via-Virtual-Channel-Injection | Kitploit
Tools/GitHubGitHub/george0papasotiriou/cve-2026-7070-rdp-clipboard-hijacking-via-virtual-channel-injection
Vulnerability AnalysisExploitationData ExfiltrationNetwork SecurityPenetration TestingAdversarial Attack
GitHubgeorge0papasotiriou/cve-2026-7070-rdp-clipboard-hijacking-via-virtual-channel-injection

CVE-2026-7070-RDP-Clipboard-Hijacking-via-Virtual-Channel-Injection

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
17 days agoNot yet reviewed

CVE-2026-7070 – RDP Clipboard Hijacking via Virtual Channel Injection

Program Code (Python – simulated RDP clipboard)

root@kitploit:~
# rdp_server_sim.py - Simulated RDP server with trusted virtual channel
from http.server import HTTPServer, BaseHTTPRequestHandler
import json, threading

clipboard = ""
# Simulate an RDP virtual channel that any client can open and write to.
# In real RDP, the CLIPRDR channel is used for clipboard sync.

class RDPHandler(BaseHTTPRequestHandler):
    def do_POST(self):
        global clipboard
        if self.path == '/clipboard':
            data = json.loads(self.rfile.read(int(self.headers['Content-Length'])))
            # Vulnerability: accepts clipboard updates from any channel without auth
            clipboard = data['content']
            self.send_response(200)
            self.end_headers()
            self.wfile.write(b"Clipboard updated")
        else:
            self.send_response(404)
            self.end_headers()

    def do_GET(self):
        if self.path == '/clipboard':
            self.send_response(200)
            self.end_headers()
            self.wfile.write(clipboard.encode())
        else:
            self.send_response(404)
            self.end_headers()

server = HTTPServer(('0.0.0.0', 3389), RDPHandler)  # using HTTP for simulation
print("RDP clipboard simulator on :3389")
server.serve_forever()

CVE-2026-7070 – RDP Clipboard Hijacking via Virtual Channel Injection

Severity: Medium

Overview

An RDP server trusts all virtual channel connections without proper access control. An attacker who can connect to the RDP session (even as a low‑privileged user) can inject a malicious virtual channel and modify the shared clipboard, leading to data theft or credential interception.

Vulnerability Details

  • Type: Information Disclosure / Tampering
  • Impact: Clipboard hijacking, data exfiltration.
  • Root Cause: The RDP stack does not restrict which sessions can register clipboard channels, allowing a parallel connection to interfere.

Exploit Demonstration

  1. Start the simulated RDP clipboard service:
    root@kitploit:~
    python rdp_server_sim.py
    
  2. Run the exploit:
    root@kitploit:~
    python exploit_rdp_clipboard.py
    
Download Tool