#VU72110 OS Command Injection in ipython


Published: 2023-02-10

Vulnerability identifier: #VU72110

Vulnerability risk: Low

CVSSv3.1: 6.4 [CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N/E:U/RL:O/RC:C]

CVE-ID: CVE-2023-24816

CWE-ID: CWE-78

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
ipython
Other software / Other software solutions

Vendor: ipython.org

Description

The vulnerability allows a remote attacker to execute arbitrary shell commands on the target system.

The vulnerability exists due to improper input validation within the set_term_title() function in ipython/IPython/utils/terminal.py. A remote attacker can pass specially crafted data to the application and execute arbitrary OS commands on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system but requires that the affected function is called on Windows in a Python environment where ctypes is not available.

Mitigation
Install updates from vendor's website.

Vulnerable software versions

ipython: 8.9.0, 8.8.0, 8.0.0 - 8.0.1


External links
http://github.com/ipython/ipython/security/advisories/GHSA-29gw-9793-fvw7


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability