Skip to content

Case study · Web3

Open-Source Payments Cryptocurrency Network and Masternode Ecosystem

An unauthenticated testnet faucet web installer exposed live hot-wallet RPC and database credentials with direct config-file takeover, alongside a complete captcha bypass, anonymous Grafana telemetry, and a committed CI deploy key.

Findings · 5
1 Critical3 High1 Medium
FindingVulnerabilitySeverity
3.1Unauthenticated testnet faucet installer leaking live credentials with config takeover (CWE-489)CWE-489A live testnet faucet deployed an open-source PHP web application and left its setup wizard (install.php) accessible on the public internet without authentication.Critical
3.2Complete reCAPTCHA v2 bypass in faucet payout validation (CWE-807)CWE-807The server-side helper faucet_valid_captcha() lacks a recaptcha_v2 verification branch.High
3.3Unauthenticated Grafana metric queries and telemetry exposing internal testnet topology (CWE-200)CWE-200The testnet monitoring host (metrics.testnet.paynet.example, running Grafana 12.3.2 OSS behind nginx at /grafana/) publishes a public dashboard and exposes /grafana/metrics without authentication.High
3.4Encrypted RSA deployment key and CI rsync pipeline committed to public website repository (CWE-798)CWE-798The file paynet.example-test-web.pem.enc (1,696 bytes, OpenSSL Salted__ AES-256-CBC ciphertext) is committed across master and release branches.High
3.5Explorer API disclosing full Node.js stack traces on malformed input (CWE-209)CWE-209Sending a malformed request body to the public blockchain explorer API causes the Node.js server to crash the request handler and return a full stack trace, revealing internal node_modules filesystem paths and exact middleware versions.Medium

Executive summary

What we were asked to do

An open-source payments cryptocurrency network operating a non-EVM core protocol, a Rust-based platform layer, and a distributed masternode network asked us to assess its external surface. The estate spans a Cloudflare-fronted marketing site, bare-origin WordPress servers, a Node.js blockchain explorer API, testnet operations tooling (faucets, monitoring, and logging), and public GitHub repositories hosting deployment pipelines.

The engagement found a critical unauthenticated takeover primitive on a live testnet faucet, three high findings across payout validation, monitoring telemetry, and CI key hygiene, and a disciplined set of controls that held across the primary web estate and Grafana authentication boundary.

Principal findings

A testnet faucet left its web installer (`install.php`) reachable without authentication. Visiting three setup steps leaked live MySQL credentials, live hot-wallet JSON-RPC credentials against an internal RFC-1918 node, the unencrypted cold-wallet file path, and payout parameters; the installer's POST handlers write attacker-controlled values directly into the live PHP configuration files via file_put_contents, creating a direct configuration-takeover and wallet-drain primitive. On the same faucet, reCAPTCHA v2 validation was completely bypassed because the verification helper had no recaptcha_v2 branch, allowing automated repeat payouts every five minutes. Across the rest of the estate, anonymous Grafana public-dashboard queries and an unauthenticated `/grafana/metrics` endpoint disclosed internal testnet RFC-1918 addresses, masternode naming conventions, and internal container and logging hostnames; a public website repository committed an AES-256-CBC encrypted RSA deploy key alongside the Travis CI decryption and rsync deployment pipeline; and the public explorer API leaked full Node.js stack traces and internal paths on malformed input.

What this means in plain terms

Four things leadership should take from this.

  • Testnet tooling failed open while the marketing perimeter held. The primary website behind CDN and nginx resisted every probe, and bare WordPress origins enforced HTTP Basic Auth and key-only SSH. The critical break sat on an auxiliary testnet faucet whose post-install cleanup never happened.
  • One broken setup script exposed both credentials and write access. Leaving install.php deployed did not merely leak secrets — it exposed an unauthenticated file_put_contents write path into live PHP configuration files, turning an installation convenience into full application and wallet control.
  • Public observability dashboards leak internal network topology even when auth holds. Grafana correctly blocked arbitrary PromQL injection and proxy access, yet its public dashboard responses and /grafana/metrics endpoint still handed external callers internal 10.x.x.x addresses, masternode hostnames, and internal logging targets.
  • Legacy CI artifacts in public git history never expire on their own. An encrypted RSA deploy key committed alongside its exact decryption command and rsync targets reduces host deployment security to a single static CI passphrase until the key is rotated and purged.

