Erigon JSON-RPC HTTP Server - Detect
ID: erigon-server-detect
Severity: info
Author: Nullfuzz
Tags: tech,erigon,ethereum,web3,blockchain
Description
Section titled “Description”Erigon is an implementation of Ethereum (execution layer with embeddable consensus layer). By default Erigon runs a JSON-RPC HTTP server on port 8545/TCP
YAML Source
Section titled “YAML Source”id: erigon-server-detect
info: name: Erigon JSON-RPC HTTP Server - Detect author: Nullfuzz severity: info description: | Erigon is an implementation of Ethereum (execution layer with embeddable consensus layer). By default Erigon runs a JSON-RPC HTTP server on port 8545/TCP reference: - https://github.com/ledgerwatch/erigon metadata: verified: true max-request: 1 shodan-query: product:"Erigon" tags: tech,erigon,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, "erigon")' condition: and
extractors: - type: regex part: body group: 1 regex: - '(erigon/[0-9_.]+)'# digest: 490a0046304402206b86351e3733965a9501ca45543ad929ef713cd2d05962802bd1017063c718dd022018b5759b5290252eae78073eafbecb80c830bbbac167b27598b53274f4669cf0: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/erigon-server-detect.yaml"