Rapid7’s 2026 Global Cybersecurity Summit is now available on-demand.Watch sessions.
Rapid7

module

Oracle 8i TNS Listener SERVICE_NAME Buffer Overflow

Disclosed
May 27, 2002
Created
May 30, 2018

Description

This module exploits a stack buffer overflow in Oracle. When
sending a specially crafted packet containing a long SERVICE_NAME
to the TNS service, an attacker may be able to execute arbitrary code.

Platform

Windows

Module Options

To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':


msf > use exploit/windows/oracle/tns_service_name
msf exploit(tns_service_name) > show targets
...targets...
msf exploit(tns_service_name) > set TARGET < target-id >
msf exploit(tns_service_name) > show options
...show and set options...
msf exploit(tns_service_name) > exploit

Title
Rapid7 Labs

2026 Global Threat Landscape Report

The predictive window has collapsed. Exploitation follows disclosure in days. See how attackers are accelerating and how to stay ahead.