All vulnerabilities

Servers and applications

GHSA-x3q7-cc7h-gj3v

Password-policy lock is cleared by an empty-password Save on system_usermanager_passwordmg.php (CWE-863/696)

Severity
Medium 4.3
Published
30 Sept 2026
Last changed
5 Oct 2026
Added to UpHeron
3 Nov 2026
Weakness
CWE-696Incorrect authorization (CWE-863)
Attack
Over the network · Needs a user account · No user action needed
Attacker can
Change some data
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
Sources
Project advisories (GitHub)

Description

When a local user's password violates the configured policy (length/complexity/age), authgui.inc sets $_SESSION['user_shouldChangePassword'] and ACL::isPageAccessible confines the session to the password portal (system_usermanager_passwordmg.php, user portal). The only intended way off that lock is a successful local_user_set_password().

src/www/system_usermanager_passwordmg.php:92-117 documents "we can continue without a password if nothing was provided" (language-only Save). That path leaves $input_errors empty, then unconditionally unset($_SESSION['user_shouldChangePassword']) at line 113 before the password-write branch at 118 (which does not run when both fields are empty). The weak/expired password is unchanged. Subsequent GUI/API requests use the account's normal privileges.

This is not unauthenticated access and not cross-account privilege escalation. The operator must already hold that user's password (PR:L).

From opnsense/core's security advisory. Shortened; the full text is there.

Affected software

SoftwareAffected versions
OPNsenseServers and applications · github:opnsense/core
  • Version 26.4.2p2

About OPNsense

open-source firewall

From Wikidata, CC0 1.0.
GitHub stars
4,802GitHub, 15 Nov 2026
Forks
1,029GitHub, 15 Nov 2026
License
2-clause BSD LicenseWikidata
Written in
PHP, CWikidata
First released
2 Jan 2015Wikidata
First published on GitHub
13 Dec 2014GitHub

Release lines

ReleaseLatestSecurity fixes
26.7 'Xenial Xenops'26.7.9Yes
26.1 'Witty Woodpecker'26.1.11Ended 15 Jul 2026
25.7 'Visionary Viper'25.7.11Ended 28 Jan 2026
25.1 'Ultimate Unicorn'25.1.12Ended 23 Jul 2025
24.7 'Thriving Tiger'24.7.12Ended 28 Jan 2025
24.1 'Savvy Shark'24.1.10Ended 25 Jul 2024

From endoflife.date.

References