Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id EC74A200BC3 for ; Thu, 13 Oct 2016 15:00:27 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id E94EF160AE4; Thu, 13 Oct 2016 13:00:27 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 4887B160AF8 for ; Thu, 13 Oct 2016 15:00:27 +0200 (CEST) Received: (qmail 74500 invoked by uid 500); 13 Oct 2016 13:00:26 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 74189 invoked by uid 99); 13 Oct 2016 13:00:26 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Oct 2016 13:00:26 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 1AC112C4C7D for ; Thu, 13 Oct 2016 13:00:26 +0000 (UTC) Date: Thu, 13 Oct 2016 13:00:26 +0000 (UTC) From: "Stefan Podkowinski (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Comment Edited] (CASSANDRA-12540) Password Management: Hardcoded Password MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 13 Oct 2016 13:00:28 -0000 [ https://issues.apache.org/jira/browse/CASSANDRA-12540?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15571840#comment-15571840 ] Stefan Podkowinski edited comment on CASSANDRA-12540 at 10/13/16 12:59 PM: --------------------------------------------------------------------------- This would have prevented CASSANDRA-12773. There's really no reason not to get rid of them. ||trunk|| |[branch|https://github.com/spodkowinski/cassandra/tree/CASSANDRA-12540-trunk]| |[dtest|http://cassci.datastax.com/view/Dev/view/spodkowinski/job/spodkowinski-CASSANDRA-12540-trunk-dtest/]| |[testall|http://cassci.datastax.com/view/Dev/view/spodkowinski/job/spodkowinski-CASSANDRA-12540-trunk-testall/]| was (Author: spodxx@gmail.com): This would have prevented CASSANDRA-12773. There's really no reason not to get rid of them. > Password Management: Hardcoded Password > --------------------------------------- > > Key: CASSANDRA-12540 > URL: https://issues.apache.org/jira/browse/CASSANDRA-12540 > Project: Cassandra > Issue Type: Sub-task > Reporter: Eduardo Aguinaga > Attachments: 12540-trunk.patch > > > Overview: > In May through June of 2016 a static analysis was performed on version 3.0.5 of the Cassandra source code. The analysis included an automated analysis using HP Fortify v4.21 SCA and a manual analysis utilizing SciTools Understand v4. The results of that analysis includes the issue below. > Issue: > In the file EncryptionOptions.java there are hard coded passwords on lines 23 and 25. > {code:java} > EncryptionOptions.java, lines 20-30: > 20 public abstract class EncryptionOptions > 21 { > 22 public String keystore = "conf/.keystore"; > 23 public String keystore_password = "cassandra"; > 24 public String truststore = "conf/.truststore"; > 25 public String truststore_password = "cassandra"; > 26 public String[] cipher_suites = { > 27 "TLS_RSA_WITH_AES_128_CBC_SHA", "TLS_RSA_WITH_AES_256_CBC_SHA", > 28 "TLS_DHE_RSA_WITH_AES_128_CBC_SHA", "TLS_DHE_RSA_WITH_AES_256_CBC_SHA", > 29 "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA", "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA" > 30 }; > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)