The five things that need a decision, not a patch

#What is wrongBusiness impactWho decides
1Testnet faucet install.php leaks live DB and RPC credentials and allows config overwriteUnauthenticated configuration takeover and hot-wallet drain risk on live testnet infrastructure; requires immediate credential rotation and decommission/lockdown rules for all network tooling.Infrastructure + protocol ops
2Faucet faucet_valid_captcha() silently ignores recaptcha_v2Any script can drain the faucet at 10 tokens every five minutes without solving a captcha; deciding whether testnet faucets require rate limits, auth, or strict captcha enforcement is an ops policy call.Protocol ops
3Public Grafana dashboard and /grafana/metrics expose internal RFC-1918 IPs and masternode namesPublic status transparency conflicts with keeping internal addressing, container names, and logging topology private.Observability + security
4Public website repo contains an encrypted RSA deploy key and Travis rsync targetsRotating SSH deploy keys and replacing static key-based rsync with ephemeral OIDC/runner deploys is a release-engineering decision.Release engineering
5Explorer API returns full Node.js stack traces and dependency versions on malformed requestsConfirming production error-handling standards and deprecating legacy explorer middleware requires API ownership sign-off.Platform engineering

What we did not get

No funds were moved. No faucet configuration file was modified. No Grafana administrative access or arbitrary datasource query was achieved. No WordPress origin bypassed HTTP Basic Auth or SSH key enforcement. No encrypted deploy key was decrypted, and no production web host was altered.

Engagement outcome

An authorized external security assessment of an open-source payments cryptocurrency network identified five confirmed findings, led by an unauthenticated installer on a testnet faucet that disclosed database and testnet RPC credentials and permitted configuration overwrites, alongside a captcha-validation gap, testnet telemetry disclosure, a legacy encrypted CI deploy key in a public repository, and API stack trace leakage. The primary web estate, bare-origin authentication gates, and Grafana query-isolation controls held under testing, and no funds were moved, no live configurations were modified, and no production systems were compromised. All findings were documented under responsible engagement terms with prioritised remediation guidance.


1. The engagement in numbers

MetricValue
Root workstreams1
Total Swarm Size22
Passive OSINT host/subdomain hits569 (315 CT logs, 254 scan/DNS DB)
Public GitHub repositories scanned14 (read-only clones, gitleaks)
Confirmed findings5 (1 critical, 3 high, 1 medium)
Refuted / false-positive hypotheses4
Faucet configs overwritten or funds drained0 (read-only proof discipline)
Encrypted CI keys decrypted0 (prohibited under ROE)

The last two rows are deliberate boundaries. Reading install.php steps 2–4 and verifying the file_put_contents sink in application source proved the takeover primitive without mutating a live service or moving testnet coins. Likewise, the committed encrypted deploy key was hashed and audited in git history without attempting passphrase cracking.

Agent topology

RoleSessionsResponsibility
Recon9Passive OSINT (crt.sh, scan DBs), DNS mapping, deep crawl, GitHub repo enumeration
Exploit11Faucet installer & captcha testing, Grafana escalation, WordPress origin bypasses, API & CI verification
Orchestrator1Wave planning, cross-host synthesis, proof verification
Advisor1Independent review, severity calibration, refutation validation
Fig 01 · Agent topology
Fig 01 · Agent topology

2. What held

