Motion read_client function buffer overflow
| motion-readclient-bo (42979) |
Description:
Motion is vulnerable to a stack-based buffer overflow, caused by an off-by-one error in the read_client function when the HTTP control interface is enabled. By sending an overly long request to the HTTP control interface, a remote attacker could overflow a buffer and execute arbitrary code on the system with elevated privileges or cause the application to crash.
*CVSS:
| Base Score: | 6.8 |
| Access Vector: | Network |
| Access Complexity: | Medium |
| Authentication: | None |
| Confidentiality Impact: | Partial |
| Integrity Impact: | Partial |
| Availability Impact: | Partial |
| Temporal Score: | 5 |
| Exploitability: | Unproven |
| Remediation Level: | Official-Fix |
| Report Confidence: | Confirmed |
Consequences:
Gain Access
Remedy:
Refer to Debian Bug report logs - #484572 for patch, upgrade or suggested workaround information. See References.
References:
- Debian Bug report logs - #484572: [motion] off-by-one in webhttpd.c.
- Motion diff, 3.2.10: webhttpd-security.diff.
- Motion diff, 3.2.9: webhttpd-security-video2-backport.diff.
- Secunia Research 23/06/2008: Motion "read_client()" HTTP Request Buffer Overflow.
- BID-29636: Motion 'read_client()' Off-By-One Buffer Overflow Vulnerability
- CVE-2008-2654: Off-by-one error in the read_client function in webhttpd.c in Motion 3.2.10 and earlier might allow remote attackers to execute arbitrary code via a long request to a Motion HTTP Control interface, which triggers a stack-based buffer overflow with some combinations of processor architecture and compiler.
- GLSA-200807-02: Motion: Execution of arbitrary code
- SA30544: Motion "read_client()" Off-By-One Vulnerability
- VUPEN/ADV-2008-1796: Motion read_client() HTTP Request Remote Off-By-One Vulnerability
Platforms Affected:
- Gentoo Linux
- Lavrsen Motion 3.1.17
- Lavrsen Motion 3.1.18
- Lavrsen Motion 3.1.19
- Lavrsen Motion 3.1.20
- Lavrsen Motion 3.2.1
- Lavrsen Motion 3.2.10
- Lavrsen Motion 3.2.2
- Lavrsen Motion 3.2.3
- Lavrsen Motion 3.2.4
- Lavrsen Motion 3.2.5
- Lavrsen Motion 3.2.6
- Lavrsen Motion 3.2.7
- Lavrsen Motion 3.2.8
- Lavrsen Motion 3.2.9
Reported:
Jun 05, 2008
The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (IBM Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.
For corrections or additions please email xforce@iss.net
* According to the Forum of Incident Response and Security Teams (FIRST), the Common Vulnerability Scoring System (CVSS) is an "industry open standard designed to convey vulnerability severity and help to determine urgency and priority of response." IBM PROVIDES THE CVSS SCORES "AS IS" WITHOUT WARRANTY OF ANY KIND, INCLUDING THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. CUSTOMERS ARE RESPONSIBLE FOR ASSESSING THE IMPACT OF ANY ACTUAL OR POTENTIAL SECURITY VULNERABILITY.
The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall IBM be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.
