logo

GHSA-9wjh-jr2j-6r4x pi_video_recording

Package

Manager: npm
Name: pi_video_recording
Vulnerable Version: >=0 <=1.0.1

Severity

Level: High

CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N/E:U/RL:O/RC:C

CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N

EPSS: N/A pctlN/A

Details

Remote Code Execution in pi_video_recording All versions of `pi_video_recording` are vulnerable to Remote Code Execution. Due to insufficient input validation the server executes arbitrary code through the /api/record/start endpoint. After running the server, `curl -POST -H "Content-Type: application/json" -d '{"filename": " || touch /tmp/worked;"}' http://localhost:5000/api/record/start`creates a file in the /tmp/ directory ## Recommendation No fix is currently available. Consider using an alternative module until a fix is made available.

Metadata

Created: 2020-09-02T15:55:58Z
Modified: 2020-08-31T18:35:14Z
Source: MANUAL
CWE IDs: ["CWE-20"]
Alternative ID: N/A
Finding: F184
Auto approve: 1