CVE-2012-4402
Vulnerability from cvelistv5
Published
2012-09-19 10:00
Modified
2024-09-17 02:11
Severity ?
EPSS score ?
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.
References
{ "containers": { "adp": [ { "providerMetadata": { "dateUpdated": "2024-08-06T20:35:09.326Z", "orgId": "af854a3a-2127-422b-91ae-364da2661108", "shortName": "CVE" }, "references": [ { "name": "[oss-security] 20120917 Moodle security notifications public", "tags": [ "mailing-list", "x_refsource_MLIST", "x_transferred" ], "url": "http://openwall.com/lists/oss-security/2012/09/17/1" }, { "tags": [ "x_refsource_CONFIRM", "x_transferred" ], "url": "http://git.moodle.org/gw?p=moodle.git\u0026a=search\u0026h=HEAD\u0026st=commit\u0026s=MDL-34368" }, { "tags": [ "x_refsource_CONFIRM", "x_transferred" ], "url": "http://moodle.org/mod/forum/discuss.php?d=211559" } ], "title": "CVE Program Container" } ], "cna": { "affected": [ { "product": "n/a", "vendor": "n/a", "versions": [ { "status": "affected", "version": "n/a" } ] } ], "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." } ], "problemTypes": [ { "descriptions": [ { "description": "n/a", "lang": "en", "type": "text" } ] } ], "providerMetadata": { "dateUpdated": "2012-09-19T10:00:00Z", "orgId": "53f830b8-0a3f-465b-8143-3b8a9948e749", "shortName": "redhat" }, "references": [ { "name": "[oss-security] 20120917 Moodle security notifications public", "tags": [ "mailing-list", "x_refsource_MLIST" ], "url": "http://openwall.com/lists/oss-security/2012/09/17/1" }, { "tags": [ "x_refsource_CONFIRM" ], "url": "http://git.moodle.org/gw?p=moodle.git\u0026a=search\u0026h=HEAD\u0026st=commit\u0026s=MDL-34368" }, { "tags": [ "x_refsource_CONFIRM" ], "url": "http://moodle.org/mod/forum/discuss.php?d=211559" } ], "x_legacyV4Record": { "CVE_data_meta": { "ASSIGNER": "secalert@redhat.com", "ID": "CVE-2012-4402", "STATE": "PUBLIC" }, "affects": { "vendor": { "vendor_data": [ { "product": { "product_data": [ { "product_name": "n/a", "version": { "version_data": [ { "version_value": "n/a" } ] } } ] }, "vendor_name": "n/a" } ] } }, "data_format": "MITRE", "data_type": "CVE", "data_version": "4.0", "description": { "description_data": [ { "lang": "eng", "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." } ] }, "problemtype": { "problemtype_data": [ { "description": [ { "lang": "eng", "value": "n/a" } ] } ] }, "references": { "reference_data": [ { "name": "[oss-security] 20120917 Moodle security notifications public", "refsource": "MLIST", "url": "http://openwall.com/lists/oss-security/2012/09/17/1" }, { "name": "http://git.moodle.org/gw?p=moodle.git\u0026a=search\u0026h=HEAD\u0026st=commit\u0026s=MDL-34368", "refsource": "CONFIRM", "url": "http://git.moodle.org/gw?p=moodle.git\u0026a=search\u0026h=HEAD\u0026st=commit\u0026s=MDL-34368" }, { "name": "http://moodle.org/mod/forum/discuss.php?d=211559", "refsource": "CONFIRM", "url": "http://moodle.org/mod/forum/discuss.php?d=211559" } ] } } } }, "cveMetadata": { "assignerOrgId": "53f830b8-0a3f-465b-8143-3b8a9948e749", "assignerShortName": "redhat", "cveId": "CVE-2012-4402", "datePublished": "2012-09-19T10:00:00Z", "dateReserved": "2012-08-21T00:00:00Z", "dateUpdated": "2024-09-17T02:11:41.937Z", "state": "PUBLISHED" }, "dataType": "CVE_RECORD", "dataVersion": "5.1", "vulnerability-lookup:meta": { "fkie_nvd": { "configurations": "[{\"nodes\": [{\"operator\": \"OR\", \"negate\": false, \"cpeMatch\": [{\"vulnerable\": true, \"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\"}]}]}, {\"nodes\": [{\"operator\": \"OR\", \"negate\": false, \"cpeMatch\": [{\"vulnerable\": true, \"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\"}]}]}, {\"nodes\": [{\"operator\": \"OR\", \"negate\": false, \"cpeMatch\": [{\"vulnerable\": true, \"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\"}]}]}]", "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": "2024-11-21T01:42:48.687", "metrics": "{\"cvssMetricV2\": [{\"source\": \"nvd@nist.gov\", \"type\": \"Primary\", \"cvssData\": {\"version\": \"2.0\", \"vectorString\": \"AV:N/AC:M/Au:S/C:P/I:P/A:N\", \"baseScore\": 4.9, \"accessVector\": \"NETWORK\", \"accessComplexity\": \"MEDIUM\", \"authentication\": \"SINGLE\", \"confidentialityImpact\": \"PARTIAL\", \"integrityImpact\": \"PARTIAL\", \"availabilityImpact\": \"NONE\"}, \"baseSeverity\": \"MEDIUM\", \"exploitabilityScore\": 6.8, \"impactScore\": 4.9, \"acInsufInfo\": false, \"obtainAllPrivilege\": false, \"obtainUserPrivilege\": false, \"obtainOtherPrivilege\": false, \"userInteractionRequired\": false}]}", "published": "2012-09-19T10:57:07.267", "references": "[{\"url\": \"http://git.moodle.org/gw?p=moodle.git\u0026a=search\u0026h=HEAD\u0026st=commit\u0026s=MDL-34368\", \"source\": \"secalert@redhat.com\", \"tags\": [\"Patch\"]}, {\"url\": \"http://moodle.org/mod/forum/discuss.php?d=211559\", \"source\": \"secalert@redhat.com\", \"tags\": [\"Vendor Advisory\"]}, {\"url\": \"http://openwall.com/lists/oss-security/2012/09/17/1\", \"source\": \"secalert@redhat.com\"}, {\"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\": [\"Patch\"]}, {\"url\": \"http://moodle.org/mod/forum/discuss.php?d=211559\", \"source\": \"af854a3a-2127-422b-91ae-364da2661108\", \"tags\": [\"Vendor Advisory\"]}, {\"url\": \"http://openwall.com/lists/oss-security/2012/09/17/1\", \"source\": \"af854a3a-2127-422b-91ae-364da2661108\"}]", "sourceIdentifier": "secalert@redhat.com", "vulnStatus": "Modified", "weaknesses": "[{\"source\": \"nvd@nist.gov\", \"type\": \"Primary\", \"description\": [{\"lang\": \"en\", \"value\": \"CWE-264\"}]}]" }, "nvd": "{\"cve\":{\"id\":\"CVE-2012-4402\",\"sourceIdentifier\":\"secalert@redhat.com\",\"published\":\"2012-09-19T10:57:07.267\",\"lastModified\":\"2024-11-21T01:42:48.687\",\"vulnStatus\":\"Modified\",\"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\"}],\"metrics\":{\"cvssMetricV2\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"cvssData\":{\"version\":\"2.0\",\"vectorString\":\"AV:N/AC:M/Au:S/C:P/I:P/A:N\",\"baseScore\":4.9,\"accessVector\":\"NETWORK\",\"accessComplexity\":\"MEDIUM\",\"authentication\":\"SINGLE\",\"confidentialityImpact\":\"PARTIAL\",\"integrityImpact\":\"PARTIAL\",\"availabilityImpact\":\"NONE\"},\"baseSeverity\":\"MEDIUM\",\"exploitabilityScore\":6.8,\"impactScore\":4.9,\"acInsufInfo\":false,\"obtainAllPrivilege\":false,\"obtainUserPrivilege\":false,\"obtainOtherPrivilege\":false,\"userInteractionRequired\":false}]},\"weaknesses\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-264\"}]}],\"configurations\":[{\"nodes\":[{\"operator\":\"OR\",\"negate\":false,\"cpeMatch\":[{\"vulnerable\":true,\"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\"}]}]},{\"nodes\":[{\"operator\":\"OR\",\"negate\":false,\"cpeMatch\":[{\"vulnerable\":true,\"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\"}]}]},{\"nodes\":[{\"operator\":\"OR\",\"negate\":false,\"cpeMatch\":[{\"vulnerable\":true,\"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\"}]}]}],\"references\":[{\"url\":\"http://git.moodle.org/gw?p=moodle.git\u0026a=search\u0026h=HEAD\u0026st=commit\u0026s=MDL-34368\",\"source\":\"secalert@redhat.com\",\"tags\":[\"Patch\"]},{\"url\":\"http://moodle.org/mod/forum/discuss.php?d=211559\",\"source\":\"secalert@redhat.com\",\"tags\":[\"Vendor Advisory\"]},{\"url\":\"http://openwall.com/lists/oss-security/2012/09/17/1\",\"source\":\"secalert@redhat.com\"},{\"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\":[\"Patch\"]},{\"url\":\"http://moodle.org/mod/forum/discuss.php?d=211559\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Vendor Advisory\"]},{\"url\":\"http://openwall.com/lists/oss-security/2012/09/17/1\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"}]}}" } }
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.