Code execution in Qt



Published: 2022-02-16 | Updated: 2022-04-04
Risk Low
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2022-25255
CWE-ID CWE-94
Exploitation vector Local
Public exploit N/A
Vulnerable software
Subscribe
Qt
Universal components / Libraries / Scripting languages

Vendor Trolltech

Security Bulletin

This security bulletin contains one low risk vulnerability.

1) Code Injection

EUVDB-ID: #VU61830

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 - Improper Control of Generation of Code ('Code Injection')

Exploit availability: No

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 - 6.2.3

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.



###SIDEBAR###