← Back to CVE Explorer

CVE-2024-8122

Full vulnerability record from the local CVENow database.

Description

The WSO2 Identity Server fails to enforce a default expiry time for SMS One-Time Passwords (OTPs) used in multi-factor authentication (MFA). This allows unused OTPs to remain valid indefinitely, presenting an opportunity for malicious actors to conduct brute force attacks by repeatedly guessing the OTP. The absence of automatic expiration for OTPs grants attackers an unlimited timeframe to attempt guessing the correct code. A successful brute force attack can lead to an MFA bypass, resulting in the unauthorized takeover of a user's account and compromising the security and privacy of both the individual and the system.

Severity
MEDIUM
CVSS score
5.9 (v3.1)
Vulnerability status
Deferred
Source identifier
ed10eef1-636d-4fbe-9993-6890dfa878f8
Published
2026-10-08 01:16:32.037000
Last modified
2026-11-09 10:10:00.217000
View original CVE JSON
{
  "id": "CVE-2024-8122",
  "sourceIdentifier": "ed10eef1-636d-4fbe-9993-6890dfa878f8",
  "published": "2026-10-08T01:16:32.037",
  "lastModified": "2026-11-09T10:10:00.217",
  "vulnStatus": "Deferred",
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "The WSO2 Identity Server fails to enforce a default expiry time for SMS One-Time Passwords (OTPs) used in multi-factor authentication (MFA). This allows unused OTPs to remain valid indefinitely, presenting an opportunity for malicious actors to conduct brute force attacks by repeatedly guessing the OTP.\n\nThe absence of automatic expiration for OTPs grants attackers an unlimited timeframe to attempt guessing the correct code. A successful brute force attack can lead to an MFA bypass, resulting in the unauthorized takeover of a user's account and compromising the security and privacy of both the individual and the system."
    },
    {
      "lang": "es",
      "value": "El WSO2 Identity Server no impone un tiempo de expiración predeterminado para los contraseñas de un solo uso (OTP) por SMS utilizados en la autenticación multifactor (MFA). Esto permite que los OTP no utilizados permanezcan válidos indefinidamente, ofreciendo a los actores maliciosos la oportunidad de realizar ataques de fuerza bruta adivinando repetidamente el OTP.\\n\\nLa ausencia de expiración automática de los OTP otorga a los atacantes un marco de tiempo ilimitado para intentar adivinar el código correcto. Un ataque de fuerza bruta exitoso puede conducir a eludir la MFA, lo que resulta en la toma no autorizada de la cuenta de un usuario y compromete la seguridad y privacidad tanto del individuo como del sistema."
    }
  ],
  "affected": [
    {
      "source": "ed10eef1-636d-4fbe-9993-6890dfa878f8",
      "affectedData": [
        {
          "vendor": "WSO2",
          "product": "WSO2 Identity Server",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "0",
              "lessThan": "5.11.0",
              "versionType": "custom",
              "status": "unknown"
            },
            {
              "version": "5.11.0",
              "lessThan": "5.11.0.372",
              "versionType": "custom",
              "status": "affected"
            },
            {
              "version": "6.0.0",
              "lessThan": "6.0.0.227",
              "versionType": "custom",
              "status": "affected"
            },
            {
              "version": "6.1.0",
              "lessThan": "6.1.0.219",
              "versionType": "custom",
              "status": "affected"
            }
          ]
        }
      ]
    }
  ],
  "metrics": {
    "cvssMetricV31": [
      {
        "source": "ed10eef1-636d-4fbe-9993-6890dfa878f8",
        "type": "Secondary",
        "cvssData": {
          "version": "3.1",
          "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N",
          "baseScore": 5.9,
          "baseSeverity": "MEDIUM",
          "attackVector": "NETWORK",
          "attackComplexity": "HIGH",
          "privilegesRequired": "NONE",
          "userInteraction": "NONE",
          "scope": "UNCHANGED",
          "confidentialityImpact": "HIGH",
          "integrityImpact": "NONE",
          "availabilityImpact": "NONE"
        },
        "exploitabilityScore": 2.2,
        "impactScore": 3.6
      }
    ],
    "ssvcV203": [
      {
        "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "ssvcData": {
          "timestamp": "2026-10-08T17:13:30.802405Z",
          "id": "CVE-2024-8122",
          "options": [
            {
              "exploitation": "none"
            },
            {
              "automatable": "no"
            },
            {
              "technicalImpact": "partial"
            }
          ],
          "role": "CISA Coordinator",
          "version": "2.0.3"
        }
      }
    ]
  },
  "weaknesses": [
    {
      "source": "ed10eef1-636d-4fbe-9993-6890dfa878f8",
      "type": "Secondary",
      "description": [
        {
          "lang": "en",
          "value": "CWE-613"
        }
      ]
    }
  ],
  "references": [
    {
      "url": "https://security.docs.wso2.com/en/latest/security-announcements/security-advisories/2026/WSO2-2024-3149/",
      "source": "ed10eef1-636d-4fbe-9993-6890dfa878f8"
    }
  ]
}