FKIE_CVE-2012-4402

Vulnerability from fkie_nvd - Published: 2012-09-19 10:57 - Updated: 2025-04-11 00:51
Severity ?
Summary
webservice/lib.php in Moodle 2.1.x before 2.1.8, 2.2.x before 2.2.5, and 2.3.x before 2.3.2 does not properly restrict the use of web-service tokens, which allows remote authenticated users to run arbitrary external-service functions via a token intended for only one service.
Impacted products
Vendor Product Version
moodle moodle 2.1.0
moodle moodle 2.1.1
moodle moodle 2.1.2
moodle moodle 2.1.3
moodle moodle 2.1.4
moodle moodle 2.1.5
moodle moodle 2.1.6
moodle moodle 2.1.7
moodle moodle 2.2.0
moodle moodle 2.2.1
moodle moodle 2.2.2
moodle moodle 2.2.3
moodle moodle 2.2.4
moodle moodle 2.3.0
moodle moodle 2.3.1

{
  "configurations": [
    {
      "nodes": [
        {
          "cpeMatch": [
            {
              "criteria": "cpe:2.3:a:moodle:moodle:2.1.0:*:*:*:*:*:*:*",
              "matchCriteriaId": "18C6F348-DAE9-4440-8B3A-8D92ADC6606F",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:moodle:moodle:2.1.1:*:*:*:*:*:*:*",
              "matchCriteriaId": "367537BF-CBDF-4CBB-91B4-6E5A567EF605",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:moodle:moodle:2.1.2:*:*:*:*:*:*:*",
              "matchCriteriaId": "DABBF325-C48A-4838-AC5D-0565C78976CD",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:moodle:moodle:2.1.3:*:*:*:*:*:*:*",
              "matchCriteriaId": "02B72177-DFB0-4242-9ED6-068E5751579B",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:moodle:moodle:2.1.4:*:*:*:*:*:*:*",
              "matchCriteriaId": "7226EE65-CC9F-4FDA-9791-3C8047D5C04C",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:moodle:moodle:2.1.5:*:*:*:*:*:*:*",
              "matchCriteriaId": "FDC55ECE-8185-4FC0-A4C9-14AABD136650",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:moodle:moodle:2.1.6:*:*:*:*:*:*:*",
              "matchCriteriaId": "ADFDE1FC-992E-4610-A62D-282B448402AB",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:moodle:moodle:2.1.7:*:*:*:*:*:*:*",
              "matchCriteriaId": "8E8EA8F6-D689-4726-9B02-0C555EFF56AB",
              "vulnerable": true
            }
          ],
          "negate": false,
          "operator": "OR"
        }
      ]
    },
    {
      "nodes": [
        {
          "cpeMatch": [
            {
              "criteria": "cpe:2.3:a:moodle:moodle:2.2.0:*:*:*:*:*:*:*",
              "matchCriteriaId": "15A73CE2-73DA-4274-89E0-DD9A413ED17F",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:moodle:moodle:2.2.1:*:*:*:*:*:*:*",
              "matchCriteriaId": "39075F6E-2925-4897-B1DE-C86A066DF54B",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:moodle:moodle:2.2.2:*:*:*:*:*:*:*",
              "matchCriteriaId": "179DBC2B-B35F-4A19-B522-DF996D5E13E4",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:moodle:moodle:2.2.3:*:*:*:*:*:*:*",
              "matchCriteriaId": "FA527724-B44E-46B6-BA53-A83B012EA376",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:moodle:moodle:2.2.4:*:*:*:*:*:*:*",
              "matchCriteriaId": "31A8CAEA-CCCF-4678-B61E-0FFE439890DB",
              "vulnerable": true
            }
          ],
          "negate": false,
          "operator": "OR"
        }
      ]
    },
    {
      "nodes": [
        {
          "cpeMatch": [
            {
              "criteria": "cpe:2.3:a:moodle:moodle:2.3.0:*:*:*:*:*:*:*",
              "matchCriteriaId": "BFD575CF-2AF2-443F-841D-F7E25FBD455A",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:moodle:moodle:2.3.1:*:*:*:*:*:*:*",
              "matchCriteriaId": "AC2A1954-E30F-40EC-BA59-40D29573E7D6",
              "vulnerable": true
            }
          ],
          "negate": false,
          "operator": "OR"
        }
      ]
    }
  ],
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "webservice/lib.php in Moodle 2.1.x before 2.1.8, 2.2.x before 2.2.5, and 2.3.x before 2.3.2 does not properly restrict the use of web-service tokens, which allows remote authenticated users to run arbitrary external-service functions via a token intended for only one service."
    },
    {
      "lang": "es",
      "value": "webservice/lib.php en Moodle v2.1.x antes de v2.1.8, v2.2.x antes de v2.2.5 y v2.3.x antes de v2.3.2 no restringe correctamente el uso de los tokens de los servicios web, lo que permite a usuarios remotos autenticados ejecutar funciones de servicios externos de su elecci\u00f3n a trav\u00e9s de un token previsto para un solo servicio.\r\n"
    }
  ],
  "id": "CVE-2012-4402",
  "lastModified": "2025-04-11T00:51:21.963",
  "metrics": {
    "cvssMetricV2": [
      {
        "acInsufInfo": false,
        "baseSeverity": "MEDIUM",
        "cvssData": {
          "accessComplexity": "MEDIUM",
          "accessVector": "NETWORK",
          "authentication": "SINGLE",
          "availabilityImpact": "NONE",
          "baseScore": 4.9,
          "confidentialityImpact": "PARTIAL",
          "integrityImpact": "PARTIAL",
          "vectorString": "AV:N/AC:M/Au:S/C:P/I:P/A:N",
          "version": "2.0"
        },
        "exploitabilityScore": 6.8,
        "impactScore": 4.9,
        "obtainAllPrivilege": false,
        "obtainOtherPrivilege": false,
        "obtainUserPrivilege": false,
        "source": "nvd@nist.gov",
        "type": "Primary",
        "userInteractionRequired": false
      }
    ]
  },
  "published": "2012-09-19T10:57:07.267",
  "references": [
    {
      "source": "secalert@redhat.com",
      "tags": [
        "Patch"
      ],
      "url": "http://git.moodle.org/gw?p=moodle.git\u0026a=search\u0026h=HEAD\u0026st=commit\u0026s=MDL-34368"
    },
    {
      "source": "secalert@redhat.com",
      "tags": [
        "Vendor Advisory"
      ],
      "url": "http://moodle.org/mod/forum/discuss.php?d=211559"
    },
    {
      "source": "secalert@redhat.com",
      "url": "http://openwall.com/lists/oss-security/2012/09/17/1"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "tags": [
        "Patch"
      ],
      "url": "http://git.moodle.org/gw?p=moodle.git\u0026a=search\u0026h=HEAD\u0026st=commit\u0026s=MDL-34368"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "tags": [
        "Vendor Advisory"
      ],
      "url": "http://moodle.org/mod/forum/discuss.php?d=211559"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://openwall.com/lists/oss-security/2012/09/17/1"
    }
  ],
  "sourceIdentifier": "secalert@redhat.com",
  "vulnStatus": "Deferred",
  "weaknesses": [
    {
      "description": [
        {
          "lang": "en",
          "value": "CWE-264"
        }
      ],
      "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 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…