CVE-2022-35650

Source
https://cve.org/CVERecord?id=CVE-2022-35650
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-35650.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-35650
Aliases
Downstream
Published
2022-07-25T15:29:06Z
Modified
2026-07-15T01:49:00.070053040Z
Summary
[none]
Details

The vulnerability was found in Moodle, occurs due to input validation error when importing lesson questions. This insufficient path checks results in arbitrary file read risk. This vulnerability allows a remote attacker to perform directory traversal attacks. The capability to access this feature is only available to teachers, managers and admins by default.

Database specific
{
    "cna_assigner": "fedora",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/35xxx/CVE-2022-35650.json",
    "unresolved_ranges": [
        {
            "extracted_events": [
                {
                    "introduced": "Fixed in moodle 4.0.2, moodle 3.11.8, moodle 3.9.15"
                },
                {
                    "last_affected": "Fixed in moodle 4.0.2, moodle 3.11.8, moodle 3.9.15"
                }
            ],
            "source": "AFFECTED_FIELD"
        }
    ],
    "cwe_ids": [
        "CWE-22"
    ]
}
References

Affected packages

Git / github.com/moodle/moodle

Affected ranges

Type
GIT
Repo
https://github.com/moodle/moodle
Events
Database specific
{
    "cpe": "cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:*",
    "extracted_events": [
        {
            "introduced": "3.9.0"
        },
        {
            "fixed": "3.9.15"
        },
        {
            "introduced": "3.11.0"
        },
        {
            "fixed": "3.11.8"
        },
        {
            "introduced": "4.0.0"
        },
        {
            "fixed": "4.0.2"
        }
    ],
    "source": "CPE_RANGE"
}

Affected versions

v3.*
v3.11.0
v3.11.1
v3.11.2
v3.11.3
v3.11.4
v3.11.5
v3.11.6
v3.11.7
v3.9.0
v3.9.1
v3.9.10
v3.9.11
v3.9.12
v3.9.13
v3.9.14
v3.9.2
v3.9.3
v3.9.4
v3.9.5
v3.9.6
v3.9.7
v3.9.8
v3.9.9
v4.*
v4.0.0
v4.0.1

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-35650.json"