269 matches found
poc-proxycommand-vulnerable
RCE via insecure /.ssh/config Use of tokens like %h, %p in ProxyCommand is quite popular to use tunnels and connection proxying using SSH. Vulnerable config root@kitploit: host .example.com ProxyCommand /usr/bin/nc -X connect -x 192.0.2.0:8080 %h %p Note: in my initial assessment I was under the...
CVE-2023-51385_test
Verify 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 Command injection exists in the .gitmodules file statement root@kitploit: url = ssh://echo helloworld cve.txtfoo.example.com/bar Afte...
CVE-2023-51385_poc-test
CVE-2023-51385 poc OpenSSH ProxyCommand RCE poc OpenSSH 9.6 命令注入漏洞poc 中文 1.vim /.ssh/config or edit C:/Users/username/.ssh/config on windows system root@kitploit: host .example.com ProxyCommand /usr/bin/nc -X connect -x 192.0.2.0:8080 %h %p 2. git clone...
CVE-2017-1000117
CVE-2017-1000117 How it works? root@kitploit: $ git clone --recursive [email protected]:ikmski/CVE-2017-1000117.git How to create this repository root@kitploit: $ cat message.txt | gzip | base64 command $ git submodule add [email protected]:ikmski/Hello-World.git subs/CVE-2017-1000117 $...
CVE-2026-4631-cockpit-RCE
CVE-2026-4631 — Cockpit Mass Exploit Tool Unauthenticated Remote Code Execution via SSH Command-Line Argument Injection Cockpit versions 327 – 359 | CVSS 9.8 Critical | CWE-78 Tool mass exploitation untuk CVE-2026-4631 pada Cockpit web service cockpit-ws, port 9090. Mendukung mode vulnerability...
CVE-2023-51385
CVE-2023-51385 OpenSSH ProxyCommand RCE 1. 当你的 ProxyCommand 配置如下时: root@kitploit: Host .com ProxyCommand /usr/bin/nc -X connect -x 127.0.0.1:7890 %h %p 2. 使用以下命令进行概念验证 root@kitploit: git clone https://github.com/Le1a/CVE-2023-51385 --recurse-submodules...
CVE-2017-1000117
CVE-2017-1000117 This module can be used to test whether you are vulnerable to CVE-2017-1000117 root@kitploit: git clone https://github.com/timwr/CVE-2017-1000117.git --recurse-submodules ls CVE-2017-1000117 Output if you are vulnerable: root@kitploit: $ git clone...
CVE-2023-51385---OpenSSH-ProxyCommand-Injection-PoC
🔐 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...
CVE-2023-51385_test
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.txtfoo.example.com/b...
CVE-2023-51385_test
Verify CVE-2023-51385 First, add the following to /.ssh/config root@kitploit: 主机 .example.com ProxyCommand /usr/bin/nc -X connect -x 192.0.2.0:8080 %h %p Command injection exists in the .gitmodules file statement root@kitploit: url = ssh://echo helloworld cve.txtfoo.example.com/bar After...
cve-2023-51385
Verify 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.txtfoo.example.com/bar...
cve-2025-61984-poc
CVE-2025-61984 PoC 这是一个概念验证,利用换行符来混淆 OpenSSH 10.1 的 ProxyCommand。完整文章。 如何运行 创建一个包含以下内容的 .ssh/config: root@kitploit: Host .example.com ProxyCommand some-command %r@%h:%p (命令内容无关紧要,只需在参数中某处包含一个未加引号的 %r 即可。) 然后运行(针对 bash): root@kitploit: $ git clone --recursive...
poc-proxycommand-vulnerable
通过不安全的 /.ssh/config 实现RCE 在 ProxyCommand 中使用像 %h、%p 这样的令牌非常流行,用于通过SSH使用隧道和连接代理。 易受攻击的配置 root@kitploit: host .example.com ProxyCommand /usr/bin/nc -X connect -x 192.0.2.0:8080 %h %p 注意:在我最初的评估中,我以为使用 '%h'(单引号)可以避免这种情况,但看起来如果使用如下内容,仍然会存在漏洞: root@kitploit: url = ssh://'open...
libssh security update
An update is available for libssh. This update affects Rocky Linux 8. A Common Vulnerability Scoring System CVSS base score, which gives a detailed severity rating, is available for each vulnerability from the CVE list libssh is a library which implements the SSH protocol. It can be used to...
libssh: libssh: denial of service via unchecked ProxyCommand fork() failure
A flaw was found in libssh. When ProxyCommand is used, an unchecked fork failure can be stored as process ID -1; during cleanup, signals may then be sent across the caller's accessible process tree, leading to local denial of service...
libssh: libssh: information disclosure via ProxyCommand %r username expansion
A flaw was found in libssh. A malicious username expanded through %r in ProxyCommand handling can inject shell metacharacters, exposing environment variables and causing unintended shell behavior...
Moderate: Red Hat Security Advisory: libssh security update
An update for libssh is now available for Red Hat Enterprise Linux 8. Red Hat Product Security has rated this update as having a security impact of Moderate. A Common Vulnerability Scoring System CVSS base score, which gives a detailed severity rating, is available for each vulnerability from the...
libssh: libssh: denial of service via unchecked ProxyCommand fork() failure
A flaw was found in libssh. When ProxyCommand is used, an unchecked fork failure can be stored as process ID -1; during cleanup, signals may then be sent across the caller's accessible process tree, leading to local denial of service...
libssh: libssh: information disclosure via ProxyCommand %r username expansion
A flaw was found in libssh. A malicious username expanded through %r in ProxyCommand handling can inject shell metacharacters, exposing environment variables and causing unintended shell behavior...
USN-8699-1 libssh vulnerabilities
It was discovered that libssh had a stack buffer overflow in its SFTP server when constructing directory listing entries for long filenames. An attacker could possibly use this issue to cause libssh to crash or execute arbitrary code. This issue only affected Ubuntu 26.04 LTS. CVE-2026-15370 It w...