CVE-2022-35540 Use of Hard-coded Credentials in AgileConfig.Client
Remote attackers can gain administrator access to AgileConfig servers by exploiting a hardcoded JWT secret.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2022-35540?
CVE-2022-35540 is a critical vulnerability in n/a, published on 18 Aug 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Hardcoded JWT Secret in AgileConfig <1.6.8 Server allows remote attackers to use the generated JWT token to gain administrator access.
Weakness: CWE-798
Which versions are affected by CVE-2022-35540?
2 open source packages ship an affected version, including AgileConfig.Client. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
AgileConfig.Client NuGet | All versions | 1.6.8 |
AgileConfig.Client NuGet | All versions | 1.6.8 |
Products include Dotnetcore Agileconfig.
How do I fix CVE-2022-35540?
Upgrade AgileConfig.Client to 1.6.8 or later.
Is CVE-2022-35540 being exploited?
There is no known exploitation of CVE-2022-35540 in the wild and no public exploit code.
Sources
Also known as GHSA-mj5w-w588-j6xg.