-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

===========================================================================
             AUSCERT External Security Bulletin Redistribution

                               ESB-2018.1776
               password-store -- GPG parsing vulnerabilities
                               15 June 2018

===========================================================================

        AusCERT Security Bulletin Summary
        ---------------------------------

Product:           password-store
Publisher:         FreeBSD
Operating System:  FreeBSD
                   UNIX variants (UNIX, Linux, OSX)
Impact/Access:     Execute Arbitrary Code/Commands -- Remote with User Interaction
                   Overwrite Arbitrary Files       -- Remote with User Interaction
Resolution:        Patch/Upgrade
CVE Names:         CVE-2018-12356  

Original Bulletin: 
   https://www.vuxml.org/freebsd/53eb9e1e-7014-11e8-8b1f-3065ec8fd3ec.html

Comment: This advisory references vulnerabilities in products which run on 
         platforms other than FreeBSD. It is recommended that administrators
         running password-store check for an updated version of the software
         for their operating system.

- --------------------------BEGIN INCLUDED TEXT--------------------

password-store -- GPG parsing vulnerabilities

Affected packages
password-store 	< 	1.7.2

Details
VuXML ID   53eb9e1e-7014-11e8-8b1f-3065ec8fd3ec
Discovery  2018-06-14
Entry      2018-06-14

Jason A. Donenfeld reports:

    Markus Brinkmann discovered that [the] parsing of gpg command line output
    with regexes isn't anchored to the beginning of the line, which means an
    attacker can generate a malicious key that simply has the verification
    string as part of its username.

    This has a number of nasty consequences:

        o an attacker who manages to write into your ~/.password-store and also
          inject a malicious key into your keyring can replace your .gpg-id key
          and have your passwords encrypted under additional keys;
        o if you have extensions enabled (disabled by default), an attacker who
          manages to write into your ~/.password-store and also inject a malicious
          key into your keyring can replace your extensions and hence execute
          code.

References
CVE Name  CVE-2018-12356
URL 	  https://lists.zx2c4.com/pipermail/password-store/2018-June/003308.html

- --------------------------END INCLUDED TEXT--------------------

You have received this e-mail bulletin as a result of your organisation's
registration with AusCERT. The mailing list you are subscribed to is
maintained within your organisation, so if you do not wish to continue
receiving these bulletins you should contact your local IT manager. If
you do not know who that is, please send an email to auscert@auscert.org.au
and we will forward your request to the appropriate person.

NOTE: Third Party Rights
This security bulletin is provided as a service to AusCERT's members.  As
AusCERT did not write the document quoted above, AusCERT has had no control
over its content. The decision to follow or act on information or advice
contained in this security bulletin is the responsibility of each user or
organisation, and should be considered in accordance with your organisation's
site policies and procedures. AusCERT takes no responsibility for consequences
which may arise from following or acting on information or advice contained in
this security bulletin.

NOTE: This is only the original release of the security bulletin.  It may
not be updated when updates to the original are made.  If downloading at
a later date, it is recommended that the bulletin is retrieved directly
from the author's website to ensure that the information is still current.

Contact information for the authors of the original document is included
in the Security Bulletin above.  If you have any questions or need further
information, please contact them directly.

Previous advisories and external security bulletins can be retrieved from:

        https://www.auscert.org.au/bulletins/

===========================================================================
Australian Computer Emergency Response Team
The University of Queensland
Brisbane
Qld 4072

Internet Email: auscert@auscert.org.au
Facsimile:      (07) 3365 7031
Telephone:      (07) 3365 4417 (International: +61 7 3365 4417)
                AusCERT personnel answer during Queensland business hours
                which are GMT+10:00 (AEST).
                On call after hours for member emergencies only.
===========================================================================
-----BEGIN PGP SIGNATURE-----
Comment: http://www.auscert.org.au/render.html?it=1967

iQIVAwUBWyNHSWaOgq3Tt24GAQh4BQ//UP9hnZr5cFjAo075Qi4/CQD/URUqv7od
FTu//W1bRiTHvd0KKl4snh0cfsiGlKHaT0RYnuGLRRni124aQQ9f+ef4ifSxG91t
Q5MaawGB2d7Fy5/fXYVAfVX28oy8pCMEhzf+9Rs09dGQhKOuNksbgZ6cSUighLtd
B6eKI+tNQDalejdwpwRx/mU7wHIcvX/K9khkryvUyAdMs4+nh1ECV0JjmiLAnue3
MqsE+n1ye8Y5YgUfH6yejzrnovhALSwbeVoE9J/tR4Kw3wYqQgjeJv5sr/yysC83
P+8ooAuaO1KMDi6uXYgt8k6H5fObZ1dqsRYxcpboG75CIohTREwejw5PYZxIFWch
Jo41BhiTYuuq9ubuJrSh3QwiNzpXOB3TL5U88egh4x0eGyjzcJfsxUy87YYsiws7
b6DujG1mbWLUCGK/1tc7z6YFNpZ+yfUuqj7/IiyBICV4r0Yc/AkP3389xgMzxr4j
eBXFniqtBGmdrdVUrTlk22D66Wuuov/dADSpaM/BIjKpvnNCVuDecwHqnpd2HroO
FLDWQdQFaN5IbPBHxKHUO6sZ8lQpbgSagU9kMmarAdqXKtBJfHU99JWBNXJcGfpR
sjqgjc/RPfP1aevNhhqjjnhumsaXNxQR5sKssGAO0EgDJD/mAr+TsYPO4av5PiFf
YCbhtbN9U5c=
=ipcT
-----END PGP SIGNATURE-----