portage-ng / portage / media-video / motion / 4.5.1-r4
portage-ng glsa
2 advisories reference media-video/motion · none place version 4.5.1-r4 in a vulnerable range
▸ GLSA 202208-18 Motion: Denial of service this version unaffected low remote 2022-08-10

A vulnerability in Motion allows a remote attacker to cause denial of service.

Announced
2022-08-10
Revised
2022-08-10
Access
remote
Bugs
#760714
Advisory
https://security.gentoo.org/glsa/202208-18

Affected packages

PackageArchVulnerableUnaffected
media-video/motion*< 4.3.2>= 4.3.2

Background

Motion is a program that monitors the video signal from one or more cameras and is able to detect motions.

Description

The Motion HTTP server does not correctly perform URL decoding. If the HTTP server receives a request for a URL containing an incomplete percent-encoded character, a flaw in parsing results in an infinite loop trying to parse the rest of the character, which eventually results in a denial of service condition when reading out-of-bounds.

Impact

A remote attacker can trigger a denial of service condition in Motion.

Workaround

There is no known workaround at this time.

Resolution

All Motion users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=media-video/motion-4.3.2"

References

▸ GLSA 200807-02 Motion: Execution of arbitrary code this version unaffected normal remote 2008-07-01

Multiple vulnerabilities in Motion might result in the execution of arbitrary code.

Announced
2008-07-01
Revised
2008-07-01
Access
remote
Bugs
#227053
Advisory
https://security.gentoo.org/glsa/200807-02

Affected packages

PackageArchVulnerableUnaffected
media-video/motion*< 3.2.10.1>= 3.2.10.1

Background

Motion is a program that monitors the video signal from one or more cameras and is able to detect motions.

Description

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

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

There is no known workaround at this time.

Resolution

All Motion users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=media-video/motion-3.2.10.1"

References