Go Ethereum JSON-RPC HTTP Server - Detect
ID: geth-server-detect
Severity: info
Author: Nullfuzz
Tags: tech,geth,ethereum,web3,blockchain
Description
Section titled “Description”Go-ethereum (aka Geth) is an Ethereum client built in Go. Geth runs a JSON-RPC HTTP server on port 8545/TCP
YAML Source
Section titled “YAML Source”id: geth-server-detect
info: name: Go Ethereum JSON-RPC HTTP Server - Detect author: Nullfuzz severity: info description: | Go-ethereum (aka Geth) is an Ethereum client built in Go. Geth runs a JSON-RPC HTTP server on port 8545/TCP reference: - https://geth.ethereum.org/docs - https://github.com/ethereum/go-ethereum metadata: verified: true max-request: 1 shodan-query: product:"Geth" tags: tech,geth,ethereum,web3,blockchain
http: - raw: - | POST / HTTP/1.1 Host: {{Hostname}} Content-Type: application/json
{"method":"web3_clientVersion","params":[],"id":1,"jsonrpc":"2.0"}
matchers: - type: dsl dsl: - 'status_code == 200' - 'contains(header, "application/json")' - 'contains(body, "Geth")' condition: and
extractors: - type: regex part: body group: 1 regex: - '(v[0-9a-z-_.]+)'# digest: 4b0a00483046022100919ddc06306634839c452616540d4b4dfe4f0ccc23556348c67e82bbb6367499022100a8c5a8b966e638c626a377ecc7192d1ddcaa15cbbc989cd18490c24db74990c1: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 "http/technologies/geth-server-detect.yaml"