Show plain JSON{"id": "CVE-2012-4402", "cveTags": [], "metrics": {"cvssMetricV2": [{"type": "Primary", "source": "nvd@nist.gov", "cvssData": {"version": "2.0", "baseScore": 4.9, "accessVector": "NETWORK", "vectorString": "AV:N/AC:M/Au:S/C:P/I:P/A:N", "authentication": "SINGLE", "integrityImpact": "PARTIAL", "accessComplexity": "MEDIUM", "availabilityImpact": "NONE", "confidentialityImpact": "PARTIAL"}, "acInsufInfo": false, "impactScore": 4.9, "baseSeverity": "MEDIUM", "obtainAllPrivilege": false, "exploitabilityScore": 6.8, "obtainUserPrivilege": false, "obtainOtherPrivilege": false, "userInteractionRequired": false}]}, "published": "2012-09-19T10:57:07.267", "references": [{"url": "http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-34368", "tags": ["Patch"], "source": "secalert@redhat.com"}, {"url": "http://moodle.org/mod/forum/discuss.php?d=211559", "tags": ["Vendor Advisory"], "source": "secalert@redhat.com"}, {"url": "http://openwall.com/lists/oss-security/2012/09/17/1", "source": "secalert@redhat.com"}, {"url": "http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-34368", "tags": ["Patch"], "source": "af854a3a-2127-422b-91ae-364da2661108"}, {"url": "http://moodle.org/mod/forum/discuss.php?d=211559", "tags": ["Vendor Advisory"], "source": "af854a3a-2127-422b-91ae-364da2661108"}, {"url": "http://openwall.com/lists/oss-security/2012/09/17/1", "source": "af854a3a-2127-422b-91ae-364da2661108"}], "vulnStatus": "Deferred", "weaknesses": [{"type": "Primary", "source": "nvd@nist.gov", "description": [{"lang": "en", "value": "CWE-264"}]}], "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"}], "lastModified": "2025-04-11T00:51:21.963", "configurations": [{"nodes": [{"negate": false, "cpeMatch": [{"criteria": "cpe:2.3:a:moodle:moodle:2.1.0:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "18C6F348-DAE9-4440-8B3A-8D92ADC6606F"}, {"criteria": "cpe:2.3:a:moodle:moodle:2.1.1:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "367537BF-CBDF-4CBB-91B4-6E5A567EF605"}, {"criteria": "cpe:2.3:a:moodle:moodle:2.1.2:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "DABBF325-C48A-4838-AC5D-0565C78976CD"}, {"criteria": "cpe:2.3:a:moodle:moodle:2.1.3:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "02B72177-DFB0-4242-9ED6-068E5751579B"}, {"criteria": "cpe:2.3:a:moodle:moodle:2.1.4:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "7226EE65-CC9F-4FDA-9791-3C8047D5C04C"}, {"criteria": "cpe:2.3:a:moodle:moodle:2.1.5:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "FDC55ECE-8185-4FC0-A4C9-14AABD136650"}, {"criteria": "cpe:2.3:a:moodle:moodle:2.1.6:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "ADFDE1FC-992E-4610-A62D-282B448402AB"}, {"criteria": "cpe:2.3:a:moodle:moodle:2.1.7:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "8E8EA8F6-D689-4726-9B02-0C555EFF56AB"}], "operator": "OR"}]}, {"nodes": [{"negate": false, "cpeMatch": [{"criteria": "cpe:2.3:a:moodle:moodle:2.2.0:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "15A73CE2-73DA-4274-89E0-DD9A413ED17F"}, {"criteria": "cpe:2.3:a:moodle:moodle:2.2.1:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "39075F6E-2925-4897-B1DE-C86A066DF54B"}, {"criteria": "cpe:2.3:a:moodle:moodle:2.2.2:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "179DBC2B-B35F-4A19-B522-DF996D5E13E4"}, {"criteria": "cpe:2.3:a:moodle:moodle:2.2.3:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "FA527724-B44E-46B6-BA53-A83B012EA376"}, {"criteria": "cpe:2.3:a:moodle:moodle:2.2.4:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "31A8CAEA-CCCF-4678-B61E-0FFE439890DB"}], "operator": "OR"}]}, {"nodes": [{"negate": false, "cpeMatch": [{"criteria": "cpe:2.3:a:moodle:moodle:2.3.0:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "BFD575CF-2AF2-443F-841D-F7E25FBD455A"}, {"criteria": "cpe:2.3:a:moodle:moodle:2.3.1:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "AC2A1954-E30F-40EC-BA59-40D29573E7D6"}], "operator": "OR"}]}], "sourceIdentifier": "secalert@redhat.com"}