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.
| Domain | newpayapp.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_serverversions>= 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_codeconfiguration 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.exeprocess, such ascmd.exe,powershell.exe,sh,python.exe,mshta.exe,cscript.exe,wscript.exe,bitsadmin.exe,certutil.exe, orregsvr32.exe. - Web Server Log Anomalies: Look for unauthenticated or unusual requests to administrative endpoints or the
server_codeconfiguration 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
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:
- Patch Immediately: Upgrade Rejetto HTTP File Server to version
3.2.1or later. This version addresses the weak PRNG vulnerability. - 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.
- Implement Network Segmentation: Isolate HFS servers within a dedicated network segment to minimize potential lateral movement in case of compromise.
- 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 TokenT1059— Command and Scripting InterpreterT1110.001— Password GuessingT1133— External Remote ServicesT1003.002— Security Account ManagerT1021.004— SSHT1140— Deobfuscate/Decode Files or InformationT1190— Exploit Public-Facing ApplicationT1572— Protocol TunnelingT1562.004— Disable or Modify System FirewallT1595.002— Vulnerability ScanningT1552.004— Private KeysT1110.003— Password SprayingT1049— System Network Connections DiscoveryT1210— Exploitation of Remote ServicesT1078— Valid AccountsT1548.004— Elevated Execution with PromptT1059.006— PythonT1071.001— Web ProtocolsT1018— Remote System DiscoveryT1046— Network Service DiscoveryT1105— Ingress Tool Transfer
Generated by
gemini-2.5-flash ·2,224 input / 1,726 output tokens ·
Reviewed and approved by a human analyst before publication