Project

General

Profile

Actions

Bug #11769

closed

Sanitize Captive Portal RADIUS MAC secret in status output

Added by Viktor Gurov almost 3 years ago. Updated almost 3 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Viktor Gurov
Category:
Diagnostics
Target version:
Start date:
04/01/2021
Due date:
% Done:

0%

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

Description

RADIUS MAC Secret (`<radmac_secret>`) is not sanitized:

...
 <captiveportal>
        <cpzone1>
            <zone>CPZONE1</zone>
            <descr></descr>
            <localauth_priv></localauth_priv>
            <zoneid>2</zoneid>
            <interface>lan</interface>
            <maxproc></maxproc>
            <timeout></timeout>
            <idletimeout></idletimeout>
            <trafficquota></trafficquota>
            <freelogins_count></freelogins_count>
            <freelogins_resettimeout></freelogins_resettimeout>
            <enable></enable>
            <auth_method>radmac</auth_method>
            <auth_server>radius - LocalRADIUS</auth_server>
            <auth_server2></auth_server2>
            <radacct_server>LocalRADIUS</radacct_server>
            <radacct_enable></radacct_enable>
            <reauthenticate></reauthenticate>
            <radmac_secret>password123</radmac_secret>
            <reauthenticateacct>stopstartfreeradius</reauthenticateacct>
            <httpsname></httpsname>
            <preauthurl></preauthurl>
            <blockedmacsurl></blockedmacsurl>

Actions

Also available in: Atom PDF