Oracle TNS Listener - Detect
ID: oracle-tns-listener
Severity: info
Author: pussycat0x
Tags: js,detect,oracle,tns,network
Description
Section titled “Description”Oracle clients communicate with the database using the Transparent Network Substrate (TNS) protocol. When the listener receives a connection request (tcp port 1521, by default), it starts up a new database process and establishes a connection between the client and the database.
YAML Source
Section titled “YAML Source”id: oracle-tns-listener
info: name: Oracle TNS Listener - Detect author: pussycat0x severity: info description: | Oracle clients communicate with the database using the Transparent Network Substrate (TNS) protocol. When the listener receives a connection request (tcp port 1521, by default), it starts up a new database process and establishes a connection between the client and the database. reference: - https://www.tenable.com/plugins/nessus/110053 metadata: verified: true max-request: 1 shodan-query: product:"Oracle TNS Listener" tags: js,detect,oracle,tns,network
javascript: - pre-condition: | isPortOpen(Host,Port); code: | var m = require("nuclei/oracle"); var response = m.IsOracle(Host, Port); Export(response); args: Host: "{{Host}}" Port: "1521"
extractors: - type: regex name: Version regex: - 'Oracle TNS Listener Version:([0-9.]+)'# digest: 4a0a00473045022100cf2c7b82194f370d634ff8955239b6db058bee1031be0cec1f31450b20f385e002203391572c663dd869a311f8cef83cf8917dd05986a25007ba64fd7994aaa21ec5:922c64590222798bb761d5b6d8e72950Guide to check the vulnerabilities
Section titled “Guide to check the vulnerabilities”This template is used to detect vulnerabilities in web applications. It can be used with the Nuclei tool to scan for specific patterns or behaviors.
$ nuclei -u "URL" -t "javascript/detection/oracle-tns-listener.yaml"