ghsa-622h-cjgg-5mx6
Vulnerability from github
Published
2022-05-13 01:12
Modified
2024-01-26 01:13
Summary
Moodle allows attackers to bypass file-management restrictions
Details

files/externallib.php in Moodle through 2.5.9, 2.6.x before 2.6.11, 2.7.x before 2.7.8, and 2.8.x before 2.8.6 does not consider the moodle/user:manageownfiles capability before approving a private-file upload, which allows remote authenticated users to bypass intended file-management restrictions by using web services to perform uploads after this capability has been revoked.

Show details on source website


{
  "affected": [
    {
      "package": {
        "ecosystem": "Packagist",
        "name": "moodle/moodle"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "2.6.11"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Packagist",
        "name": "moodle/moodle"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "2.7.0"
            },
            {
              "fixed": "2.7.8"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Packagist",
        "name": "moodle/moodle"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "2.8.0"
            },
            {
              "fixed": "2.8.6"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "aliases": [
    "CVE-2015-3181"
  ],
  "database_specific": {
    "cwe_ids": [],
    "github_reviewed": true,
    "github_reviewed_at": "2024-01-26T01:13:10Z",
    "nvd_published_at": "2015-06-01T19:59:00Z",
    "severity": "MODERATE"
  },
  "details": "files/externallib.php in Moodle through 2.5.9, 2.6.x before 2.6.11, 2.7.x before 2.7.8, and 2.8.x before 2.8.6 does not consider the moodle/user:manageownfiles capability before approving a private-file upload, which allows remote authenticated users to bypass intended file-management restrictions by using web services to perform uploads after this capability has been revoked.",
  "id": "GHSA-622h-cjgg-5mx6",
  "modified": "2024-01-26T01:13:10Z",
  "published": "2022-05-13T01:12:46Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2015-3181"
    },
    {
      "type": "WEB",
      "url": "https://github.com/moodle/moodle/commit/350397da93c557f577e7d62e7fc3e233792ad171"
    },
    {
      "type": "WEB",
      "url": "https://github.com/moodle/moodle/commit/4b6b64685affa66784fd238c1bbc1eb0651492a0"
    },
    {
      "type": "WEB",
      "url": "https://github.com/moodle/moodle/commit/57d9a750e3da6708dba13513e9b05e84a895ad9f"
    },
    {
      "type": "WEB",
      "url": "https://github.com/moodle/moodle/commit/8e8ee7530427a10e409386657484e9fd5effc438"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/moodle/moodle"
    },
    {
      "type": "WEB",
      "url": "https://moodle.org/mod/forum/discuss.php?d=313688"
    },
    {
      "type": "WEB",
      "url": "https://web.archive.org/web/20200228054133/http://www.securityfocus.com/bid/74728"
    },
    {
      "type": "WEB",
      "url": "https://web.archive.org/web/20201030042703/http://www.securitytracker.com/id/1032358"
    },
    {
      "type": "WEB",
      "url": "http://git.moodle.org/gw?p=moodle.git\u0026a=search\u0026h=HEAD\u0026st=commit\u0026s=MDL-49994"
    },
    {
      "type": "WEB",
      "url": "http://openwall.com/lists/oss-security/2015/05/18/1"
    }
  ],
  "schema_version": "1.4.0",
  "severity": [],
  "summary": "Moodle allows attackers to bypass file-management restrictions"
}


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 seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.