{"api_version":"1","generated_at":"2026-07-23T11:09:50+00:00","cve":"CVE-2004-1338","urls":{"html":"https://cve.report/CVE-2004-1338","api":"https://cve.report/api/cve/CVE-2004-1338.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2004-1338","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2004-1338"},"summary":{"title":"CVE-2004-1338","description":"The triggers in Oracle 9i and 10g allow local users to gain privileges by using a sequence of partially privileged actions: using CCBKAPPLROWTRIG or EXEC_CBK_FN_DML to add arbitrary functions to the SDO_CMT_DBK_FN_TABLE and SDO_CMT_CBK_DML_TABLE, then performing a DELETE on the SDO_TXN_IDX_INSERTS table, which causes the SDO_CMT_CBK_TRIG trigger to execute the user-supplied functions.","state":"PUBLISHED","assigner":"mitre","published_at":"2004-12-23 05:00:00","updated_at":"2025-04-03 01:03:51"},"problem_types":["CWE-264","n/a"],"metrics":[{"version":"2.0","source":"nvd@nist.gov","type":"Primary","score":"6.5","severity":"","vector":"AV:N/AC:L/Au:S/C:P/I:P/A:P","data":{"version":"2.0","vectorString":"AV:N/AC:L/Au:S/C:P/I:P/A:P","baseScore":6.5,"accessVector":"NETWORK","accessComplexity":"LOW","authentication":"SINGLE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL"}}],"references":[{"url":"http://www.ngssoftware.com/advisories/oracle23122004I.txt","name":"http://www.ngssoftware.com/advisories/oracle23122004I.txt","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch","Vendor Advisory"],"title":"","mime":"text/plain","httpstatus":"-1","archivestatus":"200"},{"url":"http://marc.info/?l=bugtraq&m=110382230614420&w=2","name":"http://marc.info/?l=bugtraq&m=110382230614420&w=2","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory"],"title":"'Oracle Trigger Abuse (#NISR2122004I)' - MARC","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/18655","name":"https://exchange.xforce.ibmcloud.com/vulnerabilities/18655","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"IBM X-Force Exchange","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2004-1338","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2004-1338","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"n/a","product":"n/a","version":"affected n/a","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2004","cve_id":"1338","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"oracle","cpe5":"database_server","cpe6":"10.2.1","cpe7":"r2","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2004","cve_id":"1338","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"oracle","cpe5":"oracle9i","cpe6":"9.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2004","cve_id":"1338","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"oracle","cpe5":"oracle9i","cpe6":"9.0.1","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2004","cve_id":"1338","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"oracle","cpe5":"oracle9i","cpe6":"9.0.1.2","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2004","cve_id":"1338","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"oracle","cpe5":"oracle9i","cpe6":"9.0.1.3","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2004","cve_id":"1338","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"oracle","cpe5":"oracle9i","cpe6":"9.0.1.4","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2004","cve_id":"1338","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"oracle","cpe5":"oracle9i","cpe6":"9.0.2","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2004","cve_id":"1338","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"oracle","cpe5":"oracle9i","cpe6":"9.0.2.0.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2004","cve_id":"1338","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"oracle","cpe5":"oracle9i","cpe6":"9.0.2.0.1","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2004","cve_id":"1338","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"oracle","cpe5":"oracle9i","cpe6":"9.0.2.1","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2004","cve_id":"1338","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"oracle","cpe5":"oracle9i","cpe6":"9.0.2.2","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2004","cve_id":"1338","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"oracle","cpe5":"oracle9i","cpe6":"9.0.2.3","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2004","cve_id":"1338","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"oracle","cpe5":"oracle9i","cpe6":"9.2.0.1","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2004","cve_id":"1338","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"oracle","cpe5":"oracle9i","cpe6":"9.2.0.2","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"adp":[{"providerMetadata":{"dateUpdated":"2024-08-08T00:46:12.320Z","orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE"},"references":[{"name":"20041223 Oracle Trigger Abuse (#NISR2122004I)","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred"],"url":"http://marc.info/?l=bugtraq&m=110382230614420&w=2"},{"tags":["x_refsource_MISC","x_transferred"],"url":"http://www.ngssoftware.com/advisories/oracle23122004I.txt"},{"name":"oracle-triggers-gain-privileges(18655)","tags":["vdb-entry","x_refsource_XF","x_transferred"],"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/18655"}],"title":"CVE Program Container"}],"cna":{"affected":[{"product":"n/a","vendor":"n/a","versions":[{"status":"affected","version":"n/a"}]}],"datePublic":"2004-12-23T00:00:00.000Z","descriptions":[{"lang":"en","value":"The triggers in Oracle 9i and 10g allow local users to gain privileges by using a sequence of partially privileged actions: using CCBKAPPLROWTRIG or EXEC_CBK_FN_DML to add arbitrary functions to the SDO_CMT_DBK_FN_TABLE and SDO_CMT_CBK_DML_TABLE, then performing a DELETE on the SDO_TXN_IDX_INSERTS table, which causes the SDO_CMT_CBK_TRIG trigger to execute the user-supplied functions."}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"dateUpdated":"2017-07-10T14:57:01.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","shortName":"mitre"},"references":[{"name":"20041223 Oracle Trigger Abuse (#NISR2122004I)","tags":["mailing-list","x_refsource_BUGTRAQ"],"url":"http://marc.info/?l=bugtraq&m=110382230614420&w=2"},{"tags":["x_refsource_MISC"],"url":"http://www.ngssoftware.com/advisories/oracle23122004I.txt"},{"name":"oracle-triggers-gain-privileges(18655)","tags":["vdb-entry","x_refsource_XF"],"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/18655"}],"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2004-1338","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"The triggers in Oracle 9i and 10g allow local users to gain privileges by using a sequence of partially privileged actions: using CCBKAPPLROWTRIG or EXEC_CBK_FN_DML to add arbitrary functions to the SDO_CMT_DBK_FN_TABLE and SDO_CMT_CBK_DML_TABLE, then performing a DELETE on the SDO_TXN_IDX_INSERTS table, which causes the SDO_CMT_CBK_TRIG trigger to execute the user-supplied functions."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"20041223 Oracle Trigger Abuse (#NISR2122004I)","refsource":"BUGTRAQ","url":"http://marc.info/?l=bugtraq&m=110382230614420&w=2"},{"name":"http://www.ngssoftware.com/advisories/oracle23122004I.txt","refsource":"MISC","url":"http://www.ngssoftware.com/advisories/oracle23122004I.txt"},{"name":"oracle-triggers-gain-privileges(18655)","refsource":"XF","url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/18655"}]}}}},"cveMetadata":{"assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","assignerShortName":"mitre","cveId":"CVE-2004-1338","datePublished":"2005-01-06T05:00:00.000Z","dateReserved":"2005-01-06T00:00:00.000Z","dateUpdated":"2024-08-08T00:46:12.320Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.1"},"nvd":{"publishedDate":"2004-12-23 05:00:00","lastModifiedDate":"2025-04-03 01:03:51","problem_types":["CWE-264","n/a"],"metrics":{"cvssMetricV2":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"2.0","vectorString":"AV:N/AC:L/Au:S/C:P/I:P/A:P","baseScore":6.5,"accessVector":"NETWORK","accessComplexity":"LOW","authentication":"SINGLE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL"},"baseSeverity":"MEDIUM","exploitabilityScore":8,"impactScore":6.4,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":true,"userInteractionRequired":false}]},"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:oracle:database_server:10.2.1:r2:*:*:*:*:*:*","matchCriteriaId":"ABF498E5-F7DF-41F4-BC47-AB66E69BC89F"},{"vulnerable":true,"criteria":"cpe:2.3:a:oracle:oracle9i:9.0:*:*:*:*:*:*:*","matchCriteriaId":"2C2720EA-55FB-40B1-BE58-3E16628DA248"},{"vulnerable":true,"criteria":"cpe:2.3:a:oracle:oracle9i:9.0.1:*:*:*:*:*:*:*","matchCriteriaId":"D9BB176D-7A94-4A91-89FC-9971E19FF7C6"},{"vulnerable":true,"criteria":"cpe:2.3:a:oracle:oracle9i:9.0.1.2:*:*:*:*:*:*:*","matchCriteriaId":"8F012561-EA9E-4665-AD81-0AC7655BA22A"},{"vulnerable":true,"criteria":"cpe:2.3:a:oracle:oracle9i:9.0.1.3:*:*:*:*:*:*:*","matchCriteriaId":"FEF5BE7D-BB10-43E5-8910-626CB6032D64"},{"vulnerable":true,"criteria":"cpe:2.3:a:oracle:oracle9i:9.0.1.4:*:*:*:*:*:*:*","matchCriteriaId":"5DA959EE-44EE-4B81-B7D3-E1C4B9B29FAD"},{"vulnerable":true,"criteria":"cpe:2.3:a:oracle:oracle9i:9.0.2:*:*:*:*:*:*:*","matchCriteriaId":"330BE6F7-144F-4188-84A4-6597AED71024"},{"vulnerable":true,"criteria":"cpe:2.3:a:oracle:oracle9i:9.0.2.0.0:*:*:*:*:*:*:*","matchCriteriaId":"ED7598BA-C4F9-46C7-A90D-F80697EA9E4A"},{"vulnerable":true,"criteria":"cpe:2.3:a:oracle:oracle9i:9.0.2.0.1:*:*:*:*:*:*:*","matchCriteriaId":"D52D7F1A-7ADF-439B-9FF6-BF0D18CEF3A5"},{"vulnerable":true,"criteria":"cpe:2.3:a:oracle:oracle9i:9.0.2.1:*:*:*:*:*:*:*","matchCriteriaId":"BBAA75E1-6ED1-400E-9BBE-1890D7D0FA28"},{"vulnerable":true,"criteria":"cpe:2.3:a:oracle:oracle9i:9.0.2.2:*:*:*:*:*:*:*","matchCriteriaId":"0D24685E-293E-4292-A7FC-E463723FFA9D"},{"vulnerable":true,"criteria":"cpe:2.3:a:oracle:oracle9i:9.0.2.3:*:*:*:*:*:*:*","matchCriteriaId":"0A1207BD-F50A-4E5E-89E8-E016AF356149"},{"vulnerable":true,"criteria":"cpe:2.3:a:oracle:oracle9i:9.2.0.1:*:*:*:*:*:*:*","matchCriteriaId":"79C42FED-8E75-4AAD-9870-CD16508DDF86"},{"vulnerable":true,"criteria":"cpe:2.3:a:oracle:oracle9i:9.2.0.2:*:*:*:*:*:*:*","matchCriteriaId":"34E38EFA-AEFB-4B9E-913C-FFE3C2DABFC7"}]}]}]},"legacy_mitre":{"record":{"CveYear":"2004","CveId":"1338","Ordinal":"1","Title":"CVE-2004-1338","CVE":"CVE-2004-1338","Year":"2004"},"notes":[{"CveYear":"2004","CveId":"1338","Ordinal":"1","NoteData":"The triggers in Oracle 9i and 10g allow local users to gain privileges by using a sequence of partially privileged actions: using CCBKAPPLROWTRIG or EXEC_CBK_FN_DML to add arbitrary functions to the SDO_CMT_DBK_FN_TABLE and SDO_CMT_CBK_DML_TABLE, then performing a DELETE on the SDO_TXN_IDX_INSERTS table, which causes the SDO_CMT_CBK_TRIG trigger to execute the user-supplied functions.","Type":"Description","Title":"CVE-2004-1338"},{"CveYear":"2004","CveId":"1338","Ordinal":"2","NoteData":"2005-01-06","Type":"Other","Title":"Published"},{"CveYear":"2004","CveId":"1338","Ordinal":"3","NoteData":"2017-07-10","Type":"Other","Title":"Modified"}]}}}