POC详情: b1087356edd9c07a05d910c83042dbd5ec55db8c

来源
关联漏洞
标题: OpenSSH 安全漏洞 (CVE-2024-6387)
描述:OpenSSH(OpenBSD Secure Shell)是加拿大OpenBSD计划组的一套用于安全访问远程计算机的连接工具。该工具是SSH协议的开源实现,支持对所有的传输进行加密,可有效阻止窃听、连接劫持以及其他网络级的攻击。 OpenSSH 存在安全漏洞,该漏洞源于信号处理程序中存在竞争条件,攻击者利用该漏洞可以在无需认证的情况下远程执行任意代码并获得系统控制权。
描述
cve-2024-6387_AImade
介绍
## Presentation of the Test Code for CVE-2024-6387

### Introduction
This document presents a Python script designed to test the vulnerability CVE-2024-6387, identified in OpenSSH. This vulnerability is a race condition in the SIGALRM signal handler that can allow remote code execution (RCE) on glibc-based Linux systems. The script was generated by an artificial intelligence for educational and security research purposes.

### Description of CVE-2024-6387
- **Identifier**: CVE-2024-6387
- **Description**: A race condition in OpenSSH, reintroduced by a code change in October 2020, allows an attacker to invoke non-async-signal-safe functions in the SIGALRM handler.
- **Impact**: Remote code execution as root on vulnerable systems.
- **Affected Versions**: OpenSSH 8.5p1 to 9.8p1.

### Functioning of the Script
The script attempts to trigger the race condition by establishing numerous connections to the targeted SSH server. Each attempt sends specially crafted packets to test the timing and exploit the vulnerability.

#### NOTE
### I DIDN'T TEST IT !!!!!!!
but you find more info about the exploit here: https://github.com/zgzhang/cve-2024-6387-poc/blob/main/regresshion.txt
文件快照

[4.0K] /data/pocs/b1087356edd9c07a05d910c83042dbd5ec55db8c ├── [1.7K] exploit.py └── [1.2K] README.md 0 directories, 2 files
神龙机器人已为您缓存
备注
    1. 建议优先通过来源进行访问。
    2. 如果因为来源失效或无法访问,请发送邮箱到 f.jinxu#gmail.com 索取本地快照(把 # 换成 @)。
    3. 神龙已为您对POC代码进行快照,为了长期维护,请考虑为本地POC付费,感谢您的支持。