{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1",
    "cveMetadata": {
        "state": "PUBLISHED",
        "cveId": "CVE-2023-28329",
        "assignerOrgId": "92fb86c3-55a5-4fb5-9c3f-4757b9e96dc5",
        "assignerShortName": "fedora",
        "dateUpdated": "2024-08-02T12:38:24.625Z",
        "dateReserved": "2023-03-14T00:00:00",
        "datePublished": "2023-03-23T00:00:00"
    },
    "containers": {
        "cna": {
            "title": "Moodle: authenticated sql injection via availability check",
            "metrics": [
                {
                    "other": {
                        "content": {
                            "value": "Important",
                            "namespace": "https://access.redhat.com/security/updates/classification/"
                        },
                        "type": "Red Hat severity rating"
                    }
                }
            ],
            "descriptions": [
                {
                    "lang": "en",
                    "value": "Insufficient validation of profile field availability condition resulted in an SQL injection risk (by default only available to teachers and managers)."
                }
            ],
            "affected": [
                {
                    "versions": [
                        {
                            "status": "affected",
                            "version": "4.1.0",
                            "lessThan": "4.1.2",
                            "versionType": "semver"
                        },
                        {
                            "status": "affected",
                            "version": "4.0.0",
                            "lessThan": "4.0.7",
                            "versionType": "semver"
                        },
                        {
                            "status": "affected",
                            "version": "3.11.0",
                            "lessThan": "3.11.13",
                            "versionType": "semver"
                        },
                        {
                            "status": "affected",
                            "version": "0",
                            "lessThan": "3.9.20",
                            "versionType": "semver"
                        }
                    ],
                    "packageName": "moodle",
                    "collectionURL": "https://git.moodle.org",
                    "defaultStatus": "unaffected"
                }
            ],
            "references": [
                {
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2179406",
                    "name": "RHBZ#2179406",
                    "tags": [
                        "issue-tracking",
                        "x_refsource_REDHAT"
                    ]
                },
                {
                    "name": "FEDORA-2023-d9c13996b2",
                    "tags": [
                        "vendor-advisory"
                    ],
                    "url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3QZN34VSF4HTCW3C3ZP2OZYSLYUKADPF/"
                },
                {
                    "url": "https://moodle.org/mod/forum/discuss.php?d=445061"
                }
            ],
            "datePublic": "2023-03-20T04:00:00+00:00",
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-89",
                            "description": "Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')",
                            "lang": "en",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "x_redhatCweChain": "CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')",
            "timeline": [
                {
                    "lang": "en",
                    "time": "2023-03-10T00:00:00+00:00",
                    "value": "Reported to Red Hat."
                },
                {
                    "lang": "en",
                    "time": "2023-03-20T04:00:00+00:00",
                    "value": "Made public."
                }
            ],
            "providerMetadata": {
                "orgId": "92fb86c3-55a5-4fb5-9c3f-4757b9e96dc5",
                "shortName": "fedora",
                "dateUpdated": "2024-04-19T13:38:01.895Z"
            }
        },
        "adp": [
            {
                "affected": [
                    {
                        "vendor": "moodle",
                        "product": "moodle",
                        "cpes": [
                            "cpe:2.3:a:moodle:moodle:-:*:*:*:*:*:*:*"
                        ],
                        "defaultStatus": "unknown",
                        "versions": [
                            {
                                "version": "-",
                                "status": "affected",
                                "lessThan": "3.9.20",
                                "versionType": "custom"
                            },
                            {
                                "version": "3.11.0",
                                "status": "affected",
                                "lessThan": "3.11.13",
                                "versionType": "custom"
                            },
                            {
                                "version": "4.0.0",
                                "status": "affected",
                                "lessThan": "4.0.7",
                                "versionType": "custom"
                            }
                        ]
                    }
                ],
                "metrics": [
                    {
                        "cvssV3_1": {
                            "scope": "UNCHANGED",
                            "version": "3.1",
                            "baseScore": 6.3,
                            "attackVector": "NETWORK",
                            "baseSeverity": "MEDIUM",
                            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L",
                            "integrityImpact": "LOW",
                            "userInteraction": "NONE",
                            "attackComplexity": "LOW",
                            "availabilityImpact": "LOW",
                            "privilegesRequired": "LOW",
                            "confidentialityImpact": "LOW"
                        }
                    },
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "timestamp": "2024-04-23T00:27:31.880183Z",
                                "id": "CVE-2023-28329",
                                "options": [
                                    {
                                        "Exploitation": "none"
                                    },
                                    {
                                        "Automatable": "no"
                                    },
                                    {
                                        "Technical Impact": "total"
                                    }
                                ],
                                "role": "CISA Coordinator",
                                "version": "2.0.3"
                            }
                        }
                    }
                ],
                "title": "CISA ADP Vulnrichment",
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2024-06-05T13:37:57.909Z"
                }
            },
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-02T12:38:24.625Z"
                },
                "title": "CVE Program Container",
                "references": [
                    {
                        "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2179406",
                        "name": "RHBZ#2179406",
                        "tags": [
                            "issue-tracking",
                            "x_refsource_REDHAT",
                            "x_transferred"
                        ]
                    },
                    {
                        "name": "FEDORA-2023-d9c13996b2",
                        "tags": [
                            "vendor-advisory",
                            "x_transferred"
                        ],
                        "url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3QZN34VSF4HTCW3C3ZP2OZYSLYUKADPF/"
                    },
                    {
                        "url": "https://moodle.org/mod/forum/discuss.php?d=445061",
                        "tags": [
                            "x_transferred"
                        ]
                    }
                ]
            }
        ]
    }
}