Gentoo: 201310-16 TPTEST: Arbitrary code execution
Posted by Benjamin D. Thomas   
Gentoo Two buffer overflow vulnerabilities in TPTEST may allow remote attackers to execute arbitrary code or cause Denial of Service.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory                           GLSA 201310-16
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                            http://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

 Severity: Normal
    Title: TPTEST: Arbitrary code execution
     Date: October 26, 2013
     Bugs: #261191
       ID: 201310-16

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Synopsis
========

Two buffer overflow vulnerabilities in TPTEST may allow remote
attackers to execute arbitrary code or cause Denial of Service.

Background
==========

TPTEST is a tool to measure the speed of a user's Internet connection.

Affected packages
=================

    -------------------------------------------------------------------
     Package              /     Vulnerable     /            Unaffected
    -------------------------------------------------------------------
  1  net-analyzer/tptest         < 3.1.7-r2               >= 3.1.7-r2

Description
===========

The GetStatsFromLine() function in TPTEST is vulnerable to buffer
overflows from STATS lines with long email and pwd fields.

Impact
======

A remote attacker could send a specially-crafted STATS line, possibly
resulting in arbitrary code execution or a Denial of Service condition.

Workaround
==========

There is no known workaround at this time.

Resolution
==========

All TPTEST users should upgrade to the latest version:

  # emerge --sync
  # emerge --ask --oneshot --verbose ">=net-analyzer/tptest-3.1.7-r2"

References
==========

[ 1 ] CVE-2009-0650
      http://nvd.nist.gov/nvd.cfm?cvename=CVE-2009-0650
[ 2 ] CVE-2009-0659
      http://nvd.nist.gov/nvd.cfm?cvename=CVE-2009-0659

Availability
============

This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:

 http://security.gentoo.org/glsa/glsa-201310-16.xml

Concerns?
=========

Security is a primary focus of Gentoo Linux and ensuring the
confidentiality and security of our users' machines is of utmost
importance to us. Any security concerns should be addressed to
security@gentoo.org or alternatively, you may file a bug at
https://bugs.gentoo.org.

License

Copyright 2013 Gentoo Foundation, Inc; referenced text
belongs to its owner(s).

The contents of this document are licensed under the
Creative Commons - Attribution / Share Alike license.

http://creativecommons.org/licenses/by-sa/2.5