🛡️ GHSA-x883-2vmg-xwf7 — authelia

🟢 CVSS 2.0 — Low ✅ No Known Exploit CWE-281 OSV
2.0
CVSS Score
0 Low4 Medium7 High9 Critical10

Description

Authelia's Group Changes may not have the expected results (YAML file backend)

Impact

Under very specific conditions changes to a users groups may not have the expected results.

The specific conditions are:

  • The file authentication backend is being used.
  • The [watch](https://www.authelia.com/configuration/first-factor/file/#watch) option is set to true.
  • The [refresh_interval](https://www.authelia.com/configuration/first-factor/introduction/#refresh_interval) is configured to a non-disabled value.
  • The users groups are adjusted by an administrator.
  • The user attempts to access a resource that their groups previously had access to but their new groups do not have access to.

When these conditions are met administrators may find the changes are not taken into account by access control for longer than expected periods. While this may not necessarily be a security vulnerability it's security-adjacent and because of the unexpected nature of it and our dedication to a security-first culture we feel it's important to make users aware of this behaviour utilizing a security advisory and the existence of a fix.

This:

  • Can not have an Impact for Unauthenticated Users.
  • Can not have an Impact for Configurations utilizing the LDAP Backend.
  • Can not be directly or indirectly caused by a users or third parties actions.

Patches

This behaviour was identified _after_ it was inadvertently fixed in the master branch during the multi-cookie domain rework (i.e. between feature releases). A patch for prior versions can be provided upon request. The fix was to ensure the details are updated regardless of backend, it was a small oversight in previous functionality which made refreshing ineffectual prior to v4.37.0.

Workarounds

Ensure you restart between user database changes.

References

  • https://github.com/authelia/authelia/blob/v4.37.5/internal/handlers/handler_verify.go#L376-L394

How this vulnerability can be exploited

This issue can be reached with physical access to the device, attack complexity is high, an attacker needs administrative privileges on the target. A user must be tricked into taking some action. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality low, integrity none, availability none.

Weakness class

GHSA-x883-2vmg-xwf7 is classified as CWE-281: Improper Preservation of Permissions. Permissions are not carried over correctly during an operation such as copy or restore, widening access.

Affected software

GHSA-x883-2vmg-xwf7 is recorded against 1 package.

  • github.com/authelia/authelia/v4

Timeline and source

Published on 22 April 2024 and last revised on 26 April 2024. No public exploit is currently recorded for this entry. Record sourced from OSV.

References

github.com (Web)
github.com (Package)
github.com (Web)

Details

Severity LOW
CVSS Score 2.0
CVSS Vector CVSS:3.1/AV:P/AC:H/PR:H/UI:R/S:U/C:L/I:N/A:N
CWE CWE-281
Public Exploit ✅ No
Source OSV
Published 2024-04-22
Updated 2026-08-20
Modified 2024-04-26
Fix URL N/A

Affected Packages

Software From version Fixed in
github.com/authelia/authelia/v4

Similar Threats

Free Vulnerability Check

Is your site affected by GHSA-x883-2vmg-xwf7?

BotEraser helps you identify potentially vulnerable plugins and themes by checking your installation against GHSA-x883-2vmg-xwf7 and other known CVE records.

Scan My Site Free →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.

Browse related advisories

All advisoriesGitHub AdvisoryGitHub Advisory Undated