Secunia Logo
Netsikker nu! 2008
 
UMN Gopher "VIfromLine()" and "FIOgetargv()" Buffer Overflows
Secunia Advisory: SA16614
Release Date: 2005-08-30
Last Update: 2005-10-31
Popularity: 6,394 views

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

Software:UMN Gopher 2.x
UMN Gopher 3.x

Subscribe: Instant alerts on relevant vulnerabilities

CVE reference:CVE-2005-2772


Description:
vade79 has discovered two vulnerabilities in Gopher client, which can be exploited by malicious people to compromise a vulnerable system.

1) A boundary error in the "VIfromLine()" function when copying an input line to a stack buffer can be exploited to cause a stack-based buffer overflow via an overly long "+VIEWS:" reply from the server.

2) A boundary error in the "FIOgetargv()" function when processing arguments for launching external programs can be exploited to cause a stack-based buffer overflow via an overly long "hWeblink" reply from the server.

Successful exploitation requires that a user e.g. is tricked into connecting to a malicious Gopher server.

The vulnerabilities have been confirmed in version 3.0.9. Other versions may also be affected.

Solution:
Update to version 3.0.11.
http://quux.org/devel/gopher/Downloads

Provided and/or discovered by:
vade79

Changelog:
2005-09-02: Updated "Description" section with additional information.
2005-09-05: Added link to US-CERT vulnerability note.
2005-09-28: Added CVE reference.
2005-10-31: Updated "Solution" section.

Original Advisory:
http://www.fakehalo.us/xgopher-client.c

Other References:
US-CERT VU#619812:
http://www.kb.cert.org/vuls/id/619812


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

Today
New advisories: 19
New vulnerabilities: 68
Updated advisories: 62

Moderately // 271 views
Debian update for php5
Moderately // 201 views
Atarone CMS Multiple Vulnerabilities
Moderately // 232 views
Debian update for squid
Less // 238 views
SUSE update for mercurial
Moderately // 277 views
SUSE update for openssh
Less // 220 views
Fedora update for mediawiki

Solutions | More...  


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. Zeroboard Two Vulnerabilities // 69 views
2. Zeroboard Multiple Vulnerabilities // 63 views
3. Debian update for php5 // 50 views
4. Atarone CMS Multiple Vulnerabilities // 37 views
5. Subdreamer Light Global Variables SQL Injection Vulnerability // 35 views
6. Debian update for squid // 32 views
7. H-Sphere webshell4 Cross-Site Scripting and Request Forgery // 31 views
8. CMME Information Disclosure Security Issues // 30 views
9. SUSE update for mercurial // 29 views
10. Juniper Products Neighbor Discovery Protocol Neighbor Solicitation Vulnerability // 28 views