ZeroHour

CVE-2026-92749

large1

Predictable Session-Signing Key in SafeLine WAF Enables Admin Session Forgery

CVSS 4.0
9.2 critical
EPSS
Published
()
Modified
AI analysis

SafeLine, an open-source web application firewall, derives the secret used to sign management-console session cookies from a weakly seeded math/rand generator (CWE-338), making the key reconstructable offline. An unauthenticated remote attacker who can narrow the window of when the instance was installed can regenerate the session-signing secret and forge valid administrator session cookies. Successful exploitation grants full admin access to the management console, letting the attacker change WAF rules, inspect or manipulate traffic, and effectively control the protected sites. All SafeLine deployments at version 9.4.1 or earlier are affected, with the greatest risk on instances whose console is internet-facing. No public proof-of-concept or in-the-wild exploitation has been reported, and the flaw is not on CISA's KEV.

What to do: Upgrade SafeLine to a fixed release beyond 9.4.1 as soon as one is available and, where possible, regenerate the console's secret by reinstalling/upgrading. Until patched, restrict the management console to trusted networks (VPN or IP allowlist) and verify it is not exposed to the internet, since the attack requires no credentials or user interaction. Review console logs for unexplained administrator sessions or rule changes that could indicate forged-cookie access.

Affected
Chaitin Tech SafeLine (open-source web application firewall)all versions through 9.4.1
Estimated exposure
large≈10,000–100,000 self-hosted WAF instances (subset of consoles internet-exposed) — estimate — SafeLine is one of the most widely adopted open-source WAFs (heavily self-hosted, especially in China), suggesting deployments in the tens of thousands, but no authoritative install or internet-scan count is in the data, so this is an…

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

Description

SafeLine through 9.4.1 derives the management console session-signing secret from a time-seeded math/rand generator, allowing attackers to reconstruct the key offline. Unauthenticated remote attackers who can bound the install timestamp can regenerate the secret and forge valid administrator session cookies to gain control of protected sites.

Weakness
CWE-338
Vector
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

In the news

No ingested article mentions this CVE yet.