Lucene search
K

X11 No-Auth Scanner

🗓️ 01 Sep 2024 00:00:00Reported by Jay Turla, metasploit.comType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 337 Views

X11 No-Auth Scanner, scans for X11 servers with no authentication

Related
Code
ReporterTitlePublishedViews
Family
Circl
CVE-1999-0526
29 May 201815:50
circl
CVE
CVE-1999-0526
29 Sep 199904:00
cve
Cvelist
CVE-1999-0526
29 Sep 199904:00
cvelist
Metasploit
X11 Keylogger
3 Dec 202418:58
metasploit
Metasploit
X11 No-Auth Scanner
16 Nov 200803:03
metasploit
NVD
CVE-1999-0526
1 Jul 199704:00
nvd
OpenVAS
X Server
3 Nov 200500:00
openvas
OpenVAS
Open X Server
3 Nov 200500:00
openvas
OpenVAS
Open X Server
3 Nov 200500:00
openvas
Rapid7 Blog
Metasploit Weekly Wrap-Up 12/06/2024
6 Dec 202420:29
rapid7blog
Rows per page
`##  
# This module requires Metasploit: https://metasploit.com/download  
# Current source: https://github.com/rapid7/metasploit-framework  
##  
  
class MetasploitModule < Msf::Auxiliary  
include Msf::Exploit::Remote::Tcp  
include Msf::Auxiliary::Scanner  
include Msf::Auxiliary::Report  
  
def initialize  
super(  
'Name' => 'X11 No-Auth Scanner',  
'Description' => %q{  
This module scans for X11 servers that allow anyone  
to connect without authentication.  
},  
'Author' => ['tebo <tebodell[at]gmail.com>'],  
'References' =>  
[  
['OSVDB', '309'],  
['CVE', '1999-0526'],  
],  
'License' => MSF_LICENSE  
)  
  
register_options([  
Opt::RPORT(6000)  
])  
end  
  
def run_host(ip)  
  
begin  
  
connect  
  
# X11.00 Null Auth Connect  
sock.put("\x6c\x00\x0b\x00\x00\x00\x00\x00\x00\x00\x00\x00")  
response = sock.get_once  
  
disconnect  
  
if response  
success = response[0,1].unpack('C')[0]  
else  
print_error("No response received due to a timeout")  
return  
end  
  
  
if(success == 1)  
vendor_len = response[24,2].unpack('v')[0]  
vendor = response[40,vendor_len].unpack('A*')[0]  
print_good("#{ip} Open X Server (#{vendor})")  
# Add Report  
report_note(  
:host => ip,  
:proto => 'tcp',  
:sname => 'x11',  
:port => rport,  
:type => 'Open X Server',  
:data => "Open X Server (#{vendor})"  
)  
elsif (success == 0)  
print_error("#{ip} Access Denied")  
else  
# X can return a reason for auth failure but we don't really care for this  
end  
  
rescue ::Rex::ConnectionError  
rescue ::Errno::EPIPE  
end  
  
end  
end  
`

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

01 Sep 2024 00:00Current
7High risk
Vulners AI Score7
EPSS0.72652
337