{"id":"CVE-2009-0367","sourceIdentifier":"cve@mitre.org","published":"2009-03-05T02:30:00.327","lastModified":"2026-06-16T23:04:52.730","vulnStatus":"Modified","cveTags":[],"descriptions":[{"lang":"en","value":"The Python AI module in Wesnoth 1.4.x and 1.5 before 1.5.11 allows remote attackers to escape the sandbox and execute arbitrary code by using a whitelisted module that imports an unsafe module, then using a hierarchical module name to access the unsafe module through the whitelisted module."},{"lang":"es","value":"El módulo Python AI de Wesnoth v1.4.x y v1.5 anterior a v1.5.11, permite a atacantes remotos escapar del sandbox -cajón de arena- y ejecutar código de su elección utilizando un módulo de lista blanca que importa un módulo no seguro, después la usar el nombre de un módulo jerárquico para acceder a un módulo no seguro a través del módulo de lista blanca."}],"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:N/C:C/I:C/A:C","baseScore":9.3,"accessVector":"NETWORK","accessComplexity":"MEDIUM","authentication":"NONE","confidentialityImpact":"COMPLETE","integrityImpact":"COMPLETE","availabilityImpact":"COMPLETE"},"baseSeverity":"HIGH","exploitabilityScore":8.6,"impactScore":10.0,"acInsufInfo":false,"obtainAllPrivilege":true,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":true}]},"weaknesses":[{"source":"nvd@nist.gov","type":"Primary","description":[{"lang":"en","value":"CWE-264"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:wesnoth:wesnoth:1.4:*:*:*:*:*:*:*","matchCriteriaId":"DB71E24E-1A08-491F-8379-FE41AF012E90"},{"vulnerable":true,"criteria":"cpe:2.3:a:wesnoth:wesnoth:1.4.1:*:*:*:*:*:*:*","matchCriteriaId":"F0B57803-62E1-4F50-92DD-6796C6D60758"},{"vulnerable":true,"criteria":"cpe:2.3:a:wesnoth:wesnoth:1.4.2:*:*:*:*:*:*:*","matchCriteriaId":"C5D83E56-BE05-4DF7-88AD-BC0AD5098415"},{"vulnerable":true,"criteria":"cpe:2.3:a:wesnoth:wesnoth:1.4.3:*:*:*:*:*:*:*","matchCriteriaId":"621115C3-5AF6-4709-BB0B-A0FE481C5C79"},{"vulnerable":true,"criteria":"cpe:2.3:a:wesnoth:wesnoth:1.4.4:*:*:*:*:*:*:*","matchCriteriaId":"EE1549F8-FE6A-49E5-BC19-585C4957E061"},{"vulnerable":true,"criteria":"cpe:2.3:a:wesnoth:wesnoth:1.4.5:*:*:*:*:*:*:*","matchCriteriaId":"3FD5F86E-F65D-4114-9057-A81B360BE143"},{"vulnerable":true,"criteria":"cpe:2.3:a:wesnoth:wesnoth:1.4.6:*:*:*:*:*:*:*","matchCriteriaId":"256B2C75-47E5-4A8F-9672-B56D17086764"},{"vulnerable":true,"criteria":"cpe:2.3:a:wesnoth:wesnoth:1.4.7:*:*:*:*:*:*:*","matchCriteriaId":"ECD02FB1-72CD-42A3-8E7C-910490467A0A"},{"vulnerable":true,"criteria":"cpe:2.3:a:wesnoth:wesnoth:1.5.0:*:*:*:*:*:*:*","matchCriteriaId":"15627E66-D852-4F68-9C9A-3EAF5B805BC5"},{"vulnerable":true,"criteria":"cpe:2.3:a:wesnoth:wesnoth:1.5.1:*:*:*:*:*:*:*","matchCriteriaId":"415FE737-8F89-463D-9F1D-EF5EDACFCD6F"},{"vulnerable":true,"criteria":"cpe:2.3:a:wesnoth:wesnoth:1.5.2:*:*:*:*:*:*:*","matchCriteriaId":"1941BB00-8039-4DD8-815A-1AE0CA986C70"},{"vulnerable":true,"criteria":"cpe:2.3:a:wesnoth:wesnoth:1.5.3:*:*:*:*:*:*:*","matchCriteriaId":"5D091DF5-3229-43E0-BEC4-754992B8DD5C"},{"vulnerable":true,"criteria":"cpe:2.3:a:wesnoth:wesnoth:1.5.4:*:*:*:*:*:*:*","matchCriteriaId":"77F8C56F-1F74-4F40-85D8-DA861DE4DB5C"},{"vulnerable":true,"criteria":"cpe:2.3:a:wesnoth:wesnoth:1.5.5:*:*:*:*:*:*:*","matchCriteriaId":"E1E58D08-F602-4BE6-978D-34B58E9188B7"},{"vulnerable":true,"criteria":"cpe:2.3:a:wesnoth:wesnoth:1.5.6:*:*:*:*:*:*:*","matchCriteriaId":"51001322-B437-4A1C-83BA-C8E3C3BCE7CF"},{"vulnerable":true,"criteria":"cpe:2.3:a:wesnoth:wesnoth:1.5.7:*:*:*:*:*:*:*","matchCriteriaId":"A991E343-0C44-4F37-80EE-5C0E45EDA909"},{"vulnerable":true,"criteria":"cpe:2.3:a:wesnoth:wesnoth:1.5.8:*:*:*:*:*:*:*","matchCriteriaId":"3C4223A3-6F43-4774-8579-59868FB5074B"},{"vulnerable":true,"criteria":"cpe:2.3:a:wesnoth:wesnoth:1.5.9:*:*:*:*:*:*:*","matchCriteriaId":"CA5792D1-F342-41F2-B056-D8BA99F5C80E"},{"vulnerable":true,"criteria":"cpe:2.3:a:wesnoth:wesnoth:1.5.10:*:*:*:*:*:*:*","matchCriteriaId":"8EDB1AAF-2513-4511-9E28-E0E9ACF74C19"}]}]}],"references":[{"url":"http://launchpad.net/bugs/335089","source":"cve@mitre.org"},{"url":"http://launchpad.net/bugs/336396","source":"cve@mitre.org"},{"url":"http://launchpad.net/bugs/cve/2009-0367","source":"cve@mitre.org"},{"url":"http://packages.debian.org/changelogs/pool/main/w/wesnoth/wesnoth_1.4.7-4/changelog","source":"cve@mitre.org"},{"url":"http://packages.debian.org/changelogs/pool/main/w/wesnoth/wesnoth_1.5.12-1/changelog","source":"cve@mitre.org"},{"url":"http://secunia.com/advisories/34058","source":"cve@mitre.org","tags":["Vendor Advisory"]},{"url":"http://secunia.com/advisories/34236","source":"cve@mitre.org"},{"url":"http://www.debian.org/security/2009/dsa-1737","source":"cve@mitre.org"},{"url":"http://www.vupen.com/english/advisories/2009/0595","source":"cve@mitre.org","tags":["Patch","Vendor Advisory"]},{"url":"http://www.wesnoth.org/forum/viewtopic.php?t=24247","source":"cve@mitre.org","tags":["Patch","Vendor Advisory"]},{"url":"http://www.wesnoth.org/forum/viewtopic.php?t=24340","source":"cve@mitre.org","tags":["Patch","Vendor Advisory"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/49058","source":"cve@mitre.org"},{"url":"https://gna.org/bugs/index.php?13048","source":"cve@mitre.org"},{"url":"http://launchpad.net/bugs/335089","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://launchpad.net/bugs/336396","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://launchpad.net/bugs/cve/2009-0367","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://packages.debian.org/changelogs/pool/main/w/wesnoth/wesnoth_1.4.7-4/changelog","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://packages.debian.org/changelogs/pool/main/w/wesnoth/wesnoth_1.5.12-1/changelog","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://secunia.com/advisories/34058","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Vendor Advisory"]},{"url":"http://secunia.com/advisories/34236","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.debian.org/security/2009/dsa-1737","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.vupen.com/english/advisories/2009/0595","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch","Vendor Advisory"]},{"url":"http://www.wesnoth.org/forum/viewtopic.php?t=24247","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch","Vendor Advisory"]},{"url":"http://www.wesnoth.org/forum/viewtopic.php?t=24340","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch","Vendor Advisory"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/49058","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://gna.org/bugs/index.php?13048","source":"af854a3a-2127-422b-91ae-364da2661108"}]}