Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2021-41088— Remote code execution via the web UI backend of Elvish

Quick assessment

Affected
elves elvish
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Github elvish是一种富有表现力的编程语言和多功能的交互式外壳,结合到一个无缝的包中。 elvish web UI 0.14.0之前版本存在安全漏洞,该漏洞源于后端未正确检查请求的来源。如果用户打开web UI后端并访问受损或恶意的网站,则该网站可以向本地的端点发送任意代码。从0.14.0开始的所有Elvish版本不再包含web UI,尽管用户仍然可以从包含web UI的源代码构建版本。可以通过删除web UI(在web、pkg/web或pkg/prog/web中找到,具体取决于确切的版本)为以

CVSS 8.0 · High EPSS 0.54% · P44
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2021-41088

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Remote code execution via the web UI backend of Elvish
Source: CVE Program / CVE List V5
Vulnerability Description
Elvish is a programming language and interactive shell, combined into one package. In versions prior to 0.14.0 Elvish's web UI backend (started by `elvish -web`) hosts an endpoint that allows executing the code sent from the web UI. The backend does not check the origin of requests correctly. As a result, if the user has the web UI backend open and visits a compromised or malicious website, the website can send arbitrary code to the endpoint in localhost. All Elvish releases from 0.14.0 onward no longer include the the web UI, although it is still possible for the user to build a version from source that includes the web UI. The issue can be patched for previous versions by removing the web UI (found in web, pkg/web or pkg/prog/web, depending on the exact version).
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
将资源暴露给错误范围
Source: CVE Program / CVE List V5
Vulnerability Title
Github elvish 访问控制错误漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Github elvish是一种富有表现力的编程语言和多功能的交互式外壳,结合到一个无缝的包中。 elvish web UI 0.14.0之前版本存在安全漏洞,该漏洞源于后端未正确检查请求的来源。如果用户打开web UI后端并访问受损或恶意的网站,则该网站可以向本地的端点发送任意代码。从0.14.0开始的所有Elvish版本不再包含web UI,尽管用户仍然可以从包含web UI的源代码构建版本。可以通过删除web UI(在web、pkg/web或pkg/prog/web中找到,具体取决于确切的版本)为以
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
elves elvish < 0.14.0 -

II. Public POCs for CVE-2021-41088

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2021-41088

登录查看更多情报信息。

Patches & Fixes for CVE-2021-41088 (1)

Vendor Advisories for CVE-2021-41088 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2021-41088

No comments yet


Leave a comment