blob: 58d97db5ccd752ed162a8b7a17a9b08b7c960bde [file] [log] [blame]
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="200807-02">
<title>Motion: Execution of arbitrary code</title>
<synopsis>
Multiple vulnerabilities in Motion might result in the execution of
arbitrary code.
</synopsis>
<product type="ebuild">motion</product>
<announced>July 01, 2008</announced>
<revised>July 01, 2008: 01</revised>
<bug>227053</bug>
<access>remote</access>
<affected>
<package name="media-video/motion" auto="yes" arch="*">
<unaffected range="ge">3.2.10.1</unaffected>
<vulnerable range="lt">3.2.10.1</vulnerable>
</package>
</affected>
<background>
<p>
Motion is a program that monitors the video signal from one or more
cameras and is able to detect motions.
</p>
</background>
<description>
<p>
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.
</p>
</description>
<impact type="normal">
<p>
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.
</p>
</impact>
<workaround>
<p>
There is no known workaround at this time.
</p>
</workaround>
<resolution>
<p>
All Motion users should upgrade to the latest version:
</p>
<code>
# emerge --sync
# emerge --ask --oneshot --verbose &quot;&gt;=media-video/motion-3.2.10.1&quot;</code>
</resolution>
<references>
<uri link="http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-2654">CVE-2008-2654</uri>
</references>
<metadata tag="requester" timestamp="Tue, 24 Jun 2008 00:58:06 +0000">
rbu
</metadata>
<metadata tag="submitter" timestamp="Wed, 25 Jun 2008 11:12:50 +0000">
keytoaster
</metadata>
<metadata tag="bugReady" timestamp="Tue, 01 Jul 2008 11:55:40 +0000">
keytoaster
</metadata>
</glsa>