GitHub Advisoryadvisory · npm

GHSA-xwjh-cp99-cj8q Path Traversal in cordova-plugin-ionic-webview

HIGH Published 2019-02-12 Modified 2021-09-22 Official page ↗
Aliases
CVE-2018-16202
Ecosystem
npm
Packages
cordova-plugin-ionic-webview
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
Weaknesses
CWE-22
Reviewed
2020-06-16

Affected packages

• npm cordova-plugin-ionic-webview: < 2.2.0 → fixed in 2.2.0

Description

Versions of `cordova-plugin-ionic-webview` prior to 2.2.0 are vulnerable to Path Traversal, allowing attackers access to OS local files that should be inaccessible by third-party applications. The package launches a webserver listening on http://localhost:8080 without restricting access of the app itself, thus escaping the iOS application sandbox and accessing local files. Recommendation Upgrade to version 2.2.0

Related

Alias · CVE (1)

  • CVE-2018-16202 Directory traversal vulnerability in cordova-plugin-ionic-webview versions prior to 2.2.0 (not including 2.0.0-beta.0, 2.0.0-beta.1,… vulnerability

Weakness · CWE (1)

  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness

References