CVE-2022-35540

Hardcoded JWT Secret in AgileConfig <1.6.8 Server allows remote attackers to use the generated JWT token to gain administrator access

published August 18, 2022

CVSS
—
EPSS
1%
Percentile
73.7
In the wild
Unconfirmed
What it is

⚠️ A hardcoded JWT secret in AgileConfig versions below 1.6.8 is like having the master key to your server lying around for anyone to pick up! 🔑 Imagine leaving your house keys under a doormat labeled 'keys.' An eager visitor can simply walk in without any verification, taking control of everything inside. That’s what this hardcoded secret does for your server! An attacker could exploit this vulnerability to generate a JWT token that grants them full administrator access, allowing them to manipulate settings, access sensitive data, or disrupt services. The implications can be devastating if sensitive configurations are compromised.

Put simply

Imagine leaving your house keys under a doormat labeled 'keys.' An eager visitor can simply walk in without any verification, taking control of everything inside. That’s what this hardcoded secret does for your server! This vulnerability occurs because AgileConfig versions before 1.6.8 have a hardcoded JWT secret that attackers can leverage to create valid authentication tokens without needing legitimate credentials.

What to do

An attacker could exploit this vulnerability to generate a JWT token that grants them full administrator access, allowing them to manipulate settings, access sensitive data, or disrupt services. The implications can be devastating if sensitive configurations are compromised. To remediate this issue, upgrade AgileConfig to version 1.6.8 or later immediately. Additionally, ensure that all JWT secrets are regenerated to prevent unauthorized access using previously issued tokens. Don’t forget to audit your security policies! You've got this! Follow these steps and your server will be fortified in no time! 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.01478 · 73.7th percentile
Published
2022-08-18T22:17Z
EPSS history
Timeline
  • 18 AUG 22:17Z
    Hardcoded JWT Secret in AgileConfig <1.6.8 Server allows remote attackers to use the generated JWT token to gain administrator access
    cvelistv5