9.6
CRITICAL CVSS 3.1
CVE-2023-28102
Discordrb Unvalidated Shell Injection 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`.

INFO

Published Date :

March 27, 2023, 10:15 p.m.

Last Modified :

Nov. 21, 2024, 7:54 a.m.

Remotely Exploit :

Yes !
Affected Products

The following products are affected by CVE-2023-28102 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Discordrb_project discordrb
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 3.1 HIGH [email protected]
CVSS 3.1 CRITICAL [email protected]
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2023-28102.

URL Resource
https://github.com/shardlab/discordrb/commit/91e13043ffa89227c3fcdc3408f06da237d28c95 Patch
https://securitylab.github.com/advisories/GHSL-2022-094_discordrb/ Exploit Third Party Advisory
https://github.com/shardlab/discordrb/commit/91e13043ffa89227c3fcdc3408f06da237d28c95 Patch
https://securitylab.github.com/advisories/GHSL-2022-094_discordrb/ Exploit Third Party Advisory
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2023-28102 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2023-28102 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2023-28102 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference https://github.com/shardlab/discordrb/commit/91e13043ffa89227c3fcdc3408f06da237d28c95
    Added Reference https://securitylab.github.com/advisories/GHSL-2022-094_discordrb/
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • Initial Analysis by [email protected]

    Apr. 03, 2023

    Action Type Old Value New Value
    Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
    Changed Reference Type https://github.com/shardlab/discordrb/commit/91e13043ffa89227c3fcdc3408f06da237d28c95 No Types Assigned https://github.com/shardlab/discordrb/commit/91e13043ffa89227c3fcdc3408f06da237d28c95 Patch
    Changed Reference Type https://securitylab.github.com/advisories/GHSL-2022-094_discordrb/ No Types Assigned https://securitylab.github.com/advisories/GHSL-2022-094_discordrb/ Exploit, Third Party Advisory
    Added CPE Configuration OR *cpe:2.3:a:discordrb_project:discordrb:*:*:*:*:*:ruby:*:* versions up to (excluding) 2023-03-08
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Vulnerability Scoring Details
Base CVSS Score: 9.6
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality Impact
Integrity Impact
Availability Impact
Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.82 }} -0.25%

score

0.73053

percentile