Ethical Hacking

Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package.
Computer Forensics Training at InfoSec Institute

Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors.




Network Security Exploits-HackingTools
[Top] [All Lists]

[UNIX] Multiple Vendor libwpd Multiple Buffer Overflow Vulnerabilities

Subject: [UNIX] Multiple Vendor libwpd Multiple Buffer Overflow Vulnerabilities
Date: 19 Mar 2007 14:49:53 +0200
The following security advisory is sent to the securiteam mailing list, and can 
be found at the SecuriTeam web site: http://www.securiteam.com
- - promotion

The SecuriTeam alerts list - Free, Accurate, Independent.

Get your security news from a reliable source.
http://www.securiteam.com/mailinglist.html 

- - - - - - - - -



  Multiple Vendor libwpd Multiple Buffer Overflow Vulnerabilities
------------------------------------------------------------------------


SUMMARY

 <http://libwpd.sourceforge.net/> libwpd is a C++ library used to decode 
and encode word perfect documents. It is commonly used as a plug-in in 
word processing utilities such as Open Office and Abiword. For more 
information please visit the following URL.

Remote exploitation of multiple buffer overflow vulnerabilities in libwpd, 
as included in various vendors' operating system distributions, could 
allow an attacker to execute arbitrary code.

DETAILS

Vulnerable Systems:
 * libwpd version 0.8.7.
 * Previous versions may also be affected.
Note: This library is used by applications such as Abiword, Kword, and 
Open Office.

One problem specifically exists in the WP6GeneralTextPacket::_readContents 
function. This function reads in a series of integer values and sums them. 
This sum is then used to allocate a block of memory from the heap. The 
function then copies data from the file into the buffer using each operand 
from the addition as the number of bytes to copy. The summing operation 
leads to an integer overflow, and the buffer can then be overflowed by the 
copy operations.

Two additional problems exist in the WP3TablesGroup::_readContents() and 
WP5DefinitionGroup_DefineTablesSubGroup::WP5DefinitionGroup_DefineTablesSubGroup()
 functions. These functions read an integer value from an attacker supplied 
file, and uses the value as a loop counter. In the loop a statically sized 
buffer is filled with arbitrary data from the file. This leads to an 
exploitable heap overflow.

Successful exploitation of these vulnerabilities requires an attacker to 
persuade a user into opening a specially crafted Wordperfect (WPD) 
document. If successful, the attacker could execute arbitrary code with 
the permissions of the victim.

Vendor Status:
The libwpd maintainers have addressed these vulnerabilities with the 
release of version 0.8.9.

CVE Information:
 <http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2007-0002> 
CAN-2007-0002

Disclosure Timeline:
 * 01/11/2007 - Initial vendor notification
 * 01/12/2007 - Initial vendor response
 * 03/16/2007 - Coordinated public disclosure


ADDITIONAL INFORMATION

The information has been provided by iDefense.
The original article can be found at:
 
<http://labs.idefense.com/intelligence/vulnerabilities/display.php?id=490> 
http://labs.idefense.com/intelligence/vulnerabilities/display.php?id=490



======================================== 


This bulletin is sent to members of the SecuriTeam mailing list. 
To unsubscribe from the list, send mail with an empty subject line and body to: 
list-unsubscribe@securiteam.com 
In order to subscribe to the mailing list, simply forward this email to: 
list-subscribe@securiteam.com 


==================== 
==================== 

DISCLAIMER: 
The information in this bulletin is provided "AS IS" without warranty of any 
kind. 
In no event shall we be liable for any damages whatsoever including direct, 
indirect, incidental, consequential, loss of business profits or special 
damages. 




<Prev in Thread] Current Thread [Next in Thread>
  • [UNIX] Multiple Vendor libwpd Multiple Buffer Overflow Vulnerabilities, SecuriTeam <=