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.
Exploits (1)
exploitdb
WORKING POC
VERIFIED
by Wesnoth · pythonremotelinux
https://www.exploit-db.com/exploits/32837
References (13)
Core 13
Core References
Various Sources x_refsource_confirm
http://launchpad.net/bugs/336396
Various Sources x_refsource_confirm
http://launchpad.net/bugs/cve/2009-0367
Various Sources x_refsource_confirm
http://launchpad.net/bugs/335089
Various Sources x_refsource_confirm
http://packages.debian.org/changelogs/pool/main/w/wesnoth/wesnoth_1.5.12-1/changelog
Various Sources x_refsource_confirm
https://gna.org/bugs/index.php?13048
Third Party Advisory, VDB Entry vdb-entry
x_refsource_xf
https://exchange.xforce.ibmcloud.com/vulnerabilities/49058
Patch, Vendor Advisory x_refsource_confirm
http://www.wesnoth.org/forum/viewtopic.php?t=24340
Various Sources x_refsource_confirm
http://packages.debian.org/changelogs/pool/main/w/wesnoth/wesnoth_1.4.7-4/changelog
Patch, Vendor Advisory x_refsource_confirm
http://www.wesnoth.org/forum/viewtopic.php?t=24247
Vendor Advisory third-party-advisory
x_refsource_secunia
http://secunia.com/advisories/34058
Patch, Vendor Advisory vdb-entry
x_refsource_vupen
http://www.vupen.com/english/advisories/2009/0595
Third Party Advisory third-party-advisory
x_refsource_secunia
http://secunia.com/advisories/34236
Third Party Advisory vendor-advisory
x_refsource_debian
http://www.debian.org/security/2009/dsa-1737
Scores
EPSS
0.0780
EPSS Percentile
92.0%
Details
CWE
CWE-264
Status
published
Products (19)
wesnoth/wesnoth
1.4
wesnoth/wesnoth
1.4.1
wesnoth/wesnoth
1.4.2
wesnoth/wesnoth
1.4.3
wesnoth/wesnoth
1.4.4
wesnoth/wesnoth
1.4.5
wesnoth/wesnoth
1.4.6
wesnoth/wesnoth
1.4.7
wesnoth/wesnoth
1.5.0
wesnoth/wesnoth
1.5.1
... and 9 more
Published
Mar 05, 2009
Tracked Since
Feb 18, 2026