Description
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.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | motion | 3.2.9-3 | — |
| Debian 13 | motion | 3.2.9-3 | — |
| Debian 12 | motion | 3.2.9-3 | — |
References
- ADV-2008-1796 vdb-entry
- [oss-security] 20080611 Re: exploitability of off-by-one in motion webserver mailing-list
- [oss-security] 20080610 Re: exploitability of off-by-one in motion webserver mailing-list
- 29636 vdb-entry
- http://www.lavrsen.dk/twiki/pub/Motion/ReleaseNoteMotion3x2x9/webhttpd-security-video2-backport.diff
- http://www.lavrsen.dk/twiki/pub/Motion/ReleaseNoteMotion3x2x10/webhttpd-security.diff
- [oss-security] 20080610 exploitability of off-by-one in motion webserver mailing-list
- 30544 third-party-advisory
- [oss-security] 20080611 Re: exploitability of off-by-one in motion webserver mailing-list
- motion-readclient-bo(42979) vdb-entry
- 30864 third-party-advisory
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=484572
- GLSA-200807-02 vendor-advisory