CVE Vulnerabilities

CVE-2018-12356

Improper Verification of Cryptographic Signature

Published: Jun 15, 2018 | Modified: May 16, 2019
CVSS 3.x
9.8
CRITICAL
Source:
NVD
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 2.x
7.5 HIGH
AV:N/AC:L/Au:N/C:P/I:P/A:P
RedHat/V2
RedHat/V3
Ubuntu
MEDIUM

An issue was discovered in password-store.sh in pass in Simple Password Store 1.7.x before 1.7.2. The signature verification routine parses the output of GnuPG with an incomplete regular expression, which allows remote attackers to spoof file signatures on configuration files and extension scripts. Modifying the configuration file allows the attacker to inject additional encryption keys under their control, thereby disclosing passwords to the attacker. Modifying the extension scripts allows the attacker arbitrary code execution.

Weakness

The product does not verify, or incorrectly verifies, the cryptographic signature for data.

Affected Software

Name Vendor Start Version End Version
Simple_password_store Simple_password_store_project 1.7.0 (including) 1.7.2 (excluding)
Password-store Ubuntu artful *
Password-store Ubuntu bionic *
Password-store Ubuntu esm-apps/bionic *
Password-store Ubuntu trusty *
Password-store Ubuntu upstream *

References