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-2023-51385---OpenSSH-ProxyCommand-Injection-PoC — This repository contains a proof-of-concept (PoC) for exploiting the OpenSSH ProxyCommand vulnerability — CVE-2025-51385 — affecting OpenSSH servers <9.6 Version | Kitploit
Tools/GitHubGitHub/saarcastified/cve-2023-51385---openssh-proxycommand-injection-poc
Vulnerability AnalysisExploitationPenetration TestingCommand and ControlLearning & Education
GitHubsaarcastified/cve-2023-51385---openssh-proxycommand-injection-poc

CVE-2023-51385---OpenSSH-ProxyCommand-Injection-PoC

This repository contains a proof-of-concept (PoC) for exploiting the OpenSSH ProxyCommand vulnerability — CVE-2025-51385 — affecting OpenSSH servers <9.6 Version

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
Website
1 year agoNot yet reviewed

🔐 CVE-2023-51385 - OpenSSH ProxyCommand Injection PoC

This repository contains a proof-of-concept for CVE-2023-51385, a command injection vulnerability in OpenSSH's ProxyCommand option. An attacker with control over SSH configuration or untrusted ProxyCommand strings can potentially achieve arbitrary code execution.

📌 Impact: Arbitrary command execution via malicious or improperly handled ProxyCommand values. ⚠️ Affected Versions: OpenSSH versions prior to the patch for CVE-2023-51385. 🔬 PoC: Demonstrates how exploitation can occur using a crafted SSH config or command-line input.

Note: This PoC is for educational and authorized testing purposes only. Do not use against systems without permission.

Summary

CVE-2023-51385 is a command injection vulnerability affecting OpenSSH's ProxyCommand option. Under specific conditions, an attacker can exploit improper escaping in SSH configuration or arguments to inject arbitrary commands.

This repository provides a Proof-of-Concept (PoC) demonstrating the vulnerability for educational and authorized penetration testing.


⚠️ Affected Versions

  • OpenSSH prior to version 9.8
  • Vulnerable platforms include Unix/Linux systems where SSH client-side configs or CLI arguments are user-controlled.

🧠 Vulnerability Details

The issue arises due to improper sanitization of the ProxyCommand value. If an attacker can influence the ProxyCommand field in .ssh/config or via CLI, they may inject shell commands.

CLick Here for the Youtube video for PoC.

Download Tool