Date: Tue, 01 Jul 2008 13:59:36 +0200
From: Tobias Heinlein <keytoaster@gentoo.org.>
To: [email protected]Subject: [ GLSA 200807-02 ] Motion: Execution of arbitrary code
OpenPGP: id=9CE3CA91
Content-Type: multipart/signed; micalg=pgp-sha1;
protocol="application/pgp-signature";
boundary="------------enigD6CCC80D690F965C567D0B71"
X-Virus-Scanned: antivirus-gw at tyumen.ru
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enigD6CCC80D690F965C567D0B71
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
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
=3D=3D=3D=3D=3D=3D=3D=3D
Multiple vulnerabilities in Motion might result in the execution of
arbitrary code.
Background
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
Motion is a program that monitors the video signal from one or more
cameras and is able to detect motions.
Affected packages
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
-------------------------------------------------------------------
Package / Vulnerable / Unaffected
-------------------------------------------------------------------
1 media-video/motion < 3.2.10.1 >=3D 3.2.10.1
Description
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
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
=3D=3D=3D=3D=3D=3D
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
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
There is no known workaround at this time.
Resolution
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
All Motion users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose ">=3Dmedia-video/motion-3.2.10.1"
References
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
[ 1 ] CVE-2008-2654
http://cve.mitre.org/cgi-bin/cvename.cgi?name=3DCVE-2008-2654
Availability
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
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?
=3D=3D=3D=3D=3D=3D=3D=3D=3D
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
[email protected] or alternatively, you may file a bug at
http://bugs.gentoo.org.
License
=3D=3D=3D=3D=3D=3D=3D
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
--------------enigD6CCC80D690F965C567D0B71
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
iEYEARECAAYFAkhqHCgACgkQD/IBIJzjypHhmACcCo0O1hLu8oCl5qaUJPibuWBN
bkoAmQHpLIR5ZdLkuuPX4x3ywNMhztzJ
=JaVm
-----END PGP SIGNATURE-----
--------------enigD6CCC80D690F965C567D0B71--