Secunia Logo
Netsikker nu! 2008
 
OpenTTD Format String and Buffer Overflow Vulnerabilities
Secunia Advisory: SA16696
Release Date: 2005-09-06
Last Update: 2006-02-01
Popularity: 5,816 views

Critical:
Highly critical
Impact: DoS
System access
Where: From remote
Solution Status: Vendor Patch

Software:OpenTTD 0.x

Subscribe: Instant alerts on relevant vulnerabilities

CVE reference:CVE-2005-2763
CVE-2005-2764


Description:
Some vulnerabilities have been reported in OpenTTD, which can be exploited by malicious people to cause a DoS (Denial of Service) or potentially compromise a vulnerable system.

1) Some format string error in the handling of network text messages in network_server.c, network.c, console_cmds.c, and network_client.c can be exploited to crash the OpenTTD server or client and potentially to execute arbitrary code.

2) Some boundary errors due to the unsafe use of "vsprintf()" may be exploited to cause a DoS and potentially to execute arbitrary code.

Vulnerabilities #1 and #2 have been reported in version 0.4.0.1. Other versions may also be affected.

3) An input validation error exists in the "CmdPlantTree()" function in tree_cmd.c when handling the tree-planting command. This may be exploited to cause a buffer overflow.

Solution:
Update to version 0.4.5.
https://sourceforge.net/project/showf...group_id=103924&package_id=111717

Provided and/or discovered by:
1-2) Alexey Dobriyan
3) Reported by vendor

Changelog:
2005-09-28: Added CVE reference.
2006-02-01: Added vulnerability.

Original Advisory:
http://www.tt-forums.net/viewtopic.php?p=400836
http://svn.openttd.org/cgi-bin/trac.cgi/changeset/2899
http://svn.openttd.org/cgi-bin/trac.cgi/changeset/3446


Track this Secunia Advisory
Customers of the Secunia Vulnerability Intelligence solutions will automatically receive updates when new information regarding this advisory is released.

Read more about our Vulnerability Intelligence solutions and what they can do for you and your company.

About this Secunia Advisory
Please note: The information that this Secunia Advisory is based on comes from a third party unless stated otherwise.

Secunia collects, validates, and verifies all vulnerability reports issued by security research groups, vendors, and others.
  
Latest Advisories

Send Feedback to Secunia
If you have new information regarding this Secunia advisory or a product in our database, please send it to us using either our web form or email us at vuln@secunia.com.

Ideas, suggestions, and other feedback are most welcome.

Most Popular - 3 Hours

1. phpBB "gen_rand_string()" Predictable RNG Weakness // 92 views
2. Zeroboard Multiple Vulnerabilities // 52 views
3. ArticleBeach Script "page" File Inclusion Vulnerability // 43 views
4. Zeroboard Two Vulnerabilities // 40 views
5. Sun Java System Web Proxy Server FTP Subsystem Buffer Overflow // 32 views
6. CA ARCserve Backup Multiple Vulnerabilities // 31 views
7. CUPS Multiple Vulnerabilities // 26 views
8. Apple Mac OS X Security Update Fixes Multiple Vulnerabilities // 25 views
9. DFF PHP Framework API "DFF_config[dir_include]" File Inclusion Vulnerabilities // 24 views
10. ScriptsEz Easy Image Downloader "id" File Disclosure Vulnerability // 23 views