ghsa-9wjh-jr2j-6r4x
Vulnerability from github
Published
2020-09-02 15:55
Modified
2020-08-31 18:35
VLAI Severity ?
Summary
Remote Code Execution in pi_video_recording
Details
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/startcreates a file in the /tmp/ directory
Recommendation
No fix is currently available. Consider using an alternative module until a fix is made available.
{
"affected": [
{
"package": {
"ecosystem": "npm",
"name": "pi_video_recording"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"aliases": [],
"database_specific": {
"cwe_ids": [
"CWE-20"
],
"github_reviewed": true,
"github_reviewed_at": "2020-08-31T18:35:14Z",
"nvd_published_at": null,
"severity": "HIGH"
},
"details": "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 \u0027{\"filename\": \" || touch /tmp/worked;\"}\u0027 http://localhost:5000/api/record/start`creates a file in the /tmp/ directory\n\n\n## Recommendation\n\nNo fix is currently available. Consider using an alternative module until a fix is made available.",
"id": "GHSA-9wjh-jr2j-6r4x",
"modified": "2020-08-31T18:35:14Z",
"published": "2020-09-02T15:55:58Z",
"references": [
{
"type": "WEB",
"url": "https://www.npmjs.com/advisories/773"
}
],
"schema_version": "1.4.0",
"severity": [],
"summary": "Remote Code Execution in pi_video_recording"
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.
Loading…
Loading…