CVE-2022-30935
What it is
An authorization bypass in b2evolution allows remote, unauthenticated attackers to predict password reset tokens for any user through the use of a bad randomness function. This allows the attacker to get valid sessions for arbitrary users, and optionally reset their password. Tested and confirmed in a default installation of version 7.2.3. Earlier versions are affected, possibly earlier major versions as well.
At a glance
- Exploitability
- Can be exploited over the network without logging in. High risk of data exposure, data tampering.
- Exploit odds
- 1.4% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 1.4% in the next 30 days (EPSS).
- Severity: 9.1 CRITICAL (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 1.4% · EPSS, next 30 days
- Weakness
- CWE-330
- Record status
- Modified
Affected
- b2evolution < 7.2.5
Attack profile CVSS 3.1 · 9.1
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- None
Raw vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2022-30935.md and follow it. Check whether this project is affected by CVE-2022-30935. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- https://b2evolution.net/downloads/7-2-5-stable
- https://github.com/b2evolution/b2evolution/blob/master/inc/_core/_misc.funcs.php#L5955
- https://b2evolution.net/downloads/7-2-5-stable
- https://github.com/b2evolution/b2evolution/blob/master/inc/_core/_misc.funcs.php#L5955
References
- https://b2evolution.net/downloads/7-2-5-stable
- https://github.com/b2evolution/b2evolution/blob/master/inc/_core/_misc.funcs.php#L5955
- https://github.com/b2evolution/b2evolution/issues/114
- https://b2evolution.net/downloads/7-2-5-stable
- https://github.com/b2evolution/b2evolution/blob/master/inc/_core/_misc.funcs.php#L5955
- https://github.com/b2evolution/b2evolution/issues/114