Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

segmentation fault on sslv2-drown #1879

Open
gsahbi opened this issue Jan 4, 2020 · 1 comment
Open

segmentation fault on sslv2-drown #1879

gsahbi opened this issue Jan 4, 2020 · 1 comment
Assignees
Labels
NSE

Comments

@gsahbi
Copy link

@gsahbi gsahbi commented Jan 4, 2020

Nmap 7.80

nmap -d -vv -sT -sC -sV -A -T4 -p- -O -A -Pn --script vuln -oA full 10.10.10.10
...
NSE: sslv2-drown against 10.10.10.10:5900 threw an error!
/usr/bin/../share/nmap/nselib/vnc.lua:251: bad argument #2 to 'insert' (position out of bounds)
stack traceback:
[C]: in function 'table.insert'
/usr/bin/../share/nmap/nselib/vnc.lua:251: in method 'handshake'
/usr/bin/../share/nmap/nselib/sslcert.lua:614: in upvalue 'special'
/usr/bin/../share/nmap/nselib/sslcert.lua:813: in local 'starttls'
/usr/bin/../share/nmap/nselib/sslv2.lua:320: in function 'sslv2.test_sslv2'
/usr/bin/../share/nmap/scripts/sslv2-drown.nse:286: in function </usr/bin/../share/nmap/scripts/sslv2-drown.nse:225>
(...tail calls...)

@nnposter

This comment has been minimized.

Copy link

@nnposter nnposter commented Jan 4, 2020

Apparently the same error was only present in nmap version 7.70. Please double-check that file nselib/vnc.lua is really from nmap 7.80.

Separately, I assume that you are really reporting this Lua error and not some segmentation fault, correct?

@nnposter nnposter added the NSE label Jan 4, 2020
@nnposter nnposter self-assigned this Jan 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.