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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2023-24816— set_term_title command injection in ipython

Quick assessment

Affected
ipython ipython
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.

Interactive Python(IPython)是一个用于使用多种编程语言进行交互式计算的命令shell,最初是为Python编程语言开发的。 IPython(Interactive Python) 8.1.0之前版本存在操作系统命令注入漏洞。攻击者利用该漏洞执行命令注入攻击。

CVSS 4.5 · Medium EPSS 1.31% · P70

Possible ATT&CK Techniques 1 AI

T1059 · Command and Scripting Interpreter
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2023-24816

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
set_term_title command injection in ipython
Source: CVE Program / CVE List V5
Vulnerability Description
IPython (Interactive Python) is a command shell for interactive computing in multiple programming languages, originally developed for the Python programming language. Versions prior to 8.1.0 are subject to a command injection vulnerability with very specific prerequisites. This vulnerability requires that the function `IPython.utils.terminal.set_term_title` be called on Windows in a Python environment where ctypes is not available. The dependency on `ctypes` in `IPython.utils._process_win32` prevents the vulnerable code from ever being reached in the ipython binary. However, as a library that could be used by another tool `set_term_title` could be called and hence introduce a vulnerability. Should an attacker get untrusted input to an instance of this function they would be able to inject shell commands as current process and limited to the scope of the current process. Users of ipython as a library are advised to upgrade. Users unable to upgrade should ensure that any calls to the `IPython.utils.terminal.set_term_title` function are done with trusted or filtered input.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L
Source: CVE Program / CVE List V5
Vulnerability Type
输入验证不恰当
Source: CVE Program / CVE List V5
Vulnerability Title
Interactive Python 操作系统命令注入漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Interactive Python(IPython)是一个用于使用多种编程语言进行交互式计算的命令shell,最初是为Python编程语言开发的。 IPython(Interactive Python) 8.1.0之前版本存在操作系统命令注入漏洞。攻击者利用该漏洞执行命令注入攻击。
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
ipython ipython < 8.10 -

II. Public POCs for CVE-2023-24816

# 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-24816

请登录查看更多情报信息。

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

Vendor Advisories for CVE-2023-24816 (1)

Other References for CVE-2023-24816 (2)

IV. Related Vulnerabilities

V. Comments for CVE-2023-24816

No comments yet


Leave a comment