GDB Server Detection

high Nessus Plugin ID 21245

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.

Solution

Filter incoming traffic to this port or disable this service.

See Also

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

Plugin Details

Severity: High

ID: 21245

File Name: gdbserver_detect.nasl

Version: 1.25

Type: remote

Published: 4/19/2006

Updated: 4/11/2022

Configuration: Enable thorough checks

Asset Inventory: true

Supported Sensors: Nessus

Vulnerability Information

CPE: cpe:/a:gnu:gdb

Exploit Ease: No known exploits are available

Reference Information

BID: 69711