Appium: Unauthenticated arbitrary file/directory deletion in @appium/storage-plugin
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in @appium/storage-plugin 1.1.6.
Appium is a cross-platform automation framework for all kinds of apps, built on top of the W3C WebDriver protocol. Prior to 1.1.6, the Appium storage plugin exposes POST /storage/delete, whose handler passes the user-supplied name value directly into path.join(storageRoot, name) and fs.rimraf() without path sanitization, allowing an unauthenticated remote client to escape the storage root with ../ sequences and recursively delete arbitrary writable files or directories. This issue is fixed in version 1.1.6.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| appium | <1.1.6 | ||
| npm: @appium/storage-plugin | <1.1.6 | 1.1.6 |
Timeline
Every event on this vulnerability
Embed
A live severity badge for an advisory, README or ticket