Gentoo 2510 Published by

A new security update has been released for Gentoo Linux - Motion: Execution of arbitrary code. Here the announcement:



Gentoo Linux Security Advisory GLSA 200807-02
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
http://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Severity: Normal
Title: Motion: Execution of arbitrary code
Date: July 01, 2008
Bugs: #227053
ID: 200807-02

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

Synopsis
========

Multiple vulnerabilities in Motion might result in the execution of
arbitrary code.

Background
==========

Motion is a program that monitors the video signal from one or more
cameras and is able to detect motions.

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

-------------------------------------------------------------------
Package / Vulnerable / Unaffected
-------------------------------------------------------------------
1 media-video/motion < 3.2.10.1 >= 3.2.10.1

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

Nico Golde reported an off-by-one error within the read_client()
function in the webhttpd.c file, leading to a stack-based buffer
overflow. Stefan Cornelius (Secunia Research) reported a boundary error
within the same function, also leading to a stack-based buffer
overflow. Both vulnerabilities require that the HTTP Control interface
is enabled.

Impact
======

A remote attacker could exploit these vulnerabilities by sending an
overly long or specially crafted request to a vulnerable Motion HTTP
control interface, possibly resulting in the execution of arbitrary
code with the privileges of the motion user.

Workaround
==========

There is no known workaround at this time.

Resolution
==========

All Motion users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=media-video/motion-3.2.10.1"

References
==========

[ 1 ] CVE-2008-2654
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-2654

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

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

http://security.gentoo.org/glsa/glsa-200807-02.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
http://bugs.gentoo.org.

License
=======

Copyright 2008 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