CVE-2026-31978
Beschrijving NL
motionEye (mEye) is een online interface voor bewegingssoftware, een videobewakingsprogramma met bewegingsdetectie. Versies vóór 0.44.0 zijn kwetsbaar voor padtraversal in de beeld- en film-API-eindpunten, suhc as/picture/{id}/preview/{filename}. Noch de API-handlers, noch de mediafiles.py-functies zoals get_media_preview() controleren op.. sequenties in de bestandsnaamparameter, behalve get_media_content(). Hierdoor kan een geverifieerde gebruiker met normale (niet-admin) bevoegdheden willekeurige bestanden van het bestandssysteem lezen als de gebruiker van het motionEye-proces, zoals: /etc/passwd, /etc/shadow, motionEye-configuratiebestanden met wachtwoordhashes en wachtwoorden zonder opmaak, SSH-sleutels en bewakingsbeelden van andere camera's. Dit probleem is opgelost in versie 0.44.0.
Origineel (Engels) tonen
motionEye (mEye) is an online interface for motion software, which is a video surveillance program with motion detection. Versions prior to 0.44.0 are vulnerable to path traversal in the picture and movie API endpoints, suhc as /picture/{id}/preview/{filename}. Neither the API handlers, nor the mediafiles.py functions such as get_media_preview() check for .. sequences in the filename parameter, except for get_media_content(). This allows an authenticated user with normal (non-admin) privileges to read arbitrary files from the filesystem as the motionEye process user, such as: /etc/passwd, /etc/shadow, motionEye config files containing password hashes and plaintext passwords, SSH keys, and other cameras' surveillance footage. This issue has been fixed in version 0.44.0.