[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?)

Base Metrics: 6.8 (Medium) [IPA Score]
  • Access Vector: Network
  • Access Complexity: Medium
  • Authentication: None
  • Confidentiality Impact: Partial
  • Integrity Impact: Partial
  • Availability Impact: Partial

CVSS V3 Severity:
Base Metrics: 5.3 (Medium) [IPA Score]
  • Access Vector: Local
  • Attack Complexity: Low
  • Privileges Required: None
  • User Interaction: Required
  • Scope: Unchanged
  • Confidentiality Impact: Low
  • Integrity Impact: Low
  • Availability Impact: Low
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
Revision History

[2017/09/29]
  Web page was published