Skip to content
Heist/ feed
Back to feed
High

moodle: logout CSRF in admin/tool/mfa/auth.php

Type: advisorySources: OSV

The logout option within MFA did not include the necessary token to avoid the risk of users inadvertently being logged out via CSRF.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2024-34007
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 22:24 UTC · Revision 1

Source evidence

moodle: logout CSRF in admin/tool/mfa/auth.php

core-osv · Original source

Published 31 May 2024, 20:40 UTC

The logout option within MFA did not include the necessary token to avoid the risk of users inadvertently being logged out via CSRF.

osv:CVE-2024-34007
Complete source record
{
  "id": "e1b9a64d96ff8d2dfe564aca4b952e389740706014a8f9686a7406b3f6510350",
  "url": "https://osv.dev/vulnerability/CVE-2024-34007",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "moodle: logout CSRF in admin/tool/mfa/auth.php",
    "summary": "The logout option within MFA did not include the necessary token to avoid the risk of users inadvertently being logged out via CSRF.",
    "evidence": "osv:CVE-2024-34007",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2024-34007",
      "aliases": [
        "BIT-moodle-2024-34007",
        "CVE-2024-34007",
        "GHSA-8g5h-gjwq-w5ch"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/moodle/moodle",
              "type": "GIT",
              "events": [
                {
                  "introduced": "fe7aff8093240cc373f1ddaa66ecb91c4bc0a09f"
                },
                {
                  "fixed": "143c2cd5bef1268751d58bbfc6c66c1d93cb9797"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "4.3.0"
                      },
                      {
                        "fixed": "4.3.4"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v4.3.3",
            "v4.3.2",
            "v4.3.1",
            "v4.3.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-34007.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:31.916348691Z",
      "provider": "osv",
      "references": [
        "https://git.moodle.org",
        "https://moodle.org/mod/forum/discuss.php?d=458396",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/34xxx/CVE-2024-34007.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2024-34007"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-352"
        ],
        "cna_assigner": "fedora",
        "unresolved_ranges": [
          {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "4.3"
                  },
                  {
                    "last_affected": "4.3.3"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              }
            ]
          }
        ],
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/34xxx/CVE-2024-34007.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2024-34007",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 499139,
  "published_at": "2024-05-31T20:40:23.608+00:00"
}