{"id":"CVE-2010-3781","sourceIdentifier":"cve@mitre.org","published":"2010-10-06T21:00:01.430","lastModified":"2026-06-16T23:23:31.650","vulnStatus":"Modified","cveTags":[],"descriptions":[{"lang":"en","value":"The PL/php add-on 1.4 and earlier for PostgreSQL does not properly protect script execution by a different SQL user identity within the same session, which allows remote authenticated users to gain privileges via crafted script code in a SECURITY DEFINER function, a related issue to CVE-2010-3433."},{"lang":"es","value":"El complemento PL/php v1.4 y anteriores para PostgreSQL no protege adecuadamente la ejecución de secuencias de comando por un usuario SQL diferente en la misma sesión, lo que permite a usuarios autenticados remotamente ganar privilegios a través de la función SECURITY DEFINER en secuencias de comando manipuladas. Relacionado con el fallo CVE-2010-3433."}],"affected":[{"source":"cve@mitre.org","affectedData":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}]}],"metrics":{"cvssMetricV2":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"2.0","vectorString":"AV:N/AC:M/Au:S/C:P/I:P/A:P","baseScore":6.0,"accessVector":"NETWORK","accessComplexity":"MEDIUM","authentication":"SINGLE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL"},"baseSeverity":"MEDIUM","exploitabilityScore":6.8,"impactScore":6.4,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":true,"userInteractionRequired":false}]},"weaknesses":[{"source":"nvd@nist.gov","type":"Primary","description":[{"lang":"en","value":"CWE-264"}]}],"configurations":[{"operator":"AND","nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:alvaro_herrera:pl\\/php:*:*:*:*:*:*:*:*","versionEndIncluding":"1.4","matchCriteriaId":"348D5331-ECC6-4E02-8297-663F09311F8B"},{"vulnerable":true,"criteria":"cpe:2.3:a:alvaro_herrera:pl\\/php:1.0:*:*:*:*:*:*:*","matchCriteriaId":"82763B21-180E-4820-91AA-9475E535D9AE"},{"vulnerable":true,"criteria":"cpe:2.3:a:alvaro_herrera:pl\\/php:1.1:*:*:*:*:*:*:*","matchCriteriaId":"35B237D7-2059-4BD0-BE8D-65E93180360B"},{"vulnerable":true,"criteria":"cpe:2.3:a:alvaro_herrera:pl\\/php:1.2:*:*:*:*:*:*:*","matchCriteriaId":"90B0A478-57CF-4BF2-B6D5-2D55259A5300"},{"vulnerable":true,"criteria":"cpe:2.3:a:alvaro_herrera:pl\\/php:1.3.1:*:*:*:*:*:*:*","matchCriteriaId":"962A3D30-7C0D-489F-896E-7718FB1A927F"},{"vulnerable":true,"criteria":"cpe:2.3:a:alvaro_herrera:pl\\/php:1.3.2:*:*:*:*:*:*:*","matchCriteriaId":"16F6ADAE-8DE8-46AB-BF15-CE0948305ABE"},{"vulnerable":true,"criteria":"cpe:2.3:a:alvaro_herrera:pl\\/php:1.3.3:*:*:*:*:*:*:*","matchCriteriaId":"82F0F4C7-5404-4D53-8B56-42F38E96FC19"},{"vulnerable":true,"criteria":"cpe:2.3:a:alvaro_herrera:pl\\/php:1.3.5:beta1:*:*:*:*:*:*","matchCriteriaId":"0B349755-B641-4C9C-907C-4C83C4D6E64F"}]},{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":false,"criteria":"cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:*","matchCriteriaId":"E5A47A8B-5F2B-42B1-A8F6-ACDBEA4D8485"}]}]}],"references":[{"url":"http://www.postgresql.org/about/news.1244","source":"cve@mitre.org"},{"url":"http://www.postgresql.org/docs/9.0/static/release-9-0-1.html","source":"cve@mitre.org"},{"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A6645","source":"cve@mitre.org"},{"url":"http://www.postgresql.org/about/news.1244","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.postgresql.org/docs/9.0/static/release-9-0-1.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A6645","source":"af854a3a-2127-422b-91ae-364da2661108"}]}