Predictable Pseudorandom Number Generation via Webhook HMAC Secret Generation in Multiple WSO2 Products Allows Forged Event Payloads (WSO2 WSO2 API Manager)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.36 % · percentile 29 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- WSO2
- NVD status
- Analyzed
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.
Weaknesses (CWE)
- CWE-330 — Use of Insufficiently Random Values
References
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | MEDIUM 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N | WSO2 |
| CVSS 3.1 | MEDIUM 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N | NVD · ed10eef1-636d-4fbe-9993-6890dfa878f8 (Secondary) |
| CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N | NVD · nvd@nist.gov (Primary) |
European references
- ENISA EUVD · EUVD-2026-70453
- GCVE · GCVE-0-2026-3416
Affected configurations (NVD CPE)
cpe:2.3:a:wso2:api_control_plane:*:*:*:*:*:*:*:*≥ 4.5.0 < 4.5.0.53cpe:2.3:a:wso2:api_manager:*:*:*:*:*:*:*:*≥ 4.1.0 < 4.1.0.253cpe:2.3:a:wso2:api_manager:*:*:*:*:*:*:*:*≥ 4.2.0 < 4.2.0.193cpe:2.3:a:wso2:api_manager:*:*:*:*:*:*:*:*≥ 4.3.0 < 4.3.0.104cpe:2.3:a:wso2:api_manager:*:*:*:*:*:*:*:*≥ 4.4.0 < 4.4.0.68cpe:2.3:a:wso2:api_manager:*:*:*:*:*:*:*:*≥ 4.5.0 < 4.5.0.52
Affected products
| Product | Versions |
|---|---|
| WSO2 · WSO2 API Manager | unknown 0 < 4.1.0 ; affected 4.1.0 < 4.1.0.253 ; affected 4.2.0 < 4.2.0.193 ; affected 4.3.0 < 4.3.0.104 ; affected 4.4.0 < 4.4.0.68 ; affected 4.5.0 < 4.5.0.52 |
| WSO2 · WSO2 API Control Plane | affected 4.5.0 < 4.5.0.53 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |