Project

General

Profile

Actions

Bug #4384

closed

missing input validation in captive portal

Added by Chris Buechler almost 10 years ago. Updated over 9 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
Captive Portal
Target version:
Start date:
02/06/2015
Due date:
% Done:

100%

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

Description

services_captiveportal.php is missing input validation that allows creating invalid configurations, including ones that can trigger crash reports like:

PHP Fatal error:  Class 'Auth_RADIUS_' not found in /usr/local/captiveportal/radius_authentication.inc on line 80

In that case, RADIUS auth is chosen, but "RADIUS protocol" beneath it left empty and unselected.

Where RADIUS auth is enabled, it must require entry of a RADIUS server IP or hostname for the primary authentication source, and a choice of RADIUS protocol.

Actions

Also available in: Atom PDF