GitHub Advisoryadvisory · npm
GHSA-xwjh-cp99-cj8q Path Traversal in cordova-plugin-ionic-webview
HIGH
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
- https://nvd.nist.gov/vuln/detail/CVE-2018-16202 advisory
- https://github.com/advisories/GHSA-xwjh-cp99-cj8q advisory
- https://github.com/ionic-team/cordova-plugin-ionic-webview package
- https://jvn.jp/en/jp/JVN69812763/index.html web
- https://www.npmjs.com/advisories/746 web
- http://jvn.jp/en/jp/JVN60497148/index.html web