{"id":"CVE-2009-0367","aliases":["DSA-1737-1","EUVD-2009-0371","GHSA-hmxr-rwh4-hh58"],"status":"published","title":"The Python AI module in Wesnoth 1.4.x and 1.5 before 1.5.11 allows remote attackers to escape the...","description":"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.","severity":{"version":"2.0","score":9.3,"vector":"AV:N/AC:M/Au:N/C:C/I:C/A:C","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-07","score":0.10936,"percentile":0.95911,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":false},"cwes":["CWE-264"],"published":"2009-03-05T02:00:00Z","modified":"2026-06-16T23:04:52Z","exploits":[{"source":"exploitdb","id":"EDB-32837","title":"Wesnoth 1.x - PythonAI Remote Code Execution","type":"remote","platform":"linux","date":"2009-02-25","verified":true,"url":"https://www.exploit-db.com/exploits/32837"}],"affected":[{"source":"osv","ecosystem":"Debian:4.0","package":"wesnoth","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2-5"}]}],"versions":["1.2-1","1.2-2","1.2-3","1.2-4"],"bundled":3},{"source":"osv","ecosystem":"Debian:5.0","package":"wesnoth","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:1.4.4-2+lenny1"}]}],"versions":["1:1.4.4-2","1:1.4.4-2+lenny1~bpo40+1"],"bundled":3}],"products":[{"vendor":"wesnoth","product":"wesnoth"}],"references":[{"url":"http://launchpad.net/bugs/336396","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://packages.debian.org/changelogs/pool/main/w/wesnoth/wesnoth_1.5.12-1/changelog","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://gna.org/bugs/index.php?13048","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/49058","tags":["vdb-entry","x_refsource_XF","x_transferred"]},{"url":"http://www.wesnoth.org/forum/viewtopic.php?t=24340","tags":["x_refsource_CONFIRM","x_transferred","Patch","Vendor Advisory"]},{"url":"http://packages.debian.org/changelogs/pool/main/w/wesnoth/wesnoth_1.4.7-4/changelog","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://www.wesnoth.org/forum/viewtopic.php?t=24247","tags":["x_refsource_CONFIRM","x_transferred","Patch","Vendor Advisory"]},{"url":"http://secunia.com/advisories/34058","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory"]},{"url":"http://www.vupen.com/english/advisories/2009/0595","tags":["vdb-entry","x_refsource_VUPEN","x_transferred","Patch","Vendor Advisory"]},{"url":"http://launchpad.net/bugs/cve/2009-0367","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://secunia.com/advisories/34236","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://www.debian.org/security/2009/dsa-1737","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred"]},{"url":"http://launchpad.net/bugs/335089","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2009-0367"},{"url":"https://github.com/advisories/GHSA-hmxr-rwh4-hh58"}],"sources":{"cve":[{"id":"CVE-2009-0367","description":"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.","status":"published","published":"2009-03-05T02:00:00Z","modified":"2024-08-07T04:31:26.042Z","updated_at":"2026-11-02T14:33:25.896677Z"}],"euvd":[{"id":"EUVD-2009-0371","description":"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.","status":"published","published":"2009-03-05T02:00:00Z","modified":"2024-08-07T04:31:26Z","updated_at":"2026-11-03T01:39:26.059387Z"}],"ghsa":[{"id":"GHSA-hmxr-rwh4-hh58","title":"The Python AI module in Wesnoth 1.4.x and 1.5 before 1.5.11 allows remote attackers to escape the...","description":"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.","status":"published","published":"2022-05-02T03:14:58Z","modified":"2023-01-31T05:07:05Z","updated_at":"2026-11-02T14:49:08.811767Z"}],"nvd":[{"id":"CVE-2009-0367","description":"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.","status":"published","published":"2009-03-05T02:30:00.327Z","modified":"2026-06-16T23:04:52.73Z","cvss":[{"version":"2.0","score":9.3,"vector":"AV:N/AC:M/Au:N/C:C/I:C/A:C","level":"high","assessor":"primary"}],"cwes":["CWE-264"],"updated_at":"2026-11-02T14:01:34.44527Z"}],"osv":[{"id":"DSA-1737-1","title":"wesnoth - several vulnerabilities","status":"published","published":"2009-03-11T00:00:00Z","modified":"2026-03-09T01:22:47.937763Z","updated_at":"2026-11-02T15:46:14.734124Z"}]}}
