Remote Code Execution (RCE) Affecting xalpha package, versions [0.11.4,0.11.9)


Severity

Recommended
0.0
critical
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of concept
EPSS
0.45% (75th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Remote Code Execution (RCE) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-XALPHA-5772115
  • published12 Jul 2023
  • disclosed11 Jul 2023
  • creditleeya_bug

Introduced: 11 Jul 2023

CVE-2023-37659  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

Upgrade xalpha to version 0.11.9 or higher.

Overview

xalpha is an all about fund investment

Affected versions of this package are vulnerable to Remote Code Execution (RCE) via the eval() function, due to improper user-input sanitization. An attacker could obtain server permissions by using functions such as os.system() to execute cmd and directly obtain the cmd shell.

PoC

../gaoduan/PinzhongRightApi.aspx?fc=AF5097&callback=jQuery183037745026472073073_ Data_netWorthTrend = {your rce python command}; &_=1688890155531#

CVSS Scores

version 3.1