GDB Server Detection

This script is Copyright (C) 2006-2014 Tenable Network Security, Inc.


Synopsis :

Arbitrary code can be executed on the remote host.

Description :

The remote host is running gdbserver, a program which can be used to run
the GDB debugger on a different machine than the one which is running the
program being debugged.

Since gdbserver offers no authentication whatsoever, an attacker may connect
to this port, change the value of the registers and the memory of the process
being debugged, and therefore be able to execute arbitrary code on the remote
host with the privileges of the process being debugged.

See also :

http://sources.redhat.com/gdb/current/onlinedocs/gdb_18.html#SEC162

Solution :

Filter incoming traffic to this port or disable this service.

Risk factor :

High / CVSS Base Score : 7.5
(CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P)
CVSS Temporal Score : 7.5
(CVSS2#E:ND/RL:U/RC:ND)
Public Exploit Available : true

Family: Service detection

Nessus Plugin ID: 21245 (gdbserver_detect.nasl)

Bugtraq ID: 69711

CVE ID: