GSD-2022-40314
Vulnerability from gsd - Updated: 2023-12-13 01:19Details
A remote code execution risk when restoring backup files originating from Moodle 1.9 was identified.
Aliases
Aliases
{
"GSD": {
"alias": "CVE-2022-40314",
"id": "GSD-2022-40314"
},
"gsd": {
"metadata": {
"exploitCode": "unknown",
"remediation": "unknown",
"reportConfidence": "confirmed",
"type": "vulnerability"
},
"osvSchema": {
"aliases": [
"CVE-2022-40314"
],
"details": "A remote code execution risk when restoring backup files originating from Moodle 1.9 was identified.",
"id": "GSD-2022-40314",
"modified": "2023-12-13T01:19:31.383129Z",
"schema_version": "1.4.0"
}
},
"namespaces": {
"cve.org": {
"CVE_data_meta": {
"ASSIGNER": "patrick@puiterwijk.org",
"ID": "CVE-2022-40314",
"STATE": "PUBLIC"
},
"affects": {
"vendor": {
"vendor_data": [
{
"product": {
"product_data": [
{
"product_name": "moodle",
"version": {
"version_data": [
{
"version_value": "4.0 to 4.0.3, 3.11 to 3.11.9, 3.9 to 3.9.16 and earlier unsupported versions"
}
]
}
}
]
},
"vendor_name": "n/a"
}
]
}
},
"data_format": "MITRE",
"data_type": "CVE",
"data_version": "4.0",
"description": {
"description_data": [
{
"lang": "eng",
"value": "A remote code execution risk when restoring backup files originating from Moodle 1.9 was identified."
}
]
},
"problemtype": {
"problemtype_data": [
{
"description": [
{
"lang": "eng",
"value": "Remote code execution"
}
]
}
]
},
"references": {
"reference_data": [
{
"name": "https://bugzilla.redhat.com/show_bug.cgi?id=2128147",
"refsource": "MISC",
"url": "https://bugzilla.redhat.com/show_bug.cgi?id=2128147"
},
{
"name": "https://moodle.org/mod/forum/discuss.php?d=438393",
"refsource": "MISC",
"url": "https://moodle.org/mod/forum/discuss.php?d=438393"
}
]
}
},
"gitlab.com": {
"advisories": [
{
"affected_range": "\u003e=3.9,\u003c3.9.17||\u003e=3.11,\u003c3.11.10||\u003e=4.0,\u003c4.0.4",
"affected_versions": "All versions starting from 3.9 before 3.9.17, all versions starting from 3.11 before 3.11.10, all versions starting from 4.0 before 4.0.4",
"cvss_v3": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"cwe_ids": [
"CWE-1035",
"CWE-937"
],
"date": "2022-12-21",
"description": "A remote code execution risk when restoring backup files originating from Moodle 1.9 was identified.",
"fixed_versions": [
"3.9.17",
"3.11.10",
"4.0.4"
],
"identifier": "CVE-2022-40314",
"identifiers": [
"CVE-2022-40314"
],
"not_impacted": "All versions before 3.9, all versions starting from 3.9.17 before 3.11, all versions starting from 3.11.10 before 4.0, all versions starting from 4.0.4",
"package_slug": "packagist/moodle/moodle",
"pubdate": "2022-09-30",
"solution": "Upgrade to versions 3.9.17, 3.11.10, 4.0.4 or above.",
"title": "Improper Control of Generation of Code (\u0027Code Injection\u0027)",
"urls": [
"https://nvd.nist.gov/vuln/detail/CVE-2022-40314",
"https://moodle.org/mod/forum/discuss.php?d=438393",
"https://bugzilla.redhat.com/show_bug.cgi?id=2128147"
],
"uuid": "9d8af12c-87ff-4695-a436-c4eb2bac8695"
}
]
},
"nvd.nist.gov": {
"configurations": {
"CVE_data_version": "4.0",
"nodes": [
{
"children": [],
"cpe_match": [
{
"cpe23Uri": "cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:*",
"cpe_name": [],
"versionEndExcluding": "3.9.17",
"versionStartIncluding": "3.9",
"vulnerable": true
},
{
"cpe23Uri": "cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:*",
"cpe_name": [],
"versionEndExcluding": "3.11.10",
"versionStartIncluding": "3.11",
"vulnerable": true
},
{
"cpe23Uri": "cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:*",
"cpe_name": [],
"versionEndExcluding": "4.0.4",
"versionStartIncluding": "4.0",
"vulnerable": true
}
],
"operator": "OR"
}
]
},
"cve": {
"CVE_data_meta": {
"ASSIGNER": "security@elastic.co",
"ID": "CVE-2022-40314"
},
"data_format": "MITRE",
"data_type": "CVE",
"data_version": "4.0",
"description": {
"description_data": [
{
"lang": "en",
"value": "A remote code execution risk when restoring backup files originating from Moodle 1.9 was identified."
}
]
},
"problemtype": {
"problemtype_data": [
{
"description": [
{
"lang": "en",
"value": "NVD-CWE-noinfo"
}
]
}
]
},
"references": {
"reference_data": [
{
"name": "https://moodle.org/mod/forum/discuss.php?d=438393",
"refsource": "MISC",
"tags": [
"Patch",
"Vendor Advisory"
],
"url": "https://moodle.org/mod/forum/discuss.php?d=438393"
},
{
"name": "https://bugzilla.redhat.com/show_bug.cgi?id=2128147",
"refsource": "MISC",
"tags": [
"Issue Tracking",
"Third Party Advisory"
],
"url": "https://bugzilla.redhat.com/show_bug.cgi?id=2128147"
}
]
}
},
"impact": {
"baseMetricV3": {
"cvssV3": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "HIGH",
"baseScore": 9.8,
"baseSeverity": "CRITICAL",
"confidentialityImpact": "HIGH",
"integrityImpact": "HIGH",
"privilegesRequired": "NONE",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"version": "3.1"
},
"exploitabilityScore": 3.9,
"impactScore": 5.9
}
},
"lastModifiedDate": "2022-10-04T16:49Z",
"publishedDate": "2022-09-30T17:15Z"
}
}
}
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…
Loading…