How to Find Forgotten Internet-Facing Services in Your Cloud Accounts: A Rejetto HFS Use-Case

Nobody puts “small file-sharing server” on the architecture diagram. Someone starts one on a cloud VM to move a few large files between teams, it works, and six months later it is still running with a public IP and a password nobody remembers. That is the kind of system now in the news. Rejetto HFS, a lightweight HTTP file server, has a critical authentication flaw, CVE-2026-61500, that is being exploited. Reporting says compromised HFS servers are being used as relays to attack other targets. This article is a practical use-case: how to find forgotten internet-facing services in your cloud accounts, using HFS as the worked example, and what to do with the list once you have it.

What happened

  • The flaw. The CVE record (CNA: VulnCheck, CWE-338) says HFS 3.0.0 through 3.2.0 derives its session-cookie signing key from JavaScript’s non-cryptographic Math.random(). A remote attacker who collects a few login responses can reconstruct the generator’s state, recover the key, and forge an administrator session cookie. Admin access then gives remote code execution through HFS’s server_code configuration feature. No credentials are needed. CVSS v4 score: 9.3 (Critical).
  • The fix. HFS 3.2.1 (released 13 July 2026) replaces the key with 32 random bytes from Node.js randomBytes(). Reporting cites 3.3.4 as the current stable release. HFS 2.x is a separate codebase with its own, older problems and is not covered by this CVE.
  • Who found it. Horizon3.ai reported that it found the weakness in June using Anthropic’s Mythos AI model and published a technical write-up with a proof of concept on 30 September.
  • Exploitation. VulnCheck reported reconnaissance against its honeypots from early October and counted roughly 100 internet-facing HFS instances. On 30 November CISA added the CVE to its Known Exploited Vulnerabilities (KEV) catalog. The Hacker News reports GreyNoise saw compromised HFS servers used as relays in a campaign against firewall management servers, and gives a federal remediation deadline of 3 December.

A patch has been available for almost five months. The servers still exposed are mostly not ones a team chose to leave unpatched. They are ones nobody knew to patch.

Why “forgotten” is the real vulnerability

Your vulnerability scanner can only test what is on its target list. Your patch process can only update what is in its inventory. A service that someone started outside the normal process misses all of these:

  1. It isn’t in the CMDB, because it was never requested.
  2. It isn’t in the scanner scope, because the scope is built from the CMDB or from known subnets.
  3. It has no owner, so the KEV alert goes to nobody.
  4. It often sits in a trusted network position. A VM in your cloud account can usually reach internal addresses and other workloads that the open internet cannot.

Point 4 is why the relay reporting matters. An attacker who controls your forgotten server gets a source address inside your environment, and traffic from it can look legitimate to anything that allowlists your own IP ranges. We covered how much damage that path can do when it reaches management interfaces in our management-plane exposure checklist.

Use-case: finding forgotten internet-facing services, step by step

The goal is one list: every service reachable from the internet in every cloud account you own, with an owner next to it. Work from the outside in, then from the inside out, and compare the results.

Step 1: Enumerate every account and subscription

Forgotten services live in forgotten accounts: the sandbox, the proof of concept, the account from an acquisition. List them from the organisation level (AWS Organizations, Azure Management Groups, GCP Organization) rather than from what your team usually logs into. Any account you cannot list resources in is a finding on its own.

Step 2: List everything with a public address

In each account, collect public IPs and public DNS names: elastic/static IPs, VMs with ephemeral public IPs, load balancers, and DNS records in your hosted zones that point at them. Include DNS records that point at addresses you no longer own. Those are a separate risk (subdomain takeover), but they turn up in the same search.

Step 3: Find what is actually allowed in

A public IP only matters if traffic can reach a listening port. Look for inbound rules open to 0.0.0.0/0 or ::/0. In AWS, for example:

aws ec2 describe-security-groups \
  --filters Name=ip-permission.cidr,Values=0.0.0.0/0 \
  --query "SecurityGroups[].{id:GroupId,name:GroupName,vpc:VpcId}"

Do the same for Azure NSGs and GCP firewall rules. Pay most attention to rules that open non-standard ports or wide port ranges. A “temporary” rule opening 8000–9000 is where small tools tend to sit.

Step 4: Identify what is listening, on hosts you own

From an authorised scanning host, check the open ports on your own public addresses and record the service banner. HFS, like many small tools, identifies itself in its web interface. Only scan address ranges you own or are explicitly authorised to test.

Step 5: Compare with what you think you run

Any service from step 4 that has no matching entry in your CMDB, asset register or infrastructure-as-code is your shortlist. Add the obvious red flags: no tags, a creator who has left the company, or an instance launched by hand rather than through your pipeline.

Step 6: Assign an owner or switch it off

Each item needs an owner within a day. If nobody claims it, take a snapshot for evidence, remove the public exposure and wait to see who complains. That is usually quicker than finding the original requester.

If you find HFS

  1. Upgrade to the current HFS 3.x release (3.2.1 or later fixes this flaw), or shut the service down if nobody needs it.
  2. Assume compromise if the version was 3.0.0–3.2.0 and it was reachable from the internet after late September. Review the HFS admin configuration for unexpected server_code, check for new processes and outbound connections, and rotate any credentials stored on or reachable from that VM.
  3. Check what the host could reach. If it could reach management interfaces, other VMs or cloud metadata, include those in your review.

Impact assessment

  • Likelihood: High for any exposed HFS 3.0.0–3.2.0 instance. A public PoC exists, exploitation is confirmed, and the flaw needs no credentials.
  • Blast radius: Medium to high. It depends less on HFS and more on where the VM sits: what it can reach, which role it holds, and which secrets are on disk.
  • Who should care most: teams with shared or sandbox cloud accounts, engineering-led organisations where people can launch their own VMs, and anyone who has had an acquisition in the past few years.

The CloudShieldSecure perspective

At CloudKonsult, we built CloudShieldSecure for this situation: a KEV entry lands and the useful question is not “is the product affected?” but “do we run it anywhere, and who owns it?” CloudShieldSecure keeps a continuous inventory across your cloud accounts of internet-facing assets, the rules that expose them and the identities attached to them. That puts step 5 (what is running that nobody registered) and step 3 of the response (what the host could reach) on one screen instead of in three teams’ spreadsheets.

It won’t patch HFS for you, and no tool removes the need for an owner. What it does is reduce the time between “CISA added a CVE” and “here is our exposure list, with names next to it”. That matters most when, as here, the federal deadline is three days after the KEV entry.

If yesterday’s Q-Dir supply chain article was about the endpoint you knew about but couldn’t trust, this one is about the server you didn’t know you had. Both end with the same question: what could it reach?

  1. Search all cloud accounts for HFS and any other self-hosted file-sharing tools; upgrade or remove them.
  2. Treat any HFS 3.0.0–3.2.0 instance exposed since late September as potentially compromised.
  3. Run steps 1–5 above across all accounts, not only production.
  4. Remove 0.0.0.0/0 rules on non-standard ports unless someone named owns them.
  5. Make “internet-facing service with no owner” a standing weekly report, not a one-off exercise.

Sources & references

Assess your security posture today

CloudShield Secure scans, validates, and prioritises threats across your entire attack surface.

Explore CloudShield Secure →
← Q-Dir and DesktopOK Supply Chain Attack: When the … Serverless Patch Management: How to Check Your App … →