ZeroHour

CVE-2026-3416

moderate

Predictable Webhook HMAC Secrets in WSO2 API Manager and API Control Plane

CVSS 3.1
7.5 high
EPSS
<1%p19
Published
()
Modified
AI analysis

The API Publisher component of WSO2 API Manager and API Control Plane generated shared secrets for Webhook HMAC validation using a non-cryptographic pseudorandom number generator (CWE-330), which lacks sufficient entropy for security-sensitive operations. A remote, unauthenticated attacker able to predict these secrets could forge event payloads carrying valid HMAC signatures, bypassing the API Gateway's authenticity verification. Successful exploitation enables unauthorized event injection, data manipulation, or compromise of downstream systems that trust the webhook events. Affected deployments are those using WSO2 API Manager or API Control Plane where webhook subscriptions were created via API Publisher; specific vulnerable version ranges were not stated in the advisory data. No public PoC exists, the flaw is not in the CISA KEV catalog, and EPSS estimates only a 0.3% chance of exploitation in the next 30 days, so exploitation in the wild is not currently known.

What to do: Apply WSO2's patched builds of API Manager and API Control Plane as soon as they are available, since the fix replaces the weak PRNG with a cryptographically secure random generator. Regenerate all webhook shared secrets and re-register downstream webhook subscriptions, treating every previously generated secret as potentially predictable. Audit API Gateway and webhook receiver logs for events bearing valid HMAC signatures that do not correspond to legitimate publisher activity.

Affected
WSO2 API Manager
WSO2 API Control Plane
Estimated exposure
moderate≈ low thousands of internet-reachable WSO2 deployments, plausibly 10k+ total installations worldwide — WSO2 API Manager is self-hosted enterprise middleware and internet-wide scans typically surface only low-thousands of exposed WSO2 consoles; the truly vulnerable subset is smaller still, since only deployments using API Publisher-created…

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

Description

The API Publisher component previously used a non-cryptographic pseudorandom number generator (PRNG) to create shared secrets for Webhook HMAC validation. This PRNG lacks sufficient entropy for security-sensitive operations, allowing a sophisticated attacker to predict future secrets. This enables malicious actors to forge event payloads with valid HMAC signatures, bypassing the API Gateway's authenticity verification. Successful exploitation could allow an attacker to predict shared secrets used for Webhook HMAC validation and forge event payloads with valid signatures. This may enable bypassing API Gateway authenticity checks, leading to unauthorized event injection, data manipulation, or downstream system compromise.

Vendors
wso2
Products
api control plane, api manager
Weakness
CWE-330
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

In the news

No ingested article mentions this CVE yet.