
Cloud Vulnerability DB
A community-led vulnerabilities database
A high-severity Remote Code Execution (RCE) vulnerability was identified in the pi_video_recording npm package (GHSA-9wjh-jr2j-6r4x). The vulnerability was discovered and reviewed on August 31, 2020, published to the GitHub Advisory Database on September 2, 2020, and last updated on January 9, 2023. The vulnerability affects all versions of the package with no patched versions available (GitHub Advisory).
The vulnerability stems from insufficient input validation in the server's /api/record/start endpoint. The weakness is classified as CWE-20 (Improper Input Validation). An attacker can exploit this vulnerability by sending specially crafted JSON payloads to the endpoint, allowing for arbitrary code execution (GitHub Advisory).
The vulnerability allows attackers to execute arbitrary code on the affected system through the /api/record/start endpoint. This can be demonstrated by creating files in the /tmp directory using maliciously crafted requests, indicating potential for more severe exploitation (GitHub Advisory).
A proof of concept exploit exists, which can be executed using a curl command with a specially crafted JSON payload: curl -POST -H "Content-Type: application/json" -d '{"filename": " || touch /tmp/worked;"}' http://localhost:5000/api/record/start. This results in the creation of a file in the /tmp/ directory, demonstrating the vulnerability's exploitability (GitHub Advisory).
No official fix is currently available for this vulnerability. The recommended mitigation strategy is to consider using an alternative module until a security fix is made available (GitHub Advisory).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."