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

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2023-28102— Command injection in discordrb

Quick assessment

Affected
shardlab discordrb
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.

discordrb是Shard Lab个人开发者的使用Ruby实现Discord API的存储库。 discordrb存在操作系统命令注入漏洞,该漏洞源于encoder.rb文件使用file参数不安全地构造了一个shell字符串,导致客户端容易受到命令注入攻击。

CVSS 8.4 · High EPSS 2.55% · P84
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2023-28102

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
Command injection in discordrb
Source: CVE Program / CVE List V5
Vulnerability Description
discordrb is an implementation of the Discord API using Ruby. In discordrb before commit `91e13043ffa` the `encoder.rb` file unsafely constructs a shell string using the file parameter, which can potentially leave clients of discordrb vulnerable to command injection. The library is not directly exploitable: the exploit requires that some client of the library calls the vulnerable method with user input. However, if unsafe input reaches the library method, then an attacker can execute arbitrary shell commands on the host machine. Full impact will depend on the permissions of the process running the `discordrb` library and will likely not be total system access. This issue has been addressed in code, but a new release of the `discordrb` gem has not been uploaded to rubygems. This issue is also tracked as `GHSL-2022-094`.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
OS命令中使用的特殊元素转义处理不恰当(OS命令注入)
Source: CVE Program / CVE List V5
Vulnerability Title
discordrb操作系统命令注入漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
discordrb是Shard Lab个人开发者的使用Ruby实现Discord API的存储库。 discordrb存在操作系统命令注入漏洞,该漏洞源于encoder.rb文件使用file参数不安全地构造了一个shell字符串,导致客户端容易受到命令注入攻击。
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
shardlab discordrb <= 3.4.1 -

II. Public POCs for CVE-2023-28102

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

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2023-28102

登录查看更多情报信息。

Patches & Fixes for CVE-2023-28102 (1)

Other References for CVE-2023-28102 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2023-28102

No comments yet


Leave a comment