Bug 1591571 (CVE-2018-12356) - CVE-2018-12356 pass: Improper parsing of GPG output allows attackers to spoof file signatures, read passwords and execute code
Summary: CVE-2018-12356 pass: Improper parsing of GPG output allows attackers to spoof...
Keywords:
Status: CLOSED UPSTREAM
Alias: CVE-2018-12356
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1591572 1591573
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-06-15 03:39 UTC by Sam Fowler
Modified: 2021-02-17 00:07 UTC (History)
3 users (show)

Fixed In Version: pass 1.7.2
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-06-10 10:29:12 UTC
Embargoed:


Attachments (Terms of Use)

Description Sam Fowler 2018-06-15 03:39:52 UTC
An issue was discovered in password-store.sh in pass in Simple Password Store 1.7 through 1.7.1. 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 extensions 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.


External References:

https://neopg.io/blog/pass-signature-spoof/
https://lists.zx2c4.com/pipermail/password-store/2018-June/003308.html

Comment 1 Sam Fowler 2018-06-15 03:40:19 UTC
Created pass tracking bugs for this issue:

Affects: epel-all [bug 1591572]
Affects: fedora-all [bug 1591573]

Comment 2 Product Security DevOps Team 2019-06-10 10:29:12 UTC
This CVE Bugzilla entry is for community support informational purposes only as it does not affect a package in a commercially supported Red Hat product. Refer to the dependent bugs for status of those individual community products.


Note You need to log in before you can comment on or make changes to this bug.