{"dataType": "CVE_RECORD", "containers": {"cna": {"metrics": [{"format": "CVSS", "cvssV2_0": {"version": "2.0", "baseScore": 7.5, "accessVector": "NETWORK", "vectorString": "AV:N/AC:L/Au:N/C:P/I:P/A:P", "authentication": "NONE", "integrityImpact": "PARTIAL", "accessComplexity": "LOW", "availabilityImpact": "PARTIAL", "confidentialityImpact": "PARTIAL"}}], "affected": [{"cpes": ["cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:*"], "vendor": "moodle", "product": "moodle", "versions": [{"status": "affected", "version": "0", "versionType": "custom", "lessThanOrEqual": "1.6.1"}], "defaultStatus": "unaffected"}], "references": [{"url": "http://secunia.com/advisories/21899", "tags": ["patch", "third-party-advisory"]}, {"url": "http://www.securityfocus.com/bid/19995", "tags": ["patch", "third-party-advisory", "vdb-entry"]}, {"url": "http://www.securityfocus.com/bid/20085", "tags": ["patch", "third-party-advisory", "vdb-entry"]}, {"url": "http://www.attrition.org/pipermail/vim/2006-September/001038.html", "tags": ["third-party-advisory"]}, {"url": "http://www.attrition.org/pipermail/vim/2006-September/001040.html", "tags": ["third-party-advisory"]}, {"url": "http://www.vupen.com/english/advisories/2006/3591", "tags": ["third-party-advisory"]}, {"url": "http://securitytracker.com/id?1016877", "tags": ["third-party-advisory", "vdb-entry"]}, {"url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/28904", "tags": ["third-party-advisory", "vdb-entry"]}, {"url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/29001", "tags": ["third-party-advisory", "vdb-entry"]}, {"url": "http://docs.moodle.org/en/Release_notes#Moodle_1.6.2", "tags": ["vendor-advisory"]}, {"url": "http://www.securityfocus.com/archive/1/446227/100/0/threaded"}], "descriptions": [{"lang": "en", "value": "SQL injection vulnerability in blog/edit.php in Moodle 1.6.1 and earlier allows remote attackers to execute arbitrary SQL commands via the format parameter as stored in the $blogEntry variable, which is not properly handled by the insert_record function, which calls _adodb_column_sql in the adodb layer (lib/adodb/adodb-lib.inc.php), which does not convert the data type to an int."}, {"lang": "es", "value": "Vulnerabilidad de inyección SQL en el blog/edit.php del Moodle 1.6.1 y anteriores permite a atacantes remotos ejecutar comandos SQL de su elección a través del parámetro format como el almacenado en la variable $blogEntry, lo que no es correctamente manejado por la función insert_record, lo que llama al _adodb_column_sql en la capa adodb (lib/adodb/adodb-lib.inc.php), y no convierte este tipo de datos a un entero (int)."}], "problemTypes": [{"descriptions": [{"lang": "en", "cweId": "CWE-89", "description": "CWE-89"}]}], "providerMetadata": {"orgId": "00000000-0000-4000-A000-000000000003", "shortName": "nvd", "dateUpdated": "2006-09-14T10:07:00Z", "x_subShortName": "nvd"}}}, "cveMetadata": {"cveId": "CVE-2006-4785", "state": "PUBLISHED", "dateUpdated": "2025-04-03T01:03:51Z", "assignerOrgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca", "datePublished": "2006-09-14T10:07:00Z", "assignerShortName": "mitre"}, "dataVersion": "5.0"}