Command Injection Affecting alfred-workflow-nodejs package, versions *


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

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 Learn

Learn about Command Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-ALFREDWORKFLOWNODEJS-608975
  • published15 Sept 2020
  • disclosed31 Aug 2020
  • creditAsjid Kalam

Introduced: 31 Aug 2020

CVE NOT AVAILABLE CWE-78  (opens in a new tab)
First added by Snyk

How to fix?

There is no fixed version for alfred-workflow-nodejs.

Overview

alfred-workflow-nodejs is an Alfred workflow nodejs module

Affected versions of this package are vulnerable to Command Injection. It is possible to inject arbitrary commands by using a semicolon char in any of the key values.

PoC

var AlfredNode = require('alfred-workflow-nodejs');
var utils = AlfredNode.utils;

utils.wfVars.remove(' "; whoami>hacked #', false);

References

CVSS Scores

version 3.1