Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[ GLSA 200407-11 ] wv: Buffer overflow vulnerability
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index News & Announcements
View previous topic :: View next topic  
Author Message
GLSA
Bodhisattva
Bodhisattva


Joined: 13 Jun 2003
Posts: 4087
Location: Dresden, Germany

PostPosted: Wed Jul 14, 2004 11:14 am    Post subject: [ GLSA 200407-11 ] wv: Buffer overflow vulnerability Reply with quote

Gentoo Linux Security Advisory

Title: wv: Buffer overflow vulnerability (GLSA 200407-11)
Severity: normal
Exploitable: remote
Date: July 14, 2004
Updated: May 22, 2006
Bug(s): #56595
ID: 200407-11

Synopsis

A buffer overflow vulnerability exists in the wv library that can allow an attacker to execute arbitrary code with the privileges of the user running the vulnerable application.

Background

The wv library allows access to MS Word files. It can parse Word files and allow other applications, such as abiword, to import those files into their native formats.

Affected Packages

Package: app-text/wv
Vulnerable: < 1.0.0-r1
Unaffected: >= 1.0.0-r1
Architectures: All supported architectures


Description

A use of strcat without proper bounds checking leads to an exploitable buffer overflow. The vulnerable code is executed when wv encounters an unrecognized token, so a specially crafted file, loaded in wv, can trigger the vulnerable code and execute it's own arbitrary code. This exploit is only possible when the user loads the document into HTML view mode.

Impact

By inducing a user into running wv on a special file, an attacker can execute arbitrary code with the permissions of the user running the vulnerable program.

Workaround

Users should not view untrusted documents with wvHtml or applications using wv. When loading an untrusted document in an application using the wv library, make sure HTML view is disabled.

Resolution

All users should upgrade to the latest available version.
Code:
# emerge sync
# emerge -pv ">=app-text/wv-1.0.0-r1"
# emerge ">=app-text/wv-1.0.0-r1"


References

iDEFENSE Security Advisory
CVE-2004-0645


Last edited by GLSA on Sun Jul 30, 2006 4:16 am; edited 4 times in total
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index News & Announcements All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum