OS command injection in ipython



Published: 2023-02-10
Risk Low
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2023-24816
CWE-ID CWE-78
Exploitation vector Network
Public exploit N/A
Vulnerable software
Subscribe
ipython
Other software / Other software solutions

Vendor ipython.org

Security Bulletin

This security bulletin contains one low risk vulnerability.

1) OS Command Injection

EUVDB-ID: #VU72110

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 - Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Exploit availability: No

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.0.0 - 8.9.0

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.



###SIDEBAR###