Project

General

Profile

Actions

Bug #9784

closed

status.php: Sanitize bandwidthd db password

Added by Viktor Gurov over 4 years ago. Updated over 4 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Web Interface
Target version:
Start date:
09/23/2019
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.5.0
Affected Architecture:

Description

config-satinized.xml keeps <postgresqlpasswordenc>:

<bandwidthd>
                        <config>
                                <enable>on</enable>
                                <active_interface>lan</active_interface>
                                <interface_array>lan</interface_array>
                                <subnets_extra></subnets_extra>
                                <promiscuous></promiscuous>
                                <sensorid></sensorid>
                                <drawgraphs>on</drawgraphs>
                                <meta_refresh></meta_refresh>
                                <skipintervals></skipintervals>
                                <graphcutoff></graphcutoff>
                                <outputcdf></outputcdf>
                                <recovercdf></recovercdf>
                                <graph_log_info></graph_log_info>
                                <outputpostgresql>on</outputpostgresql>
                                <postgresqlhost>10.1.1.1</postgresqlhost>
                                <postgresqldatabase>bwdb1</postgresqldatabase>
                                <postgresqlusername>bwdbuser</postgresqlusername>
                                <postgresqlpasswordenc>YndkYnBhc3M=</postgresqlpasswordenc>
                                <advfilter></advfilter>
                        </config>
                </bandwidthd>
Actions #1

Updated by Jim Pingle over 4 years ago

  • Assignee set to Jim Pingle
  • Target version set to 2.5.0
Actions #2

Updated by Jim Pingle over 4 years ago

  • Status changed from New to Feedback
  • % Done changed from 0 to 100
Actions #3

Updated by Viktor Gurov over 4 years ago

Jim Pingle wrote:

Applied in changeset 1f2be937ddbaf04a1704cac2aea3fc66bb196013.

<postgresqlpasswordenc>xxxxx</postgresqlpasswordenc>

Sanitized ok
Resolved

Actions #4

Updated by Jim Pingle over 4 years ago

  • Status changed from Feedback to Resolved
Actions #5

Updated by Jim Pingle over 4 years ago

  • Private changed from Yes to No
Actions #6

Updated by Jim Pingle over 4 years ago

  • Target version changed from 2.5.0 to 2.4.5
Actions #7

Updated by Jim Pingle over 4 years ago

  • Status changed from Resolved to Feedback

Needs checked and/or tested again on 2.4.5 snapshots

Actions #8

Updated by Viktor Gurov over 4 years ago

Jim Pingle wrote:

Needs checked and/or tested again on 2.4.5 snapshots

tested on 2.4.5.a.20191209.0732

Resolved

Actions #9

Updated by Jim Pingle over 4 years ago

  • Status changed from Feedback to Resolved
Actions

Also available in: Atom PDF