This affects versions of package browserless-chrome before 1.40.2-chrome-stable. User input flowing from the workspace endpoint gets used to create a file path filePath and this is fetched and then sent back to a user. This can be escaped to fetch arbitrary files from a server.
References
Link | Resource |
---|---|
https://github.com/browserless/chrome/blob/master/src/routes.ts%23L175 | Broken Link |
https://github.com/browserless/chrome/commit/848b87e5bea4f8473eea85261a5ff922d6ebd2b6 | Patch Third Party Advisory |
https://github.com/browserless/chrome/releases/tag/1.40.2-chrome-stable | Release Notes Third Party Advisory |
https://snyk.io/vuln/SNYK-JS-BROWSERLESSCHROME-1023657 | Exploit Third Party Advisory |
Configurations
History
No history.
Information
Published : 2020-11-02 22:15
Updated : 2022-10-19 17:10
NVD link : CVE-2020-7758
Mitre link : CVE-2020-7758
CVE.ORG link : CVE-2020-7758
JSON object : View
Products Affected
browserless
- chrome
CWE
CWE-22
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')