Before detailing what broke, four defensive boundaries held cleanly under sustained probing.

  • Grafana query isolation and authentication held (v12.3.2 OSS). Public dashboard queries executed only server-side baked queries; injected PromQL (expr: "up") and Elasticsearch datasource overrides were silently ignored. Direct /api/datasources/proxy/uid/* and /api/ds/query endpoints returned 401 anonymously, default credentials failed, and self-signup was closed.
  • Internal logging isolation held at the DNS perimeter. Although Grafana leaked the internal Elasticsearch logging hostname (logs.testnet.paynet.example) and two datasource UIDs, the host resolved NXDOMAIN from the public internet.
  • The Cloudflare-fronted primary web estate (`paynet.example`) held. Edge managed challenges and origin nginx routing redirected protected and unknown WordPress paths (/wp-login.php, /wp-admin/, /wp-json/, /xmlrpc.php, /wp-cron.php, dotfiles) to cached static content or blocked them outright.
  • Bare-origin WordPress hosts held behind HTTP Basic Auth and key-only SSH. Across four bare cloud VPS origins, 10 default Basic Auth credential pairs, alternate HTTP verbs (OPTIONS, TRACE, HEAD, PROPFIND, DEBUG, M-SEARCH, PATCH), path-normalization/NUL/LF tricks, and Host/authority overrides all failed; SSH on every reachable VPS rejected password auth with Permission denied (publickey).
Fig 02 · 2. What held
Fig 02 · 2. What held

Refuted, blocked, and unverified hypotheses

Forensic honesty requires separating confirmed vulnerabilities from hypotheses that were disproved or could not be tested under engagement constraints.

Hypothesis / laneStatusEvidence and reasoning
Arbitrary PromQL execution / Elasticsearch SSRF via Grafana public dashboardRefutedOverriding expr to "up" or switching datasource UIDs on /grafana/api/public/dashboards/{token}/panels/{pid}/query returned only the baked consensus panel metrics; direct proxy routes returned 401.
WordPress bare-origin HTTP Basic Auth bypass & CMS takeoverRefutedExhausted default credentials, non-standard HTTP verbs, double-slash/%2f/%00/%0a path normalization, and Host: localhost overrides across blog/wp/staging origins. A fourth static origin served only cached HTML, a static sitemap, and theme assets while returning 404 on /wp-login.php and dynamic endpoints.
Plaintext wallet/spork keys in deployment and explorer repositoriesRefuted (FP)gitleaks hits in Ansible group_vars/all (WIF faucet key, spork key, RPC password) were verified to be commented-out documentation examples; etc/test-key.pem in insight-api was a non-production test fixture.
External exposure of Elasticsearch log cluster leaked by GrafanaRefutedlogs.testnet.paynet.example returned NXDOMAIN externally and was unreachable without an internal pivot.
Decryption of committed .pem.enc RSA deploy key & deploy-host writeBlocked (ROE)Passphrase lives only in Travis CI environment variables; offline cracking and live writes to www-test.paynet.example / admin.paynet.example were out of bounds.
Authenticated WordPress admin & org-wide GitHub code searchBlocked (env)No CMS credentials were provisioned; GitHub-wide code search skipped due to absent GITHUB_TOKEN (mitigated by direct read-only clones of 14 targeted repos); theHarvester and SpiderFoot failed under sandbox constraints.
Deep Web3/on-chain recon passBlocked (timeout)Timed out after partial CDN/fingerprint profiling; architecture resolves to non-EVM C++ core + Rust platform + masternode consensus rather than EVM contracts.
Third-party CNAME subdomain takeovers & rate-limit gapsUnverified / triagedPassive DNS flagged CNAMEs (docs.paynet.example to hosted docs, SDK host to GitHub Pages, support host to hosted helpdesk, media/proposal/chat to CDN) and missing observed rate limits on Insight API and an unauthenticated GET subscribe route; none escalated to takeover.

3. The findings that mattered

How the estate was mapped

Fig 03 · How the estate was mapped
Fig 03 · How the estate was mapped

3.1 Unauthenticated testnet faucet installer leaking live credentials with config takeover (CWE-489)Critical

In plain terms. A live testnet faucet deployed an open-source PHP web application and left its setup wizard (install.php) accessible on the public internet without authentication. Simply browsing the setup steps disclosed live MySQL credentials, live hot-wallet JSON-RPC credentials pointing to an internal testnet node, the unencrypted cold-wallet file path, and payout rules — while the same wizard's POST handlers allow any unauthenticated visitor to overwrite the application's live PHP configuration files.

What. Three unauthenticated GET requests returned sensitive live configuration pre-filled from environment-backed PHP define(...) files (db.conf.php, wallet.conf.php, faucet.conf.php):

  • GET install.php?step=2 leaked live MySQL database credentials (<db-user> / <db-pass> on host db, schema prefix faucet_).
  • GET install.php?step=3 leaked live hot-wallet JSON-RPC credentials (<rpc-user> / <redacted>), the internal RFC-1918 RPC target (10.x.x.x:<rpc-port>), and the cold-wallet path (/var/db/<faucet>/balance.dat, indicating an unencrypted hot wallet).
  • GET install.php?step=4 leaked payout configuration (min = max = 10.00 native tokens, payout_interval = 5m).

Inspection of install.lib.php confirmed that the corresponding POST handlers pass user-supplied form parameters directly into file_put_contents targeting db.conf.php, wallet.conf.php, and faucet.conf.php with zero authentication or installation-lock check.

How we found it. Active web triage against *.paynet.example testnet hosts surfaced the faucet application, and standard left-behind installer checks confirmed install.php returned HTTP 200 anonymously. Read-only GET artifacts were archived for steps 2, 3, and 4 alongside the file_put_contents source proof; no POST overwrite or RPC call was executed.

Root cause. Active debug/setup code (install.php and modules/install/) remained deployed in a live container without removal, web-server access denial, or a post-install lock guard.

Fig 04 · 3.1 Unauthenticated testnet faucet installer leaking live credentials with config takeover (`CWE-489`)
Fig 04 · 3.1 Unauthenticated testnet faucet installer leaking live credentials with config takeover (`CWE-489`)

Impact. Complete compromise of the faucet application and its testnet hot wallet. Overwriting wallet.conf.php or faucet.conf.php allows arbitrary payout cap removal, RPC redirection, or PHP configuration injection, and the leaked RPC credentials expose the internal testnet node if reached from within the container or VPC.

Fix. Immediately delete install.php and modules/install/ from the container image and deployment build, enforce Require all denied (or nginx deny all) on any setup routes, rotate the MySQL and JSON-RPC credentials, and encrypt or strictly isolate the faucet hot wallet.


3.2 Complete reCAPTCHA v2 bypass in faucet payout validation (CWE-807)High

In plain terms. The same testnet faucet displays a reCAPTCHA v2 challenge to prevent automated draining, but its server-side verification function never actually checks reCAPTCHA v2. Submitting a payout request with no captcha response at all sails straight through to address validation.

What. The server-side helper faucet_valid_captcha() lacks a recaptcha_v2 verification branch. A POST request containing no captcha field bypassed the anti-bot gate entirely and reached downstream address validation (returning an invalid-address status rather than a captcha rejection).

How we found it. Source audit of the faucet repository paired with a live benign probe using an invalid destination address. Reaching the address-validation error without supplying any captcha token proved the captcha gate is a no-op without triggering an actual payout.

Root cause. Missing branch handling for recaptcha_v2 in faucet_valid_captcha() caused the check to fail open when that captcha mode was configured.

Fig 05 · 3.2 Complete reCAPTCHA v2 bypass in faucet payout validation (`CWE-807`)
Fig 05 · 3.2 Complete reCAPTCHA v2 bypass in faucet payout validation (`CWE-807`)

Impact. Any external actor can automate continuous faucet withdrawals at the maximum configured rate (10.00 tokens every five minutes per interval), exhausting testnet liquidity and degrading developer testing workflows.

Fix. Implement strict server-side verification for recaptcha_v2 inside faucet_valid_captcha() with a fail-closed default (reject any unrecognised or missing captcha provider/token), and enforce per-IP and per-address rate limits.


3.3 Unauthenticated Grafana metric queries and telemetry exposing internal testnet topology (CWE-200)High

In plain terms. The testnet monitoring host (metrics.testnet.paynet.example, running Grafana 12.3.2 OSS behind nginx at /grafana/) publishes a public dashboard and exposes /grafana/metrics without authentication. While Grafana blocked query injection and datasource proxying, anonymous responses still returned live internal RFC-1918 addresses, masternode naming conventions, container names, user counts, and internal logging hostnames.

What. Two unauthenticated surfaces disclosed internal operational metadata:

  • POST /grafana/api/public/dashboards/{token}/panels/{pid}/query returned HTTP 200 anonymously across multiple panels (panel 1 consensus latest block height with incrementing live counters, panel 4 mempool size, panel 14 mined transactions/sec and average blocks/min). The JSON time-series labels disclosed internal 10.x.x.x:<metrics-port> instance addresses, the testnet chain identifier, masternode naming (<node-prefix>-masternode-<N>), consensus job identifiers, internal Prometheus container naming (metrics-prometheus-1), internal logging target (logs.testnet.paynet.example), and one Prometheus plus two Elasticsearch datasource UIDs.
  • GET /grafana/metrics was anonymously readable (metrics_authentication not enforcing basic auth), exposing exact Grafana version (12.3.2 OSS), Go runtime (go1.25.6), build revision, user inventory counts (2 users, 1 admin), active dashboards (6), alert rules (4), Slack notification integration, and per-user request counters (admin and other).

How we found it. Unauthenticated endpoint mapping on the monitoring host followed by public dashboard panel queries and negative escalation probes (testing PromQL override, ES proxy access, and login/signup routes).

Root cause. Public dashboard sharing exposed raw Prometheus label dimensions (instance, node, chain_id) without relabelling or stripping internal host metadata, while /grafana/metrics was left exposed through the nginx reverse proxy without authentication.

Fig 06 · 3.3 Unauthenticated Grafana metric queries and telemetry exposing internal testnet topology (`CWE-200`)
Fig 06 · 3.3 Unauthenticated Grafana metric queries and telemetry exposing internal testnet topology (`CWE-200`)

Impact. Concrete internal network intelligence — private IP ranges (10.x.x.x), masternode host naming, container names, and internal logging endpoints — available to any external adversary preparing an SSRF or lateral-movement leg from another compromised host (such as the testnet faucet).

Fix. Restrict /grafana/metrics at nginx and enable metrics_authentication in Grafana; strip or relabel instance and internal host labels before exposing metrics on public dashboards, or place the Grafana instance behind VPN/SSO if public telemetry is not strictly required.


3.4 Encrypted RSA deployment key and CI rsync pipeline committed to public website repository (CWE-798)High

In plain terms. The public website repository commits an encrypted RSA SSH private key directly into git alongside the Travis CI configuration that decrypts it and pushes site builds over rsync to staging and production/admin web hosts.

What. The file paynet.example-test-web.pem.enc (1,696 bytes, OpenSSL Salted__ AES-256-CBC ciphertext) is committed across master and release branches. .travis.yml documents the exact before_deploy decryption command referencing a single CI environment passphrase variable (<CI_KEY_PASSPHRASE>), after which script/deploy-rsync.sh runs rsync -vzrlptD --delete-after to deploy _site/ onto www-test.paynet.example (staging) and admin.paynet.example (release). Although Jekyll excludes the key from built HTML, the ciphertext and pipeline remain permanently readable in public git history.

How we found it. Read-only gh api enumeration and shallow cloning of 14 public repositories followed by gitleaks scanning and CI workflow review. Per ROE, no passphrase guessing or key decryption was attempted.

Root cause. Legacy CI/CD key-management practice storing encrypted private key material in a public source repository instead of short-lived OIDC credentials or CI-managed secret stores.

Fig 07 · 3.4 Encrypted RSA deployment key and CI `rsync` pipeline committed to public website repository (`CWE-798`)
Fig 07 · 3.4 Encrypted RSA deployment key and CI `rsync` pipeline committed to public website repository (`CWE-798`)

Impact. Anyone with read access to the public repository holds a permanent offline copy of the encrypted deployment key and knows the exact target hosts and rsync --delete-after command. Any disclosure or offline recovery of the CI passphrase grants immediate web-root write and deletion access on staging and production/admin hosts.

Fix. Revoke and rotate the corresponding SSH public key on www-test.paynet.example, admin.paynet.example, and any other host accepting it; remove .pem.enc from active branches and purge it from git history (or migrate deployment to ephemeral OIDC-authenticated CI runners without committed key files).


3.5 Explorer API disclosing full Node.js stack traces on malformed input (CWE-209)Medium

In plain terms. Sending a malformed request body to the public blockchain explorer API causes the Node.js server to crash the request handler and return a full stack trace, revealing internal node_modules filesystem paths and exact middleware versions.

What. Malformed request bodies submitted to api.paynet.example at /insight-api/addrs/utxo and /insight-api/tx/send returned unredacted Node.js stack traces containing internal server filesystem paths under node_modules and disclosing insight-api version 4.0.8.

How we found it. Input-validation fuzzing against Express/Insight routes discovered during passive and active API enumeration.

Root cause. Express error-handling middleware ran without production error sanitization (NODE_ENV unset or custom error handler omitting stack suppression), forwarding raw exception stack traces to HTTP clients.

Fig 08 · 3.5 Explorer API disclosing full Node.js stack traces on malformed input (`CWE-209`)
Fig 08 · 3.5 Explorer API disclosing full Node.js stack traces on malformed input (`CWE-209`)

Impact. Reliable dependency fingerprinting (insight-api 4.0.8) and internal deployment layout disclosure, accelerating targeted CVE lookup and follow-on exploitation against legacy Node.js components.

Fix. Set NODE_ENV=production, install a centralized Express error handler that returns generic client-safe JSON error messages while logging stack traces server-side only, suppress X-Powered-By, and evaluate upgrading or retiring legacy explorer middleware.


Supplementary triage observations

The following items were recorded during recon and wave synthesis for operational hygiene, not counted as confirmed exploitable vulnerabilities:

ObservationStatusNotes
Unauthenticated GET subscription endpoint without observed rate limitingTriagedObserved during wave synthesis; potential email-flooding/abuse vector pending owner review.
Explorer API endpoints without observed rate limitsTriaged/insight-api/* responded without throttling during active probing; evaluate edge WAF/ALB rate limits.
Passive CNAME takeover candidatesUnverifieddocs.paynet.example (hosted docs), SDK subdomain (GitHub Pages), support subdomain (hosted helpdesk), and CDN aliases flagged for control-plane verification.

4. Kill chain summary

Fig 09 · 4. Kill chain summary
Fig 09 · 4. Kill chain summary
ChainReachedTerminated atData / impact obtained
Testnet faucet install.phpStage 5 (takeover primitive + credential collection)Read-only GET proofs + source verification (no POST write executed)Live MySQL creds, live RPC creds, internal 10.x.x.x RPC host, cold-wallet path, payout config
Faucet reCAPTCHA v2 bypassStage 4 (exploit verification)Benign invalid-address probe (no payout triggered)Confirmed captcha gate is a complete no-op
Grafana public dashboard & /metricsStage 5 (collection)Baked-query boundary + 401 on datasource proxyLive consensus metrics, 10.x.x.x IPs, masternode names, container/ES hosts, user counts
Committed .pem.enc RSA deploy keyStage 2 (weaponize — blocked by ROE)No passphrase cracking or live host deploy attemptedEncrypted key blob, CI decrypt workflow, staging/admin rsync target hostnames
Explorer API stack tracesStage 4 (error disclosure)Malformed-input probe onlyFull Node.js stack traces, internal node_modules paths, insight-api 4.0.8
Bare-origin WordPress / Grafana SSRFStage 2 (refuted)401/404, pubkey SSH, baked-query enforcementNone

5. What the shape of this engagement teaches

Auxiliary testnet infrastructure is often the softest edge of a hardened estate. The primary website behind Cloudflare and nginx, the bare WordPress origins behind auth_basic and key-only SSH, and Grafana's authentication proxy all held. Yet a single forgotten install.php script on a testnet faucet leaked live database and hot-wallet RPC credentials and exposed unauthenticated PHP file writes. Security baselines must cover testnet and developer-support services, not only mainnet and marketing.

Failing open on anti-abuse logic turns convenience tooling into an automated drain. Leaving out a single recaptcha_v2 branch in faucet_valid_captcha() silently disabled bot protection while still rendering the captcha widget to users. Security checks should default to deny whenever a configured provider or branch is unmatched.

Public dashboards leak private network maps unless labels are sanitised. Even a properly patched Grafana instance (12.3.2 OSS) that refuses arbitrary PromQL and blocks datasource proxy requests will still broadcast RFC-1918 addresses, masternode naming conventions, and internal container names if raw Prometheus labels are passed through to public panels.

Commit history is forever; encrypted keys in public repos are technical debt with a single point of failure. Committing an AES-encrypted SSH deploy key alongside its Travis decryption command hands every observer an offline target. Key rotation and ephemeral OIDC deployments remove the static secret altogether.

Distinguishing real primitives from noise protects remediation focus. Separating four refuted hypotheses (Grafana PromQL/ES SSRF, WordPress origin bypasses, commented-out Ansible examples, and an unreachable internal logging host) from the five confirmed findings ensures engineering effort goes straight to the live faucet, telemetry, CI, and API fixes.

PriorityActionWhy firstEffort
1Delete install.php / modules/install/ on the testnet faucet and block setup paths at the web serverCloses unauthenticated credential disclosure and file_put_contents config takeoverVery low
1Rotate the faucet's MySQL credentials and testnet JSON-RPC credentials; audit hot-wallet exposureBoth credential sets were exposed in plaintext via install.phpLow
2Implement fail-closed recaptcha_v2 verification in faucet_valid_captcha() and add payout rate limitsStops unauthenticated automated 5-minute faucet drainingLow
2Rotate SSH deploy keys on www-test.paynet.example and admin.paynet.example; remove .pem.enc and migrate off static CI keysEliminates evergreen public-repo key exposureMedium
3Authenticate or block /grafana/metrics and strip internal instance/node labels from public dashboardsPrevents external leakage of RFC-1918 topology and operational metadataLow
3Enable NODE_ENV=production and sanitize Express error responses on api.paynet.exampleStops stack-trace, path, and middleware version leakageVery low
4Audit passive CNAME targets (docs, SDK, support, CDN) and add rate limits to public API/subscribe routesCloses residual takeover and abuse candidatesLow

Notices

Authorization

This was an authorized security assessment conducted under a written engagement agreement covering the network's external domains, subdomains, APIs, and public source repositories. All testing remained within authorized scope.

Read-only proof discipline governed every destructive-capable surface: the faucet install.php exposure was verified via read-only GET requests and source review of file_put_contents without modifying live configuration files or moving funds; the reCAPTCHA v2 bypass was verified with an invalid destination address so no payout executed; and the committed encrypted deploy key was analysed without attempting decryption or contacting deploy targets for writes.

Redaction

Every client identifier, real hostname, IP address, credential, commit hash, datasource UID, and calendar date in this document has been replaced with a placeholder or generalised.

What was removed:

  • Organisation, cryptocurrency, protocol, consensus-engine, and node-tier names
  • All real domain names, subdomains, and third-party SaaS tenant hostnames
  • All public IP addresses, specific RFC-1918 addresses, port numbers, and autonomous system numbers
  • All usernames, passwords, RPC secrets, database credentials, and wallet file paths
  • All dashboard tokens, Prometheus/Elasticsearch datasource UIDs, build revisions, and git commit hashes
  • Specific testnet chain identifiers, masternode hostnames, and repository names
  • Exact calendar dates and engagement timestamps

What was kept, deliberately: vulnerability classes and CWE identifiers, exact HTTP/network mechanics (setup-wizard GET/POST behaviour, missing recaptcha_v2 branch, Grafana public-dashboard baked-query isolation vs label disclosure, OpenSSL AES-256-CBC rsync CI pattern, Express stack-trace leakage), session counts, and the full confirmed-versus-refuted breakdown. These are transferable defensive lessons and identify nobody.

Placeholders used throughout:

PlaceholderMeaning
paynet.examplePrimary network domain and estate
api.paynet.examplePublic Node.js blockchain explorer API
docs.paynet.exampleDocumentation subdomain (CNAME candidate)
faucet.testnet.paynet.exampleTestnet PHP faucet host
metrics.testnet.paynet.exampleTestnet Grafana monitoring host
logs.testnet.paynet.exampleInternal-only Elasticsearch logging host (NXDOMAIN externally)
www-test.paynet.example / admin.paynet.exampleStaging and release rsync web deploy hosts
10.x.x.x:<port>Redacted internal RFC-1918 endpoint
<redacted>, <db-user>, <rpc-user>, <CI_KEY_PASSPHRASE>Redacted credentials, tokens, or environment variable names

Data handling

No live credentials, passwords, wallet keys, tokens, or datasource UIDs are reproduced. All exposures are documented by class, behavioural proof, and remediation path. No faucet funds were moved and no private user data was collected.

Disclaimer

Findings reflect the state of the tested systems during the engagement window. Security posture changes; a finding reported here does not imply the condition persists today.

Four initial hypotheses are reported as refuted or false positives, not as findings. Those determinations reflect live negative verification against Grafana 12.3.2, bare-origin WordPress servers, internal DNS isolation, and manual source inspection of secret-scanner alerts.

Destructive primitives were proven without execution. Neither the install.php configuration overwrite nor deploy-key decryption was executed against live systems.


Methodology and tooling by BlackBit. Critical testnet faucet takeover and captcha bypass verified under read-only proof discipline alongside four explicitly refuted hypotheses. Published with the client's permission.

More in Web3

← All case studies