[Japanese]

JVNDB-2017-000146

Marp vulnerable to improper access control in JavaScript execution

Overview

Marp is a tool to create a presentation PDF with Markdown. Marp executes JavaScript inside the Markdown contents. Marp allows JavaScript to access local resources and files (CWE-284).

Keitaro Yamazaki of Kyoto University reported this vulnerability to IPA.
JPCERT/CC coordinated with the developer under Information Security Early Warning Partnership.
CVSS Severity (What is CVSS?)

CVSS V3 Severity:
Base Metrics 5.3 (Medium) [IPA Score]
  • Attack Vector: Local
  • Attack Complexity: Low
  • Privileges Required: None
  • User Interaction: Required
  • Scope: Unchanged
  • Confidentiality Impact: Low
  • Integrity Impact: Low
  • Availability Impact: Low
CVSS V2 Severity:
Base Metrics 6.8 (Medium) [IPA Score]
  • Access Vector: Network
  • Access Complexity: Medium
  • Authentication: None
  • Confidentiality Impact: Partial
  • Integrity Impact: Partial
  • Availability Impact: Partial
Affected Products


Yuki Hattori
  • Marp v0.0.10 and earlier

Impact

When reading specially crafted Markdown contents, local files may be accessed and leaked to an external source.
Solution

[Update the software]
Update to the latest version according to the information provided by the developer.

Marp v0.0.11 restricts JavaScript from accessing local resources. Moreover, the developer recommends the following:

* Do not use script tag and iframe tag inside the Markdown contents.
* Do not open untrusted Markdown contents, e.g., mail attachments or donwloaded files.
Vendor Information

Yuki Hattori
CWE (What is CWE?)

  1. Permissions(CWE-264) [IPA Evaluation]
CVE (What is CVE?)

  1. CVE-2017-2239
References

  1. JVN : JVN#21174546
  2. National Vulnerability Database (NVD) : CVE-2017-2239
Revision History

  • [2017/09/29]
      Web page was published
    [2018/02/07]
      References : Content was added