CVE-2025-60511
Full vulnerability record from the local CVENow database.
Description
Moodle OpenAI Chat Block plugin 3.0.1 (2025021700) suffers from an Insecure Direct Object Reference (IDOR) vulnerability due to insufficient validation of the blockId parameter in /blocks/openai_chat/api/completion.php. An authenticated student can impersonate another user's block (e.g., administrator) and send queries that are executed with that block's configuration. This can expose administrator-only Source of Truth entries, alter model behavior, and potentially misuse API resources.
Severity
MEDIUM
CVSS score
4.3
(v3.1)
Vulnerability status
Deferred
Source identifier
Published
2025-10-21 17:15:40.303000
Last modified
2026-11-05 22:10:00.203000
View original CVE JSON
{
"id": "CVE-2025-60511",
"sourceIdentifier": "[email protected]",
"published": "2025-10-21T17:15:40.303",
"lastModified": "2026-11-05T22:10:00.203",
"vulnStatus": "Deferred",
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "Moodle OpenAI Chat Block plugin 3.0.1 (2025021700) suffers from an Insecure Direct Object Reference (IDOR) vulnerability due to insufficient validation of the blockId parameter in /blocks/openai_chat/api/completion.php. An authenticated student can impersonate another user's block (e.g., administrator) and send queries that are executed with that block's configuration. This can expose administrator-only Source of Truth entries, alter model behavior, and potentially misuse API resources."
},
{
"lang": "es",
"value": "El plugin Moodle OpenAI Chat Block 3.0.1 (2025021700) sufre de una vulnerabilidad de Referencia Directa a Objeto Insegura (IDOR) debido a la validación insuficiente del parámetro blockId en /blocks/openai_chat/api/completion.php. Un estudiante autenticado puede suplantar el bloque de otro usuario (p. ej., administrador) y enviar consultas que se ejecutan con la configuración de ese bloque. Esto puede exponer entradas de Fuente de Verdad solo para administradores, alterar el comportamiento del modelo y potencialmente hacer un uso indebido de los recursos de la API."
}
],
"affected": [
{
"source": "[email protected]",
"affectedData": [
{
"vendor": "n/a",
"product": "n/a",
"versions": [
{
"version": "n/a",
"status": "affected"
}
]
}
]
}
],
"metrics": {
"cvssMetricV31": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"type": "Secondary",
"cvssData": {
"version": "3.1",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N",
"baseScore": 4.3,
"baseSeverity": "MEDIUM",
"attackVector": "NETWORK",
"attackComplexity": "LOW",
"privilegesRequired": "LOW",
"userInteraction": "NONE",
"scope": "UNCHANGED",
"confidentialityImpact": "LOW",
"integrityImpact": "NONE",
"availabilityImpact": "NONE"
},
"exploitabilityScore": 2.8,
"impactScore": 1.4
}
],
"ssvcV203": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"ssvcData": {
"timestamp": "2025-10-21T18:35:13.323625Z",
"id": "CVE-2025-60511",
"options": [
{
"exploitation": "none"
},
{
"automatable": "no"
},
{
"technicalImpact": "partial"
}
],
"role": "CISA Coordinator",
"version": "2.0.3"
}
}
]
},
"weaknesses": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"type": "Secondary",
"description": [
{
"lang": "en",
"value": "CWE-639"
}
]
}
],
"references": [
{
"url": "https://github.com/onurcangnc/moodle_block_openai_chat",
"source": "[email protected]"
},
{
"url": "https://onurcangenc.com.tr/posts/idor-in-moodle-openai-chat-block-block_openai_chat-proof-of-concept-poc--cve-2025-60511/",
"source": "[email protected]"
}
]
}