Command injection in Calibre - CVE-2018-7889
Published: March 11, 2018 / Updated: March 12, 2018
Vulnerability identifier: #VU10930
CSH Severity: High
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber
CVE-ID: CVE-2018-7889
CWE-ID: CWE-77
Exploitation vector: Remote access
Exploit availability:
No public exploit available
Vendor: Calibre
Affected software:
Calibre
Calibre
Detailed vulnerability description
The vulnerability allows a remote attacker to execute arbitrary commands on the target system.
The weakness exists in gui2/viewer/bookmarkmanager.py in Calibre calls cPickle.load on imported bookmark data due to improper input validation. A remote attacker can send a specially crafted .pickle file, as demonstrated by Python code that contains an os.system call, inject arbitrary command and execute arbitrary code.
Successful exploitation of the vulnerability may result in system compromise.
The weakness exists in gui2/viewer/bookmarkmanager.py in Calibre calls cPickle.load on imported bookmark data due to improper input validation. A remote attacker can send a specially crafted .pickle file, as demonstrated by Python code that contains an os.system call, inject arbitrary command and execute arbitrary code.
Successful exploitation of the vulnerability may result in system compromise.
How to mitigate CVE-2018-7889
Update to version 3.19.0.