PT-2025-7632 · Unknown · Binance-Trading-Bot
Kwstubbs
·
Published
2025-02-21
·
Updated
2025-02-26
·
CVE-2025-27106
CVSS v3.1
8.8
High
| Vector | AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
binance-trading-bot versions prior to 0.0.100
Description
The binance-trading-bot is an automated Binance trading bot with a trailing buy/sell strategy. Authenticated users can achieve Remote Code Execution on the host system due to a command injection vulnerability in the "/restore" endpoint. The name of the uploaded file is passed to shell.exec without sanitization, resulting in Remote Code Execution. This may allow any authorized user to execute code in the context of the host machine.
Recommendations
For versions prior to 0.0.100, upgrade to version 0.0.100 or later to address the issue. As a temporary workaround, consider restricting access to the "/restore" endpoint until the issue is resolved. Avoid using the
shell.exec function with unsanitized input from uploaded files.Exploit
Fix
RCE
OS Command Injection
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Binance-Trading-Bot