Bug 899190 (CVE-2014-7230) - VUL-1: CVE-2014-7230 CVE-2014-7231: openstack-cinder,openstack-nova,openstack-trove: potential leak of passwords into log files
Summary: VUL-1: CVE-2014-7230 CVE-2014-7231: openstack-cinder,openstack-nova,openstack...
Status: RESOLVED FIXED
Alias: CVE-2014-7230
Product: SUSE Security Incidents
Classification: Novell Products
Component: Incidents (show other bugs)
Version: unspecified
Hardware: Other Other
: P3 - Medium : Minor
Target Milestone: ---
Assignee: Bernhard Wiedemann
QA Contact: Security Team bot
URL: https://smash.suse.de/issue/108683/
Whiteboard: maint:running:59061:low maint:release...
Keywords:
Depends on:
Blocks:
 
Reported: 2014-09-30 14:19 UTC by Marcus Meissner
Modified: 2015-08-17 10:58 UTC (History)
2 users (show)

See Also:
Found By: Security Response Team
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marcus Meissner 2014-09-30 14:19:08 UTC
via oss-sec

A vulnerability was discovered in OpenStack (see below). In order to
ensure full traceability, we need a CVE number assigned that we can
attach to further notifications. This issue is already public, although
an advisory was not sent yet.

Title: Potential leak of passwords into log files
Reporter: Amrith Kumar (Tesora)
Products: Cinder, Nova, Trove
Versions: up to 2013.2.3, 2014.1 versions up to 2014.1.2

Description:
Amrith Kumar from Tesora reported two vulnerabilities in the
processutils.execute() and strutils.mask_password() functions available
from oslo-incubator that are copied into each project's code. An
attacker with read access to the services' logs may obtain passwords
used as a parameter of a command that have failed or when the
mask_password did not mask passwords properly.

References:
https://launchpad.net/bugs/1343604
https://launchpad.net/bugs/1345233

Thanks in advance,

-- 
Tristan Cacqueray
OpenStack Vulnerability Management Team
Comment 1 Marcus Meissner 2014-09-30 14:19:33 UTC
From Mitre:

There are (at least) two CVE IDs needed because of the different
vulnerability types. The older code in which processutils.execute was
simply logging cmd directly, without any masking step, can be
considered an instance of the
http://cwe.mitre.org/data/definitions/532.html issue. For this, use
CVE-2014-7230.

The older code with a short _FORMAT_PATTERNS list, with a later
replacement by longer _FORMAT_PATTERNS_1 and _FORMAT_PATTERNS_2 lists,
can be considered an instance of the
http://cwe.mitre.org/data/definitions/184.html issue. Bug #1343604
mentions 'mask_password did not, for example, catch the usage ...
/usr/sbin/mysqld --password=top-secret ... They did catch ...
/usr/sbin/mysqld --password="top-secret" ... make the strings in
strutils.mask_password more robust.' For this, use CVE-2014-7231.

The additional complication is that there were apparently already
releases with incomplete fixes for CVE-2014-7230. Separate CVE IDs are
needed when parts of the problem were fixed in different releases. For
example, Cinder 2013.2.4 contains a fix for the "Running cmd
(subprocess)" logging problem but apparently does not contain a fix
for the "Running cmd (SSH)" logging problem. The patch for the latter
is shown in the
https://git.openstack.org/cgit/openstack/trove/commit/?id=9672744f090d462cac5eb757ceaacd7122362708
commit. Is this a remaining vulnerability in Cinder 2013.2.4 and
possibly other products? If so, then we will assign another CVE ID.

- -- 
CVE assignment team, MITRE CVE Numbering Authority
Comment 3 Swamp Workflow Management 2014-10-01 12:07:47 UTC
bugbot adjusting priority
Comment 4 Bernhard Wiedemann 2014-10-01 13:58:04 UTC
added updates with bnc+CVE refs to Icehouse and Havana packages in OBS
Comment 7 Swamp Workflow Management 2014-11-20 18:05:51 UTC
SUSE-SU-2014:1467-1: An update that solves three vulnerabilities and has two fixes is now available.

Category: security (low)
Bug References: 883950,894055,897815,899190,899198
CVE References: CVE-2014-3641,CVE-2014-7230,CVE-2014-7231
Sources used:
SUSE Cloud 4 (src):    openstack-cinder-2014.1.4.dev19.g80c0054-0.7.1, openstack-cinder-doc-2014.1.4.dev19.g80c0054-0.7.1
Comment 10 Swamp Workflow Management 2015-02-19 03:09:08 UTC
SUSE-SU-2015:0324-1: An update that solves 5 vulnerabilities and has two fixes is now available.

Category: security (low)
Bug References: 867922,897815,898371,899190,899199,901087,903013
CVE References: CVE-2014-3608,CVE-2014-3708,CVE-2014-7230,CVE-2014-7231,CVE-2014-8750
Sources used:
SUSE Cloud 4 (src):    openstack-nova-2014.1.4.dev49-0.7.1, openstack-nova-doc-2014.1.4.dev49-0.7.1