fkie_cve-2015-5267
Vulnerability from fkie_nvd
Published
2016-02-22 05:59
Modified
2025-04-12 10:46
Summary
lib/moodlelib.php in Moodle through 2.6.11, 2.7.x before 2.7.10, 2.8.x before 2.8.8, and 2.9.x before 2.9.2 relies on the PHP mt_rand function to implement the random_string and complex_random_string functions, which makes it easier for remote attackers to predict password-recovery tokens via a brute-force approach.
Impacted products
Vendor Product Version
moodle moodle *
moodle moodle 2.7.0
moodle moodle 2.7.1
moodle moodle 2.7.2
moodle moodle 2.7.3
moodle moodle 2.7.4
moodle moodle 2.7.5
moodle moodle 2.7.6
moodle moodle 2.7.7
moodle moodle 2.7.8
moodle moodle 2.7.9
moodle moodle 2.8.0
moodle moodle 2.8.1
moodle moodle 2.8.2
moodle moodle 2.8.3
moodle moodle 2.8.4
moodle moodle 2.8.5
moodle moodle 2.8.6
moodle moodle 2.8.7
moodle moodle 2.9.0
moodle moodle 2.9.1



{
  "configurations": [
    {
      "nodes": [
        {
          "cpeMatch": [
            {
              "criteria": "cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:*",
              "matchCriteriaId": "9F3E36CA-026A-4262-8CB7-73E0FC315A45",
              "versionEndIncluding": "2.6.11",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:moodle:moodle:2.7.0:*:*:*:*:*:*:*",
              "matchCriteriaId": "4E051AAC-EB40-491F-AF0E-EE8143C12567",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:moodle:moodle:2.7.1:*:*:*:*:*:*:*",
              "matchCriteriaId": "FADBE87F-1855-453B-B958-0CB8A7908A06",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:moodle:moodle:2.7.2:*:*:*:*:*:*:*",
              "matchCriteriaId": "1B53A7D2-BDA2-4185-97C3-977A04876A37",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:moodle:moodle:2.7.3:*:*:*:*:*:*:*",
              "matchCriteriaId": "A51DFFA8-DFF0-429C-B697-F82F41621FEE",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:moodle:moodle:2.7.4:*:*:*:*:*:*:*",
              "matchCriteriaId": "19FD1565-0DA1-4BA8-A501-86F13D3D29ED",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:moodle:moodle:2.7.5:*:*:*:*:*:*:*",
              "matchCriteriaId": "6D82CFE8-C38D-4FF3-BC4F-6C27AD64D9A3",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:moodle:moodle:2.7.6:*:*:*:*:*:*:*",
              "matchCriteriaId": "FEB754AF-3DA4-4459-A53B-3BC7B78CE313",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:moodle:moodle:2.7.7:*:*:*:*:*:*:*",
              "matchCriteriaId": "F57E8383-C3F3-480C-B9A9-49633DAAEC18",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:moodle:moodle:2.7.8:*:*:*:*:*:*:*",
              "matchCriteriaId": "645E8B7B-1AE6-4F46-AFA9-7506685CD571",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:moodle:moodle:2.7.9:*:*:*:*:*:*:*",
              "matchCriteriaId": "0316A26A-8B51-4226-8D56-4A798A2D798D",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:moodle:moodle:2.8.0:*:*:*:*:*:*:*",
              "matchCriteriaId": "12737AF4-B2D5-4661-B06A-6A06FE95EC2D",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:moodle:moodle:2.8.1:*:*:*:*:*:*:*",
              "matchCriteriaId": "88C59A94-D225-478A-B23E-41C4324BC643",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:moodle:moodle:2.8.2:*:*:*:*:*:*:*",
              "matchCriteriaId": "192EA69B-A1E1-4E0D-8E73-76EB74CCDE49",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:moodle:moodle:2.8.3:*:*:*:*:*:*:*",
              "matchCriteriaId": "D88385B1-EEFB-4825-BD8F-215C39FD86DA",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:moodle:moodle:2.8.4:*:*:*:*:*:*:*",
              "matchCriteriaId": "A3BE2782-D167-4237-B57D-2E4C04571524",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:moodle:moodle:2.8.5:*:*:*:*:*:*:*",
              "matchCriteriaId": "F277F979-12FA-47A5-B0A5-D174C2127A7D",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:moodle:moodle:2.8.6:*:*:*:*:*:*:*",
              "matchCriteriaId": "38498617-8E45-4E73-AE9F-C7A0D18FDE47",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:moodle:moodle:2.8.7:*:*:*:*:*:*:*",
              "matchCriteriaId": "C9047769-BFF4-42DB-8B19-F6D16FA910A1",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:moodle:moodle:2.9.0:*:*:*:*:*:*:*",
              "matchCriteriaId": "C9224D94-1C48-468C-A39B-B2694ED178F4",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:moodle:moodle:2.9.1:*:*:*:*:*:*:*",
              "matchCriteriaId": "1C7EE9AD-E122-4288-9416-6D8F8790D75D",
              "vulnerable": true
            }
          ],
          "negate": false,
          "operator": "OR"
        }
      ]
    }
  ],
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "lib/moodlelib.php in Moodle through 2.6.11, 2.7.x before 2.7.10, 2.8.x before 2.8.8, and 2.9.x before 2.9.2 relies on the PHP mt_rand function to implement the random_string and complex_random_string functions, which makes it easier for remote attackers to predict password-recovery tokens via a brute-force approach."
    },
    {
      "lang": "es",
      "value": "lib/moodlelib.php en Moodle hasta la versi\u00f3n 2.6.11, 2.7.x en versiones anteriores a 2.7.10, 2.8.x en versiones anteriores a 2.8.8 y 2.9.x en versiones anteriores a 2.9.2 se basa en la funci\u00f3n PHP mt_rand para la implementaci\u00f3n de las funciones random_string y complex_random_string, lo que hace que sea m\u00e1s f\u00e1cil para atacantes remotos predecir tokens de recuperaci\u00f3n de contrase\u00f1a a trav\u00e9s de una aproximaci\u00f3n por fuerza bruta."
    }
  ],
  "id": "CVE-2015-5267",
  "lastModified": "2025-04-12T10:46:40.837",
  "metrics": {
    "cvssMetricV2": [
      {
        "acInsufInfo": false,
        "baseSeverity": "MEDIUM",
        "cvssData": {
          "accessComplexity": "LOW",
          "accessVector": "NETWORK",
          "authentication": "NONE",
          "availabilityImpact": "NONE",
          "baseScore": 5.0,
          "confidentialityImpact": "PARTIAL",
          "integrityImpact": "NONE",
          "vectorString": "AV:N/AC:L/Au:N/C:P/I:N/A:N",
          "version": "2.0"
        },
        "exploitabilityScore": 10.0,
        "impactScore": 2.9,
        "obtainAllPrivilege": false,
        "obtainOtherPrivilege": false,
        "obtainUserPrivilege": false,
        "source": "nvd@nist.gov",
        "type": "Primary"
      }
    ],
    "cvssMetricV30": [
      {
        "cvssData": {
          "attackComplexity": "LOW",
          "attackVector": "NETWORK",
          "availabilityImpact": "NONE",
          "baseScore": 7.5,
          "baseSeverity": "HIGH",
          "confidentialityImpact": "HIGH",
          "integrityImpact": "NONE",
          "privilegesRequired": "NONE",
          "scope": "UNCHANGED",
          "userInteraction": "NONE",
          "vectorString": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N",
          "version": "3.0"
        },
        "exploitabilityScore": 3.9,
        "impactScore": 3.6,
        "source": "nvd@nist.gov",
        "type": "Primary"
      }
    ]
  },
  "published": "2016-02-22T05:59:07.300",
  "references": [
    {
      "source": "secalert@redhat.com",
      "url": "http://git.moodle.org/gw?p=moodle.git\u0026a=search\u0026h=HEAD\u0026st=commit\u0026s=MDL-50860"
    },
    {
      "source": "secalert@redhat.com",
      "url": "http://www.openwall.com/lists/oss-security/2015/09/21/1"
    },
    {
      "source": "secalert@redhat.com",
      "url": "http://www.securitytracker.com/id/1033619"
    },
    {
      "source": "secalert@redhat.com",
      "tags": [
        "Vendor Advisory"
      ],
      "url": "https://moodle.org/mod/forum/discuss.php?d=320291"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://git.moodle.org/gw?p=moodle.git\u0026a=search\u0026h=HEAD\u0026st=commit\u0026s=MDL-50860"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://www.openwall.com/lists/oss-security/2015/09/21/1"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://www.securitytracker.com/id/1033619"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "tags": [
        "Vendor Advisory"
      ],
      "url": "https://moodle.org/mod/forum/discuss.php?d=320291"
    }
  ],
  "sourceIdentifier": "secalert@redhat.com",
  "vulnStatus": "Deferred",
  "weaknesses": [
    {
      "description": [
        {
          "lang": "en",
          "value": "CWE-200"
        },
        {
          "lang": "en",
          "value": "CWE-254"
        }
      ],
      "source": "nvd@nist.gov",
      "type": "Primary"
    }
  ]
}


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.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • 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.


Loading…

Loading…