1 |
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
2 |
Gentoo Linux Security Advisory GLSA 200807-02 |
3 |
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
4 |
http://security.gentoo.org/ |
5 |
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
6 |
|
7 |
Severity: Normal |
8 |
Title: Motion: Execution of arbitrary code |
9 |
Date: July 01, 2008 |
10 |
Bugs: #227053 |
11 |
ID: 200807-02 |
12 |
|
13 |
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
14 |
|
15 |
Synopsis |
16 |
======== |
17 |
|
18 |
Multiple vulnerabilities in Motion might result in the execution of |
19 |
arbitrary code. |
20 |
|
21 |
Background |
22 |
========== |
23 |
|
24 |
Motion is a program that monitors the video signal from one or more |
25 |
cameras and is able to detect motions. |
26 |
|
27 |
Affected packages |
28 |
================= |
29 |
|
30 |
------------------------------------------------------------------- |
31 |
Package / Vulnerable / Unaffected |
32 |
------------------------------------------------------------------- |
33 |
1 media-video/motion < 3.2.10.1 >= 3.2.10.1 |
34 |
|
35 |
Description |
36 |
=========== |
37 |
|
38 |
Nico Golde reported an off-by-one error within the read_client() |
39 |
function in the webhttpd.c file, leading to a stack-based buffer |
40 |
overflow. Stefan Cornelius (Secunia Research) reported a boundary error |
41 |
within the same function, also leading to a stack-based buffer |
42 |
overflow. Both vulnerabilities require that the HTTP Control interface |
43 |
is enabled. |
44 |
|
45 |
Impact |
46 |
====== |
47 |
|
48 |
A remote attacker could exploit these vulnerabilities by sending an |
49 |
overly long or specially crafted request to a vulnerable Motion HTTP |
50 |
control interface, possibly resulting in the execution of arbitrary |
51 |
code with the privileges of the motion user. |
52 |
|
53 |
Workaround |
54 |
========== |
55 |
|
56 |
There is no known workaround at this time. |
57 |
|
58 |
Resolution |
59 |
========== |
60 |
|
61 |
All Motion users should upgrade to the latest version: |
62 |
|
63 |
# emerge --sync |
64 |
# emerge --ask --oneshot --verbose ">=media-video/motion-3.2.10.1" |
65 |
|
66 |
References |
67 |
========== |
68 |
|
69 |
[ 1 ] CVE-2008-2654 |
70 |
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-2654 |
71 |
|
72 |
Availability |
73 |
============ |
74 |
|
75 |
This GLSA and any updates to it are available for viewing at |
76 |
the Gentoo Security Website: |
77 |
|
78 |
http://security.gentoo.org/glsa/glsa-200807-02.xml |
79 |
|
80 |
Concerns? |
81 |
========= |
82 |
|
83 |
Security is a primary focus of Gentoo Linux and ensuring the |
84 |
confidentiality and security of our users machines is of utmost |
85 |
importance to us. Any security concerns should be addressed to |
86 |
security@g.o or alternatively, you may file a bug at |
87 |
http://bugs.gentoo.org. |
88 |
|
89 |
License |
90 |
======= |
91 |
|
92 |
Copyright 2008 Gentoo Foundation, Inc; referenced text |
93 |
belongs to its owner(s). |
94 |
|
95 |
The contents of this document are licensed under the |
96 |
Creative Commons - Attribution / Share Alike license. |
97 |
|
98 |
http://creativecommons.org/licenses/by-sa/2.5 |