#VU61830 Code Injection in Qt - CVE-2022-25255


Vulnerability identifier: #VU61830

Vulnerability risk: Low

CVSSv4.0: 5.9 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Clear]

CVE-ID: CVE-2022-25255

CWE-ID: CWE-94

Exploitation vector: Local

Exploit availability: No

Vulnerable software:
Qt
Universal components / Libraries / Scripting languages

Vendor: Trolltech

Description

The vulnerability allows a local user to execute arbitrary code on the target system.

The vulnerability exists due to QProcess can execute a binary from the current working directory when not found in the PATH. A local user can execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.

Mitigation
Install updates from vendor's website.

Vulnerable software versions

Qt: 5.9 - 5.9.9, 5.10 - 5.15.8, 6.0.0 - 6.0.4, 6.1.0 - 6.1.3, 6.2.0 - 6.2.3


External links
https://download.qt.io/official_releases/qt/6.2/qprocess6-2.diff
https://codereview.qt-project.org/c/qt/qtbase/+/393113
https://download.qt.io/official_releases/qt/5.15/qprocess5-15.diff
https://codereview.qt-project.org/c/qt/qtbase/+/396020
https://codereview.qt-project.org/c/qt/qtbase/+/394914


Q & A

Can this vulnerability be exploited remotely?

No. This vulnerability can be exploited locally. The attacker should have authentication credentials and successfully authenticate on the system.

Is there known malware, which exploits this vulnerability?

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


Latest bulletins with this vulnerability