# CVE-2021-22948: Vulnerability in the generation of session IDs in revive-adserver < 5.3.0, based on the cryptographically insecure uniqid() PHP function.

- Severity: High 7.1 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.71%, higher than 86% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-09-23T12:44:20.000Z
- Modified: 2026-06-17T03:38:05.443Z
- Weaknesses: CWE-79, CWE-338
- Assigned by: hackerone

## Description

Vulnerability in the generation of session IDs in revive-adserver < 5.3.0, based on the cryptographically insecure uniqid() PHP function. Under some circumstances, an attacker could theoretically be able to brute force session IDs in order to take over a specific account.

(As written by CVE List.)

## Affected

- https://github.com/revive-adserver/revive-adserver: Fixed version v5.3.0
- revive-adserver revive_adserver: before 5.3.0; 5.3.0

## Every score

- NVD: CVSS:3.1 7.1 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N`
- NVD: CVSS:2.0 4.3 Medium `AV:N/AC:M/Au:N/C:P/I:N/A:N`

## References

- <https://hackerone.com/reports/1187820> (exploit, third-party-advisory)
- <https://www.revive-adserver.com/security/revive-sa-2021-005/> (patch, vendor-advisory)

## Sources

- CVE List: [CVE-2021-22948](https://www.cve.org/CVERecord?id=CVE-2021-22948), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2021-22948](https://nvd.nist.gov/vuln/detail/CVE-2021-22948), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-22948 · Whole record: https://cve.day/CVE-2021-22948.json · Rebuilt by cve.day 2026-11-25T22:58:04.134Z
