POC详情: cbc42d1424b256a46307a1f66110120dec352580

来源
关联漏洞
标题: libssh server-side state machine 安全漏洞 (CVE-2018-10933)
描述:libssh是一个用于访问SSH服务的C语言开发包,它能够执行远程命令、文件传输,同时为远程的程序提供安全的传输通道。server-side state machine是其中的一个服务器端状态机。 libssh的server-side state machine 0.7.6之前版本和0.8.4之前版本中存在安全漏洞。攻击者可借助恶意的客户端利用该漏洞在不进行身份验证的情况下创建通道,进而获取未授权的访问权限。
描述
Variant of hackerhouse-opensource/cve-2018-10933
文件快照

[4.0K] /data/pocs/cbc42d1424b256a46307a1f66110120dec352580 ├── [ 23] ALTERED-auth.c -> libssh-0.7.4/src/auth.c ├── [ 375] build.sh ├── [ 37] exploit -> libssh-0.7.4/build/examples/samplessh ├── [ 30] exploit.c -> libssh-0.7.4/examples/sample.c ├── [4.0K] libssh-0.7.4 │   ├── [ 488] AUTHORS │   ├── [1.3K] BSD │   ├── [ 18K] ChangeLog │   ├── [4.0K] cmake │   │   └── [4.0K] Modules │   │   ├── [1.8K] AddCMockaTest.cmake │   │   ├── [1005] CheckCCompilerFlagSSP.cmake │   │   ├── [1.3K] COPYING-CMAKE-SCRIPTS │   │   ├── [ 993] DefineCMakeDefaults.cmake │   │   ├── [3.0K] DefineCompilerFlags.cmake │   │   ├── [3.7K] DefineInstallationPaths.cmake │   │   ├── [ 814] DefinePlatformDefaults.cmake │   │   ├── [1.3K] FindArgp.cmake │   │   ├── [1.7K] FindCMocka.cmake │   │   ├── [2.3K] FindGCrypt.cmake │   │   ├── [7.8K] FindGSSAPI.cmake │   │   ├── [1.4K] FindNaCl.cmake │   │   ├── [1.4K] FindNSIS.cmake │   │   ├── [ 663] MacroEnsureOutOfSourceBuild.cmake │   │   └── [4.5K] UseDoxygen.cmake │   ├── [5.0K] CMakeLists.txt │   ├── [5.5K] config.h.cmake │   ├── [8.2K] ConfigureChecks.cmake │   ├── [ 24K] COPYING │   ├── [2.0K] CPackConfig.cmake │   ├── [ 260] CTestConfig.cmake │   ├── [1.2K] DefineOptions.cmake │   ├── [4.0K] doc │   │   ├── [ 13K] authentication.dox │   │   ├── [ 60] CMakeLists.txt │   │   ├── [2.3K] command.dox │   │   ├── [5.4K] curve25519-sha256@libssh.org.txt │   │   ├── [ 80K] Doxyfile.in │   │   ├── [6.6K] forwarding.dox │   │   ├── [ 14K] guided_tour.dox │   │   ├── [1.6K] introduction.dox │   │   ├── [ 971] linking.dox │   │   ├── [ 10K] mainpage.dox │   │   ├── [7.2K] scp.dox │   │   ├── [ 12K] sftp.dox │   │   ├── [ 10K] shell.dox │   │   ├── [ 194] tbd.dox │   │   └── [2.4K] threading.dox │   ├── [4.0K] examples │   │   ├── [4.6K] authentication.c │   │   ├── [2.1K] CMakeLists.txt │   │   ├── [1.7K] connect_ssh.c │   │   ├── [ 790] examples_common.h │   │   ├── [1.4K] exec.c │   │   ├── [3.3K] knownhosts.c │   │   ├── [ 877] libsshpp.cpp │   │   ├── [ 988] libsshpp_noexcept.cpp │   │   ├── [8.0K] libssh_scp.c │   │   ├── [9.7K] proxy.c │   │   ├── [ 14K] sample.c │   │   ├── [8.0K] samplesftp.c │   │   ├── [8.2K] samplesshd-cb.c │   │   ├── [ 12K] samplesshd-kbdint.c │   │   ├── [4.7K] scp_download.c │   │   ├── [1.2K] senddata.c │   │   ├── [6.0K] sshnetcat.c │   │   └── [ 20K] ssh_server_fork.c │   ├── [4.0K] include │   │   ├── [ 54] CMakeLists.txt │   │   └── [4.0K] libssh │   │   ├── [3.9K] agent.h │   │   ├── [3.5K] auth.h │   │   ├── [1.1K] bignum.h │   │   ├── [1.5K] bind.h │   │   ├── [3.5K] blf.h │   │   ├── [4.1K] buffer.h │   │   ├── [ 32K] callbacks.h │   │   ├── [4.0K] channels.h │   │   ├── [ 494] CMakeLists.txt │   │   ├── [ 979] crc32.h │   │   ├── [4.0K] crypto.h │   │   ├── [1.9K] curve25519.h │   │   ├── [1.8K] dh.h │   │   ├── [1.3K] ecdh.h │   │   ├── [2.6K] ed25519.h │   │   ├── [2.3K] fe25519.h │   │   ├── [1.3K] ge25519.h │   │   ├── [1.5K] gssapi.h │   │   ├── [1.6K] kex.h │   │   ├── [1.5K] keys.h │   │   ├── [ 945] knownhosts.h │   │   ├── [6.7K] legacy.h │   │   ├── [3.2K] libcrypto.h │   │   ├── [2.8K] libgcrypt.h │   │   ├── [ 25K] libssh.h │   │   ├── [ 18K] libsshpp.hpp │   │   ├── [2.9K] messages.h │   │   ├── [2.7K] misc.h │   │   ├── [1.1K] options.h │   │   ├── [3.1K] packet.h │   │   ├── [1.5K] pcap.h │   │   ├── [3.9K] pki.h │   │   ├── [5.3K] pki_priv.h │   │   ├── [4.4K] poll.h │   │   ├── [ 11K] priv.h │   │   ├── [2.8K] sc25519.h │   │   ├── [1.8K] scp.h │   │   ├── [ 11K] server.h │   │   ├── [7.0K] session.h │   │   ├── [ 30K] sftp.h │   │   ├── [2.8K] socket.h │   │   ├── [3.6K] ssh1.h │   │   ├── [2.7K] ssh2.h │   │   ├── [1.1K] string.h │   │   ├── [1.0K] threads.h │   │   └── [3.4K] wrapper.h │   ├── [2.6K] INSTALL │   ├── [ 52] libssh-build-tree-settings.cmake.in │   ├── [ 476] libssh-config.cmake.in │   ├── [ 393] libssh-config-version.cmake.in │   ├── [ 154] libssh.pc.cmake │   ├── [ 187] libssh_threads.pc.cmake │   ├── [1.3K] README │   ├── [9.0K] README.CodingStyle │   ├── [4.0K] src │   │   ├── [ 15K] agent.c │   │   ├── [6.9K] auth1.c │   │   ├── [ 55K] auth.c │   │   ├── [7.1K] base64.c │   │   ├── [2.9K] bignum.c │   │   ├── [ 13K] bind.c │   │   ├── [ 27K] buffer.c │   │   ├── [2.8K] callbacks.c │   │   ├── [ 11K] channels1.c │   │   ├── [ 90K] channels.c │   │   ├── [ 22K] client.c │   │   ├── [5.3K] CMakeLists.txt │   │   ├── [9.6K] config.c │   │   ├── [ 13K] connect.c │   │   ├── [4.8K] crc32.c │   │   ├── [8.3K] curve25519.c │   │   ├── [ 31K] dh.c │   │   ├── [9.5K] ecdh.c │   │   ├── [3.6K] error.c │   │   ├── [4.0K] external │   │   │   ├── [5.4K] bcrypt_pbkdf.c │   │   │   ├── [ 23K] blowfish.c │   │   │   ├── [6.7K] curve25519_ref.c │   │   │   ├── [4.8K] ed25519.c │   │   │   ├── [9.6K] fe25519.c │   │   │   ├── [165K] ge25519_base.data │   │   │   ├── [ 11K] ge25519.c │   │   │   └── [8.2K] sc25519.c │   │   ├── [2.5K] gcrypt_missing.c │   │   ├── [6.8K] getpass.c │   │   ├── [ 32K] gssapi.c │   │   ├── [5.4K] gzip.c │   │   ├── [2.3K] init.c │   │   ├── [ 14K] kex1.c │   │   ├── [ 19K] kex.c │   │   ├── [ 19K] known_hosts.c │   │   ├── [ 18K] legacy.c │   │   ├── [ 16K] libcrypto.c │   │   ├── [ 15K] libgcrypt.c │   │   ├── [5.3K] log.c │   │   ├── [5.6K] match.c │   │   ├── [ 42K] messages.c │   │   ├── [ 23K] misc.c │   │   ├── [ 48K] options.c │   │   ├── [ 13K] packet1.c │   │   ├── [ 22K] packet.c │   │   ├── [7.6K] packet_cb.c │   │   ├── [5.2K] packet_crypt.c │   │   ├── [ 13K] pcap.c │   │   ├── [ 42K] pki.c │   │   ├── [ 21K] pki_container_openssh.c │   │   ├── [ 45K] pki_crypto.c │   │   ├── [7.3K] pki_ed25519.c │   │   ├── [ 49K] pki_gcrypt.c │   │   ├── [ 26K] poll.c │   │   ├── [ 24K] scp.c │   │   ├── [ 34K] server.c │   │   ├── [ 24K] session.c │   │   ├── [ 75K] sftp.c │   │   ├── [ 13K] sftpserver.c │   │   ├── [ 23K] socket.c │   │   ├── [5.9K] string.c │   │   ├── [4.0K] threads │   │   │   ├── [3.2K] CMakeLists.txt │   │   │   └── [2.7K] pthread.c │   │   ├── [5.0K] threads.c │   │   └── [ 14K] wrapper.c │   ├── [4.7K] SubmittingPatches │   └── [4.0K] tests │   ├── [2.2K] authentication.c │   ├── [4.0K] benchmarks │   │   ├── [ 524] bench1.sh │   │   ├── [ 545] bench2.sh │   │   ├── [9.6K] benchmarks.c │   │   ├── [2.7K] benchmarks.h │   │   ├── [7.7K] bench_raw.c │   │   ├── [4.3K] bench_scp.c │   │   ├── [6.8K] bench_sftp.c │   │   ├── [ 387] CMakeLists.txt │   │   └── [4.1K] latency.c │   ├── [ 627] chmodtest.c │   ├── [4.0K] client │   │   ├── [ 877] CMakeLists.txt │   │   ├── [ 11K] torture_algorithms.c │   │   ├── [ 13K] torture_auth.c │   │   ├── [4.4K] torture_connect.c │   │   ├── [2.2K] torture_forward.c │   │   ├── [9.3K] torture_knownhosts.c │   │   ├── [1.4K] torture_proxycommand.c │   │   ├── [2.8K] torture_request_env.c │   │   ├── [3.1K] torture_session.c │   │   ├── [1.6K] torture_sftp_dir.c │   │   ├── [1.9K] torture_sftp_read.c │   │   └── [ 561] torture_sftp_static.c │   ├── [1.2K] CMakeLists.txt │   ├── [1.7K] cmdline.c │   ├── [ 793] connection.c │   ├── [2.5K] ctest-default.cmake │   ├── [ 127] generate.py │   ├── [4.0K] keys │   ├── [4.0K] pkd │   │   ├── [ 689] CMakeLists.txt │   │   ├── [1.7K] pkd_client.h │   │   ├── [ 12K] pkd_daemon.c │   │   ├── [ 693] pkd_daemon.h │   │   ├── [ 23K] pkd_hello.c │   │   ├── [4.2K] pkd_keyutil.c │   │   ├── [1.2K] pkd_keyutil.h │   │   ├── [1000] pkd_util.c │   │   └── [ 272] pkd_util.h │   ├── [4.0K] sftp_stress │   │   └── [4.4K] main.c │   ├── [1.6K] test_exec.c │   ├── [1.6K] test_pcap.c │   ├── [ 211] tests.h │   ├── [2.5K] test_socket.c │   ├── [2.9K] test_ssh_bind_accept_fd.c │   ├── [1.9K] test_tunnel.c │   ├── [ 23K] torture.c │   ├── [3.0K] torture.h │   ├── [4.0K] unittests │   │   ├── [1.2K] CMakeLists.txt │   │   ├── [7.5K] torture_buffer.c │   │   ├── [2.9K] torture_callbacks.c │   │   ├── [ 931] torture_channel.c │   │   ├── [ 429] torture_init.c │   │   ├── [1.8K] torture_isipaddr.c │   │   ├── [7.6K] torture_keyfiles.c │   │   ├── [2.5K] torture_list.c │   │   ├── [5.3K] torture_misc.c │   │   ├── [6.3K] torture_options.c │   │   ├── [ 47K] torture_pki.c │   │   ├── [3.6K] torture_pki_ed25519.c │   │   ├── [1.4K] torture_rand.c │   │   └── [5.6K] torture_server_x11.c │   └── [1.7K] valgrind.supp └── [344K] libssh-0.7.4.tar.xz 17 directories, 245 files
神龙机器人已为您缓存
备注
    1. 建议优先通过来源进行访问。
    2. 如果因为来源失效或无法访问,请发送邮箱到 f.jinxu#gmail.com 索取本地快照(把 # 换成 @)。
    3. 神龙已为您对POC代码进行快照,为了长期维护,请考虑为本地POC付费,感谢您的支持。