#VU61830 Code Injection in Qt


Published: 2022-04-04

Vulnerability identifier: #VU61830

Vulnerability risk: Low

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

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.15.0 - 5.15.8, 6.2.0 - 6.2.3, 5.9 - 5.9.9, 5.10 - 5.10.1, 5.11 - 5.11.3, 5.12 - 5.12.12, 5.13 - 5.13.2, 5.14.0 - 5.14.2, 6.1.0 - 6.1.3, 6.0.0 - 6.0.4


External links
http://download.qt.io/official_releases/qt/6.2/qprocess6-2.diff
http://codereview.qt-project.org/c/qt/qtbase/+/393113
http://download.qt.io/official_releases/qt/5.15/qprocess5-15.diff
http://codereview.qt-project.org/c/qt/qtbase/+/396020
http://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