nuclei-templates/network/detection/java-rmi-detect.yaml

29 lines
983 B
YAML

id: java-rmi-detect
info:
name: Java Remote Method Invocation Protocol - Detect
author: F1tz
severity: info
description: |
Java Remote Method Invocation protocol is susceptible to information disclosure. It allows for unauthenticated network attacks, which can result in unauthorized operating system takeover including arbitrary code execution.
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N
cvss-score: 0
cwe-id: CWE-200
metadata:
max-request: 1
tags: network,rmi,java,detect
tcp:
- inputs:
- data: "{{hex_decode('4a524d4900024b')}}"
host:
- "{{Hostname}}"
read-size: 1024
matchers:
- type: regex
part: raw
regex:
- "^N\\x00\\x0e(\\d{1,3}\\.){3}\\d{1,3}\\x00\\x00"
# digest: 4a0a004730450221009e1ecd6d2259d8fdcd354539e9c5d2e2597da688f42a9aa4e7258bc71db9918a02203a9cde48f930aade07360b4a20bef4c687c07054876aa0d60a66f9a2ffda1b2a:922c64590222798bb761d5b6d8e72950