{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0"
              },
              {
                "fixed": "4.1.10"
              },
              {
                "introduced": "4.2.0"
              },
              {
                "fixed": "4.2.7"
              },
              {
                "introduced": "0"
              },
              {
                "fixed": "4.3.4"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "e8d03fdae4ec30a40cdc535c8e9e95f30604ec10"
            },
            {
              "introduced": "ae4efa96ee8169a848c141ad21690165ea791552"
            },
            {
              "fixed": "6a1fcb30506343b7b4866b489c90843f5d453187"
            },
            {
              "introduced": "0"
            },
            {
              "fixed": "143c2cd5bef1268751d58bbfc6c66c1d93cb9797"
            }
          ],
          "repo": "https://github.com/moodle/moodle",
          "type": "GIT"
        }
      ]
    }
  ],
  "details": "In a shared hosting environment that has been misconfigured to allow access to other users' content, a Moodle user with both access to restore feedback modules and direct access to the web server outside of the Moodle webroot could execute a local file include.",
  "id": "CVE-2024-34002",
  "modified": "2026-03-13T21:47:15.249559864Z",
  "published": "2024-05-31T21:15:09.130Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://moodle.org/mod/forum/discuss.php?d=458390"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N",
      "type": "CVSS_V3"
    }
  ]
}