Command Injection in qBittorrent - CVE-2019-13640

 

Command Injection in qBittorrent - CVE-2019-13640

Published: August 26, 2019


Vulnerability identifier: #VU20394
CSH Severity: High
CVSS v4: 9.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2019-13640
CWE-ID: CWE-77
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

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

The vulnerability exists due to the "Application::runExternalProgram()" function in "app/application.cpp" allows command injection via shell metacharacters in the torrent name parameter. A remote attacker can inject arbitrary commands via a crafted name within an RSS feed and execute arbitrary code on the target system.

Affected software

qBittorrent
qbittorrent (Debian package)
qbittorrent-nox (Alpine package)
qbittorrent
Fedora
SUSE Linux
Opensuse

How to mitigate CVE-2019-13640

Install updates from vendor's website.

qBittorrent - update to 4.1.7
qbittorrent (Debian package) - addressed in versions 3.3.7-3+deb9u1, 4.1.5-1+deb10u1
qbittorrent-nox (Alpine package) - update to 4.1.6-r3
qbittorrent - addressed in versions 3.3.16-2.el7, 4.1.7-1.fc29, 4.1.7-1.fc30

External References

Related Security Bulletins