Description
Stack-based buffer overflow in modules/graphic/ssgraph/grsound.cpp in The Open Racing Car Simulator (TORCS) before 1.3.3 and Speed Dreams allows user-assisted remote attackers to execute arbitrary code via a long file name in an engine sample attribute in an xml configuration file.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | torcs | 1.3.3-1 | — |
| Debian 13 | torcs | 1.3.3-1 | — |
| Debian 12 | torcs | 1.3.3-1 | — |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Exploit-DB 1
- TORCS 1.3.2 - '.xml' File Buffer Overflow /SafeSEH Evasion EDB-18471 · local · Feb 8, 2012 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
References
- http://freecode.com/projects/torcs/releases/341672
- http://torcs.sourceforge.net/index.php?name=News&file=article&sid=79
- 18471 exploit
- [oss-security] 20120218 TORCS 1.3.2 xml buffer overflow - CVE-2012-1189 mailing-list
- 79372 vdb-entry
- [oss-security] 20120305 Re: TORCS 1.3.2 xml buffer overflow - CVE-2012-1189 mailing-list