CRITICALvulnerability·

CVE-2026-61500: Rejetto HFS Session Forgery and RCE

A critical vulnerability (CVE-2026-61500) in Rejetto HTTP File Server (HFS) versions 3.0.0 through 3.2.0 allows unauthenticated remote attackers to forge administrator session cookies. This is due to a weak pseudo-random number generator (PRNG) used for session signing keys and its output being disclosed. Successful exploitation leads to full administrative access and remote code execution via the `server_code` configuration feature.

This report was researched and drafted by an AI agent and reviewed by a human analyst prior to publication. View the agent workflow →
Indicators of Compromise(1)
↓ Download STIX
Domainnewpayapp.com

Overview

CVE-2026-61500 is a critical vulnerability affecting Rejetto HTTP File Server (HFS) versions 3.0.0 through 3.2.0. An unauthenticated remote attacker can exploit a weak pseudo-random number generator (PRNG) to recover the session-cookie signing key, forge an administrator session, and achieve remote code execution (RCE). This vulnerability poses a significant risk due to its low attack complexity and lack of required authentication or user interaction, earning a CVSS 3.1 score of 9.8 (CRITICAL).

Technical Analysis

Rejetto HFS versions 3.0.0 through 3.2.0 are vulnerable to session forgery and subsequent remote code execution.

  • Vulnerability Type: Use of Cryptographically Weak Pseudo-Random Number Generator (CWE-338).
  • Affected Versions: rejetto http_file_server versions >= 3.0.0 < 3.2.1.
  • Mechanism: The application derives its session-cookie signing key from the non-cryptographic Math.random() generator. Furthermore, outputs of this same generator are disclosed to unauthenticated clients during login responses.
  • Exploitation: A remote attacker can collect a small number of login responses, reconstruct the generator’s state, and subsequently recover the session-cookie signing key. With the signing key, the attacker can forge a valid administrator session cookie.
  • Impact: Forged administrator sessions grant full administrative access, enabling remote code execution via the server_code configuration feature.
  • Attack Vector: Network (AV:N), Low Attack Complexity (AC:L), No Privileges Required (PR:N), No User Interaction (UI:N).

Detection

Defenders can identify potential exploitation attempts by monitoring for the following:

  • Suspicious Process Creation: Monitor for unusual child processes spawned by the hfs.exe process, such as cmd.exe, powershell.exe, sh, python.exe, mshta.exe, cscript.exe, wscript.exe, bitsadmin.exe, certutil.exe, or regsvr32.exe.
  • Web Server Log Anomalies: Look for unauthenticated or unusual requests to administrative endpoints or the server_code configuration feature in HFS web access logs, especially if originating from external or unexpected IP addresses.
  • Configuration File Changes: Monitor for unauthorized or unexpected modifications to HFS configuration files, which could indicate successful administrative access.
  • Authentication Failures followed by Success: Observe sequences of failed login attempts followed immediately by successful administrator logins from the same source IP, which could indicate a brute-force or session forgery attempt.

Sigma Detection Rules

⚠️ AI-generated detection rules. These are experimental starting points. Review field names, EventIDs, and logic against your environment’s schema before deploying. Tune to reduce false positives.

Rejetto HFS Suspicious Child Process Spawn

title: Rejetto HFS Suspicious Child Process Spawn
id: 902d1f1c-d7e7-4c8d-8e4a-1e2f7c2a1b2c
status: experimental
description: Detects suspicious process creation originating from the Rejetto HFS process, indicative of successful RCE exploitation via CVE-2026-61500.
logsource:
  product: windows
  service: sysmon
detection:
  selection:
    ParentImage|endswith: '\\hfs.exe'
    Image|endswith:
      - '\\cmd.exe'
      - '\\powershell.exe'
      - '\\pwsh.exe'
      - '\\mshta.exe'
      - '\\cscript.exe'
      - '\\wscript.exe'
      - '\\bitsadmin.exe'
      - '\\certutil.exe'
      - '\\regsvr32.exe'
      - '\\python.exe'
  condition: selection
level: critical

Rejetto HFS Web Access to Server Code Endpoint

title: Rejetto HFS Web Access to Server Code Endpoint
id: 7e7a7a7a-7e7a-7e7a-7e7a-7e7a7e7a7e7a
status: experimental
description: Detects POST requests to the 'server_code' endpoint in Rejetto HFS, which could indicate an attempt to execute arbitrary code after session forgery (CVE-2026-61500).
logsource:
  category: webserver
detection:
  selection:
    cs-method: 'POST'
    cs-uri-stem|contains: '/server_code'
  condition: selection
level: high

Mitigations

Prioritize the following actions to mitigate the risk posed by CVE-2026-61500:

  1. Patch Immediately: Upgrade Rejetto HTTP File Server to version 3.2.1 or later. This version addresses the weak PRNG vulnerability.
  2. Restrict Network Access: Limit network access to HFS instances to only trusted internal networks and necessary administrative hosts. Avoid exposing HFS directly to the internet if not absolutely required.
  3. Implement Network Segmentation: Isolate HFS servers within a dedicated network segment to minimize potential lateral movement in case of compromise.
  4. Monitor Logs: Regularly review HFS access logs, system logs, and security event logs for any signs of suspicious activity or unauthorized access attempts.

References

  • https://nvd.nist.gov/vuln/detail/CVE-2026-61500
  • https://github.com/rejetto/hfs/releases/tag/v3.2.1
  • https://www.vulncheck.com/advisories/rejetto-hfs-session-forgery-via-predictable-signing-key
  • https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-61500
  • https://www.greynoise.io/blog/check-point-security-management-servers-intrusion-campaign
  • https://ltna.com.au/cyber

Indicators of Compromise

Type Value Description
Domain newpayapp.com Domain intended for downloading the ‘ZULT’ Linux implant (via https://www.greynoise.io/blog/check-point-security-management-servers-intrusion-campaign)

MITRE ATT&CK

  • T1550.001 — Application Access Token
  • T1059 — Command and Scripting Interpreter
  • T1110.001 — Password Guessing
  • T1133 — External Remote Services
  • T1003.002 — Security Account Manager
  • T1021.004 — SSH
  • T1140 — Deobfuscate/Decode Files or Information
  • T1190 — Exploit Public-Facing Application
  • T1572 — Protocol Tunneling
  • T1562.004 — Disable or Modify System Firewall
  • T1595.002 — Vulnerability Scanning
  • T1552.004 — Private Keys
  • T1110.003 — Password Spraying
  • T1049 — System Network Connections Discovery
  • T1210 — Exploitation of Remote Services
  • T1078 — Valid Accounts
  • T1548.004 — Elevated Execution with Prompt
  • T1059.006 — Python
  • T1071.001 — Web Protocols
  • T1018 — Remote System Discovery
  • T1046 — Network Service Discovery
  • T1105 — Ingress Tool Transfer
🤖 AI Attribution
Generated by gemini-2.5-flash ·
2,224 input / 1,726 output tokens ·
Reviewed and approved by a human analyst before publication
#vulnerability#critical#cwe-338#hfs#rce#rejetto#session-forgery#vulnerability#web-server