Secunia Research has discovered a vulnerability in Motion, which can be exploited by malicious people to compromise a vulnerable system. The vulnerability is caused due to a boundary error within the "read_client()" function in webhttpd.c. This can be exploited to cause a stack-based buffer overflow by sending a specially crafted request to the HTTP control interface. Successful exploitation allows execution of arbitrary code, but requires that the Motion HTTP control interface is enabled. Versions below 3.2.10.1 are affected.
a53ee27484af973ec3d9be1a6e9f77dc22d182b1f4531f1f2fef4d035f031a4b
======================================================================
Secunia Research 23/06/2008
- Motion "read_client()" HTTP Request Buffer Overflow -
======================================================================
Table of Contents
Affected Software....................................................1
Severity.............................................................2
Vendor's Description of Software.....................................3
Description of Vulnerability.........................................4
Solution.............................................................5
Time Table...........................................................6
Credits..............................................................7
References...........................................................8
About Secunia........................................................9
Verification........................................................10
======================================================================
1) Affected Software
* Motion 3.2.10
NOTE: Other versions may also be affected.
======================================================================
2) Severity
Rating: Moderately critical
Impact: System access
Where: Remote
======================================================================
3) Vendor's Description of Software
"Motion is a program that monitors the video signal from one or more
cameras and is able to detect if a significant part of the picture
has changed; in other words, it can detect motion".
Product Link:
http://www.lavrsen.dk/twiki/bin/view/Motion/WebHome
======================================================================
4) Description of Vulnerability
Secunia Research has discovered a vulnerability in Motion, which can
be exploited by malicious people to compromise a vulnerable system.
The vulnerability is caused due to a boundary error within
the "read_client()" function in webhttpd.c. This can be exploited to
cause a stack-based buffer overflow by sending a specially crafted
request to the HTTP control interface.
Successful exploitation allows execution of arbitrary code, but
requires that the Motion HTTP control interface is enabled.
======================================================================
5) Solution
Update to version 3.2.10.1.
======================================================================
6) Time Table
10/06/2008 - Vendor notified.
10/06/2008 - Vendor response.
23/06/2008 - Public disclosure.
======================================================================
7) Credits
Discovered by Stefan Cornelius, Secunia Research.
======================================================================
8) References
The Common Vulnerabilities and Exposures (CVE) project has not
currently assigned a CVE identifier for the vulnerability.
======================================================================
9) About Secunia
Secunia offers vulnerability management solutions to corporate
customers with verified and reliable vulnerability intelligence
relevant to their specific system configuration:
http://corporate.secunia.com/
Secunia also provides a publicly accessible and comprehensive advisory
database as a service to the security community and private
individuals, who are interested in or concerned about IT-security.
http://secunia.com/
Secunia believes that it is important to support the community and to
do active vulnerability research in order to aid improving the
security and reliability of software in general:
http://corporate.secunia.com/secunia_research/33/
Secunia regularly hires new skilled team members. Check the URL below
to see currently vacant positions:
http://secunia.com/secunia_vacancies/
Secunia offers a FREE mailing list called Secunia Security Advisories:
http://secunia.com/secunia_security_advisories/
======================================================================
10) Verification
Please verify this advisory by visiting the Secunia website:
http://secunia.com/secunia_research/2008-26/
Complete list of vulnerability reports published by Secunia Research:
http://secunia.com/secunia_research/
======================================================================