Command Injection Affecting mt7688-wiscan package, versions <0.8.3


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

Exploit Maturity
Proof of concept
EPSS
0.05% (18th percentile)

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-MT7688WISCAN-3177394
  • published31 Jan 2023
  • disclosed20 Dec 2022
  • creditJHU System Security Lab

Introduced: 20 Dec 2022

CVE-2022-25916  (opens in a new tab)
CWE-78  (opens in a new tab)

How to fix?

Upgrade mt7688-wiscan to version 0.8.3 or higher.

Overview

Affected versions of this package are vulnerable to Command Injection due to improper input sanitization in the 'wiscan.scan' function.

PoC

var wiscan = require('mt7688-wiscan');
wiscan.scan(';touch EXPLOITED;#', function(){});

CVSS Scores

version 3.1