CVE-2023-28102: discordrb is an implementation of the Discord API using Ruby..
discordrb_project
•
Mar 27, 2023
•
Apr 3, 2023
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`.
Products affected:
discordrb_project» discordrb » *
In a few clicks Akto can analyze your API attack surface and see what APIs are vulnerable to OWASP Top 10 and other common CWEs.
Severity
9.6
/
10
CVSS base metrics
Attack vector
NETWORK
Attack complexity
LOW
Privileges required
LOW
User interaction
REQUIRED
Scope
CHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Exploitability Score
2.8
Impact Score
6
Weakness
CWE-78__
Learn from academy
Docker Metasploit
Metasploit WordPress
What is Metasploit?
Metasploit for Windows
Metasploit Linux
Armitage Metasploit
Termux Metasploit
Rapid7 Penetration Testing
Nmap Penetration Testing
Linux Penetration Testing
Salesforce Penetration Testing
Kubernetes Pentesting
IoT Penetration Testing
SAP Penetration Testing
Docker Pentest
Pentera Pentesting
Infrastructure Penetration Testing
Cobalt Pentest
CREST Penetration Testing
CompTIA Pentest+ Certification
Azure Penetration Testing
AWS Penetration Testing
Firebase Pentest
External Pen Testing
Hardware Penetration Testing
Android Pentesting
HTML Injection
Code Injection
Blind SQL Injection
HTTP Header Injection
LDAP Injection
PHP Injection
Command Injection
NoSQL Injection
Authentication Methods
Brute Force Attack
What is Fuzzing and How Does It Work?
What is API Fuzzing?
What is Fuzzer?
White Box Fuzzing
Related tests
JWT authentication bypass via jku header injection
eSMTP - Config Discovery
Nginx - Git Configuration Exposure
Laravel - Sensitive Information Disclosure
Docker Container - Misconfiguration Exposure
Msmtp - Config Exposure
Parameters.yml - File Discovery
Mongo Express - Unauthenticated Access
Apache Airflow Configuration Exposure
Dockerrun AWS Configuration Exposure
Apache Config file disclosure
Appspec Yml Disclosure
Explore more from Akto
Blog
Be updated about everything related to API Security, new API vulnerabilities, industry news and product updates.
Test Library
Discover and find tests from Akto's 100+ API Security test library. Choose your template or add a new template to start your API Security testing.
Documentation
Check out Akto's product documentation for all information related to features and how to use them.