Secunia Logo
Netsikker nu! 2008
 
URBAN Symlink and Multiple Local Buffer Overflow Vulnerabilities
Secunia Advisory: SA16680
Release Date: 2005-09-05
Last Update: 2005-09-27
Popularity: 4,251 views

Critical:
Not critical
Impact: Privilege escalation
Where: Local system
Solution Status: Partial Fix

Software:URBAN The Cyborg Project 1.x

Subscribe: Instant alerts on relevant vulnerabilities

CVE reference:CVE-2005-2864
CVE-2005-2810


Description:
shaun has reported some vulnerabilities in URBAN, which can be exploited by malicious, local users to gain escalated privileges.

1) Some boundary errors in config.cc, game.cc, highscor.cc, and meny.cc when handling an overly long "HOME" environment variable can be exploited to cause stack-based buffer overflows and execute arbitrary code with "games" group privileges.

2) A malicious user can create a symbolic link to his save game file "~/.urban/savegame.dat" in order to create or overwrite arbitrary files on the system with "games" group privileges.

The vulnerabilities have been reported in version 1.5.3. Prior versions may also be affected.

NOTE: The official release of URBAN does reportedly not install URBAN with setgid "games" privileges by default. However, some Linux distributions install URBAN with setgid "games" privileges.

Solution:
The first vulnerability has been fixed in the CVS repositories.
http://www.freebsd.org/cgi/cvsweb.cgi/ports/games/urban/files/

Remove setgid "games" permissions.

Provided and/or discovered by:
shaun

Changelog:
2005-09-07: Updated status and "Description" section.
2005-09-27: Added CVE references.

Original Advisory:
http://www.vuxml.org/freebsd/08df5d46-1baf-11da-8038-0040f42d58c6.html


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. ArticleBeach Script "page" File Inclusion Vulnerability // 55 views
2. My PHP Indexer "d" File Disclosure Vulnerability // 46 views
3. Joomla Ignite Gallery Component "gallery" SQL Injection // 44 views
4. NewLife Blogger "nlb3" SQL Injection Vulnerability // 38 views
5. WinFTP "PASV" Denial of Service Vulnerability // 38 views
6. Subdreamer Light Global Variables SQL Injection Vulnerability // 38 views
7. Real Estates Classifieds "cat" SQL Injection Vulnerability // 36 views
8. ScriptsEz Mini Hosting Panel "dir" File Disclosure // 36 views
9. Ayco Okul "linkid" SQL Injection Vulnerability // 33 views
10. Joomla Mad4Joomla Mailforms Component "jid" SQL Injection // 32 views