CVE-2023-31581 Sureness uses hardcoded key
An attacker can exploit a hardcoded key in the Sureness authentication library to bypass security controls and potentially take over accounts.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2023-31581?
CVE-2023-31581 is a critical vulnerability in n/a, published on 24 Oct 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Dromara Sureness before v1.0.8 was discovered to use a hardcoded key.
Weakness: CWE-798
Which versions are affected by CVE-2023-31581?
2 open source packages ship an affected version, including com.usthe.sureness:sureness-core. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
com.usthe.sureness:sureness-core Maven | All versions | 1.0.8 |
com.usthe.sureness:sureness-core Maven | All versions | 1.0.8 |
Products include Dromara Sureness.
How do I fix CVE-2023-31581?
Upgrade com.usthe.sureness:sureness-core to 1.0.8 or later.
Is CVE-2023-31581 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-31581 exists.
Sources
Also known as GHSA-3j2f-58rq-g6p7.