GSD-2021-31408

Vulnerability from gsd - Updated: 2023-12-13 01:23
Details
Authentication.logout() helper in com.vaadin:flow-client versions 5.0.0 prior to 6.0.0 (Vaadin 18), and 6.0.0 through 6.0.4 (Vaadin 19.0.0 through 19.0.3) uses incorrect HTTP method, which, in combination with Spring Security CSRF protection, allows local attackers to access Fusion endpoints after the user attempted to log out.
Aliases
Aliases

{
  "GSD": {
    "alias": "CVE-2021-31408",
    "description": "Authentication.logout() helper in com.vaadin:flow-client versions 5.0.0 prior to 6.0.0 (Vaadin 18), and 6.0.0 through 6.0.4 (Vaadin 19.0.0 through 19.0.3) uses incorrect HTTP method, which, in combination with Spring Security CSRF protection, allows local attackers to access Fusion endpoints after the user attempted to log out.",
    "id": "GSD-2021-31408"
  },
  "gsd": {
    "metadata": {
      "exploitCode": "unknown",
      "remediation": "unknown",
      "reportConfidence": "confirmed",
      "type": "vulnerability"
    },
    "osvSchema": {
      "aliases": [
        "CVE-2021-31408"
      ],
      "details": "Authentication.logout() helper in com.vaadin:flow-client versions 5.0.0 prior to 6.0.0 (Vaadin 18), and 6.0.0 through 6.0.4 (Vaadin 19.0.0 through 19.0.3) uses incorrect HTTP method, which, in combination with Spring Security CSRF protection, allows local attackers to access Fusion endpoints after the user attempted to log out.",
      "id": "GSD-2021-31408",
      "modified": "2023-12-13T01:23:12.974919Z",
      "schema_version": "1.4.0"
    }
  },
  "namespaces": {
    "cve.org": {
      "CVE_data_meta": {
        "AKA": "",
        "ASSIGNER": "security@vaadin.com",
        "DATE_PUBLIC": "2021-04-20T08:17:00.000Z",
        "ID": "CVE-2021-31408",
        "STATE": "PUBLIC",
        "TITLE": "Server session is not invalidated when logout() helper method of Authentication module is used in Vaadin 18-19"
      },
      "affects": {
        "vendor": {
          "vendor_data": [
            {
              "product": {
                "product_data": [
                  {
                    "product_name": "Vaadin",
                    "version": {
                      "version_data": [
                        {
                          "platform": "",
                          "version_affected": "\u003e=",
                          "version_name": "",
                          "version_value": "18.0.0"
                        },
                        {
                          "platform": "",
                          "version_affected": "\u003c",
                          "version_name": "",
                          "version_value": "19.0.0"
                        },
                        {
                          "platform": "",
                          "version_affected": "\u003e=",
                          "version_name": "",
                          "version_value": "19.0.0"
                        },
                        {
                          "platform": "",
                          "version_affected": "\u003c=",
                          "version_name": "",
                          "version_value": "19.0.3"
                        }
                      ]
                    }
                  },
                  {
                    "product_name": "flow-client",
                    "version": {
                      "version_data": [
                        {
                          "platform": "",
                          "version_affected": "\u003e=",
                          "version_name": "",
                          "version_value": "5.0.0"
                        },
                        {
                          "platform": "",
                          "version_affected": "\u003c",
                          "version_name": "",
                          "version_value": "6.0.0"
                        },
                        {
                          "platform": "",
                          "version_affected": "\u003e=",
                          "version_name": "",
                          "version_value": "6.0.0"
                        },
                        {
                          "platform": "",
                          "version_affected": "\u003c=",
                          "version_name": "",
                          "version_value": "6.0.4"
                        }
                      ]
                    }
                  }
                ]
              },
              "vendor_name": "Vaadin"
            }
          ]
        }
      },
      "configuration": [],
      "credit": [],
      "data_format": "MITRE",
      "data_type": "CVE",
      "data_version": "4.0",
      "description": {
        "description_data": [
          {
            "lang": "eng",
            "value": "Authentication.logout() helper in com.vaadin:flow-client versions 5.0.0 prior to 6.0.0 (Vaadin 18), and 6.0.0 through 6.0.4 (Vaadin 19.0.0 through 19.0.3) uses incorrect HTTP method, which, in combination with Spring Security CSRF protection, allows local attackers to access Fusion endpoints after the user attempted to log out."
          }
        ]
      },
      "exploit": [],
      "generator": {
        "engine": "Vulnogram 0.0.9"
      },
      "impact": {
        "cvss": {
          "attackComplexity": "HIGH",
          "attackVector": "LOCAL",
          "availabilityImpact": "NONE",
          "baseScore": 6.3,
          "baseSeverity": "MEDIUM",
          "confidentialityImpact": "HIGH",
          "integrityImpact": "HIGH",
          "privilegesRequired": "NONE",
          "scope": "UNCHANGED",
          "userInteraction": "REQUIRED",
          "vectorString": "CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N",
          "version": "3.1"
        }
      },
      "problemtype": {
        "problemtype_data": [
          {
            "description": [
              {
                "lang": "eng",
                "value": "CWE-613 Insufficient Session Expiration"
              }
            ]
          }
        ]
      },
      "references": {
        "reference_data": [
          {
            "name": "https://vaadin.com/security/cve-2021-31408",
            "refsource": "MISC",
            "url": "https://vaadin.com/security/cve-2021-31408"
          },
          {
            "name": "https://github.com/vaadin/flow/pull/10577",
            "refsource": "MISC",
            "url": "https://github.com/vaadin/flow/pull/10577"
          }
        ]
      },
      "solution": [],
      "source": {
        "advisory": "",
        "defect": [],
        "discovery": "INTERNAL"
      },
      "work_around": []
    },
    "gitlab.com": {
      "advisories": [
        {
          "affected_range": "[5.0.0,6.0.0)[6.0.0,6.0.4]",
          "affected_versions": "All versions starting from 5.0.0 through 6.0.4",
          "cvss_v2": "AV:L/AC:M/Au:N/C:P/I:P/A:N",
          "cvss_v3": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N",
          "cwe_ids": [
            "CWE-1035",
            "CWE-613",
            "CWE-937"
          ],
          "date": "2021-05-04",
          "description": "`Authentication.logout()` helper in `com.vaadin:flow-client` uses incorrect HTTP method, which, in combination with Spring Security CSRF protection, allows local attackers to access Fusion endpoints after the user attempted to log out.",
          "fixed_versions": [
            "6.0.5"
          ],
          "identifier": "CVE-2021-31408",
          "identifiers": [
            "CVE-2021-31408"
          ],
          "not_impacted": "All versions starting from 6.0.5",
          "package_slug": "maven/com.vaadin/flow-client",
          "pubdate": "2021-04-23",
          "solution": "Upgrade to version 6.0.5 or above",
          "title": "Insufficient Session Expiration",
          "urls": [
            "https://nvd.nist.gov/vuln/detail/CVE-2021-31408",
            "https://vaadin.com/security/cve-2021-31408"
          ],
          "uuid": "f39b7a99-180d-4845-aaab-bf419e1f12ad"
        },
        {
          "affected_range": "[5.0.0,6.0.0)",
          "affected_versions": "All versions starting from 5.0.0 before 6.0.0",
          "cvss_v2": "AV:L/AC:M/Au:N/C:P/I:P/A:N",
          "cvss_v3": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N",
          "cwe_ids": [
            "CWE-1035",
            "CWE-613",
            "CWE-937"
          ],
          "date": "2021-05-04",
          "description": "`Authentication.logout()` uses incorrect HTTP method, which, in combination with Spring Security CSRF protection, allows local attackers to access Fusion endpoints after the user attempted to log out.",
          "fixed_versions": [
            "6.0.0"
          ],
          "identifier": "CVE-2021-31408",
          "identifiers": [
            "CVE-2021-31408"
          ],
          "not_impacted": "All versions before 5.0.0, all versions starting from 6.0.0",
          "package_slug": "maven/com.vaadin/flow",
          "pubdate": "2021-04-23",
          "solution": "Upgrade to version 6.0.0 or above.",
          "title": "Insufficient Session Expiration",
          "urls": [
            "https://nvd.nist.gov/vuln/detail/CVE-2021-31408",
            "https://vaadin.com/security/cve-2021-31408"
          ],
          "uuid": "c327ae0a-68c1-4873-97af-81988bb762e0"
        },
        {
          "affected_range": "[18.0.0,19.0.4)",
          "affected_versions": "All versions starting from 18.0.0 before 19.0.4",
          "cvss_v2": "AV:L/AC:M/Au:N/C:P/I:P/A:N",
          "cvss_v3": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N",
          "cwe_ids": [
            "CWE-1035",
            "CWE-352",
            "CWE-613",
            "CWE-937"
          ],
          "date": "2021-05-05",
          "description": "Authentication.logout() helper in com.vaadin:flow-client versions 5.0.0 prior to 6.0.0 (Vaadin 18), and 6.0.0 through 6.0.4 (Vaadin 19.0.0 through 19.0.3) uses incorrect HTTP method, which, in combination with Spring Security CSRF protection, allows local attackers to access Fusion endpoints after the user attempted to log out.",
          "fixed_versions": [
            "19.0.4"
          ],
          "identifier": "CVE-2021-31408",
          "identifiers": [
            "GHSA-mr8h-j9cv-4m8h",
            "CVE-2021-31408"
          ],
          "not_impacted": "All versions before 18.0.0, all versions starting from 19.0.4",
          "package_slug": "maven/com.vaadin/vaadin-bom",
          "pubdate": "2021-04-22",
          "solution": "Upgrade to version 19.0.4 or above.",
          "title": "Insufficient Session Expiration",
          "urls": [
            "https://github.com/vaadin/platform/security/advisories/GHSA-mr8h-j9cv-4m8h",
            "https://nvd.nist.gov/vuln/detail/CVE-2021-31408",
            "https://github.com/vaadin/flow/pull/10577",
            "https://vaadin.com/security/cve-2021-31408",
            "https://github.com/advisories/GHSA-mr8h-j9cv-4m8h"
          ],
          "uuid": "8b909034-460c-4573-85da-39b3d341b482"
        },
        {
          "affected_range": "[18.0.0,19.0.4)",
          "affected_versions": "All versions starting from 18.0.0 up to 19.0.4",
          "cvss_v2": "AV:L/AC:M/Au:N/C:P/I:P/A:N",
          "cvss_v3": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N",
          "cwe_ids": [
            "CWE-1035",
            "CWE-613",
            "CWE-937"
          ],
          "date": "2021-05-04",
          "description": "The `Authentication.logout()` helper in `com.vaadin:flow-client` uses an incorrect HTTP method, which, in combination with Spring Security CSRF protection, allows local attackers to access Fusion endpoints after the user attempted to log out.",
          "fixed_versions": [
            "19.0.4"
          ],
          "identifier": "CVE-2021-31408",
          "identifiers": [
            "CVE-2021-31408"
          ],
          "not_impacted": "All versions starting from 19.0.4",
          "package_slug": "maven/com.vaadin/vaadin-server",
          "pubdate": "2021-04-23",
          "solution": "Upgrade to version 19.0.4 or above",
          "title": "Insufficient Session Expiration",
          "urls": [
            "https://nvd.nist.gov/vuln/detail/CVE-2021-31408",
            "https://vaadin.com/security/cve-2021-31408"
          ],
          "uuid": "4d787934-ff04-4644-bdc8-e5aa706b4be3"
        }
      ]
    },
    "nvd.nist.gov": {
      "configurations": {
        "CVE_data_version": "4.0",
        "nodes": [
          {
            "children": [],
            "cpe_match": [
              {
                "cpe23Uri": "cpe:2.3:a:vaadin:flow:*:*:*:*:*:*:*:*",
                "cpe_name": [],
                "versionEndExcluding": "6.0.0",
                "versionStartIncluding": "5.0.0",
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:vaadin:flow:*:*:*:*:*:*:*:*",
                "cpe_name": [],
                "versionEndExcluding": "6.0.5",
                "versionStartIncluding": "6.0.0",
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:vaadin:vaadin:18.0.0:-:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:vaadin:vaadin:*:*:*:*:*:*:*:*",
                "cpe_name": [],
                "versionEndExcluding": "19.0.4",
                "versionStartIncluding": "19.0.0",
                "vulnerable": true
              }
            ],
            "operator": "OR"
          }
        ]
      },
      "cve": {
        "CVE_data_meta": {
          "ASSIGNER": "security@vaadin.com",
          "ID": "CVE-2021-31408"
        },
        "data_format": "MITRE",
        "data_type": "CVE",
        "data_version": "4.0",
        "description": {
          "description_data": [
            {
              "lang": "en",
              "value": "Authentication.logout() helper in com.vaadin:flow-client versions 5.0.0 prior to 6.0.0 (Vaadin 18), and 6.0.0 through 6.0.4 (Vaadin 19.0.0 through 19.0.3) uses incorrect HTTP method, which, in combination with Spring Security CSRF protection, allows local attackers to access Fusion endpoints after the user attempted to log out."
            }
          ]
        },
        "problemtype": {
          "problemtype_data": [
            {
              "description": [
                {
                  "lang": "en",
                  "value": "CWE-613"
                }
              ]
            }
          ]
        },
        "references": {
          "reference_data": [
            {
              "name": "https://github.com/vaadin/flow/pull/10577",
              "refsource": "MISC",
              "tags": [
                "Patch",
                "Third Party Advisory"
              ],
              "url": "https://github.com/vaadin/flow/pull/10577"
            },
            {
              "name": "https://vaadin.com/security/cve-2021-31408",
              "refsource": "MISC",
              "tags": [
                "Vendor Advisory"
              ],
              "url": "https://vaadin.com/security/cve-2021-31408"
            }
          ]
        }
      },
      "impact": {
        "baseMetricV2": {
          "acInsufInfo": false,
          "cvssV2": {
            "accessComplexity": "MEDIUM",
            "accessVector": "LOCAL",
            "authentication": "NONE",
            "availabilityImpact": "NONE",
            "baseScore": 3.3,
            "confidentialityImpact": "PARTIAL",
            "integrityImpact": "PARTIAL",
            "vectorString": "AV:L/AC:M/Au:N/C:P/I:P/A:N",
            "version": "2.0"
          },
          "exploitabilityScore": 3.4,
          "impactScore": 4.9,
          "obtainAllPrivilege": false,
          "obtainOtherPrivilege": false,
          "obtainUserPrivilege": false,
          "severity": "LOW",
          "userInteractionRequired": true
        },
        "baseMetricV3": {
          "cvssV3": {
            "attackComplexity": "LOW",
            "attackVector": "LOCAL",
            "availabilityImpact": "NONE",
            "baseScore": 7.1,
            "baseSeverity": "HIGH",
            "confidentialityImpact": "HIGH",
            "integrityImpact": "HIGH",
            "privilegesRequired": "NONE",
            "scope": "UNCHANGED",
            "userInteraction": "REQUIRED",
            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N",
            "version": "3.1"
          },
          "exploitabilityScore": 1.8,
          "impactScore": 5.2
        }
      },
      "lastModifiedDate": "2021-05-04T16:19Z",
      "publishedDate": "2021-04-23T17:15Z"
    }
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.


Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…