Project

General

Profile

Actions

Bug #16290

open

``diag_authentication.php`` crashes with a core dump if RADIUS client Shared Secret value is not correct

Added by Azamat Khakimyanov 5 months ago. Updated 10 days ago.

Status:
Assigned
Priority:
Normal
Category:
Authentication
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
25.11
Release Notes:
Default
Affected Version:
2.9.0
Affected Architecture:

Description

Tested on 24.11

I added Remote Radius server into /System/User Manager/Authentication Servers and used incorrect Shared Secret, so when I tried to use /Diagnostics/Authentication I got 50x Error ('crash page.png') and in System log there were

Jun 28 17:30:47    php-fpm    627    /diag_authentication.php: Error during RADIUS authentication : Operation timed out
Jun 28 17:30:47    nginx        2025/06/28 17:30:47 [error] 57412#100297: *1645 upstream prematurely closed connection while reading response header from upstream, client: 192.168.122.1, server: , request: "POST /diag_authentication.php HTTP/2.0", upstream: "fastcgi://unix:/var/run/php-fpm.socket:", host: "192.168.122.143", referrer: "https://192.168.122.143/diag_authentication.php" 
Jun 28 17:30:47    kernel        pid 627 (php-fpm), jid 0, uid 0: exited on signal 11 (core dumped)

and Crash report had

Crash report begins.  Anonymous machine information:

amd64
15.0-CURRENT
FreeBSD 15.0-CURRENT #0 plus-RELENG_24_11-n256407-1bbb3194162: Fri Nov 22 05:08:46 UTC 2024     root@freebsd:/var/jenkins/workspace/pfSense-Plus-snapshots-24_11-main/obj/amd64/AKWlAIiM/var/jenkins/workspace/pfSense-Plus-snapshots-24_11-main/sources/FreeBS

Crash report details:

No PHP errors found.

No FreeBSD crash data found.


Files

crash page.png (123 KB) crash page.png Azamat Khakimyanov, 06/28/2025 05:39 PM
traffic with RADIUS Server.png (294 KB) traffic with RADIUS Server.png Azamat Khakimyanov, 11/22/2025 06:58 PM
traffic with RADIUS Server.pcap (1.38 KB) traffic with RADIUS Server.pcap Azamat Khakimyanov, 11/22/2025 06:59 PM
Actions

Also available in: Atom PDF