VulnWatch by ve1ve2
medium 6.4 EPSS 0.70%

GHSA-9h3w-f3h4-qqrh / CVE-2025-47790: Second factor not requested after session timeout

Source:
Nextcloud security advisories (GitHub nextcloud/security-advisories)
Published:
Fetched:
Updated:
Affects:
nextcloud Server

https://github.com/nextcloud/security-advisories/security/advisories/GHSA-9h3w-f3h4-qqrh ↗

repo-advisorynextcloudnextcloud enterpriseCWE-287securityrepo:nextcloud/security-advisoriesstack

Second factor not requested after session timeout ### Impact A bug with the session handling caused skipping the second factor confirmation after a successful login with the username and password when the server was configured with `remember_login_cookie_lifetime` set to `0`, once the session expired on the page to select the second factor and the page is reloaded. ### Patches It is recommended that the Nextcloud Server is upgraded to 29.0.15, 30.0.9 or 31.0.3 It is recommended that the Nextcloud Enterprise Server is upgraded to 26.0.13.15, 27.1.11.15, 28.0.14.6, 29.0.15, 30.0.9 or 31.0.3 ### Workarounds * Set the `remember_login_cookie_lifetime` in config.php to a value other than `0`, e.g. `900`. Beware that this is only a workaround for new sessions created after the configuration change. System administration can delete affected sessions listed by the following database query: ```sql SELECT id, uid FROM oc_authtoken WHERE type = 0 AND remember = 0; ``` ### References * [HackerOne](https://hackerone.com/reports/2729367) * [PullRequest](https://github.com/nextcloud/server/pull/51905) ### For more information If you have any questions or comments about this advisory: * Create a post in [nextcloud/security-advisories](https://github.com/nextcloud/security-advisories/discussions) * Customers: Open a support ticket at [portal.nextcloud.com](https://portal.nextcloud.com) Affected packages: nextcloud enterprise:Server, nextcloud:Server Patched: Server 29.0.15, 30.0.9, 31.0.3, Server 26.0.13.15, 27.1.11.15, 28.0.14.6, 29.0.15, 30.0.9, 31.0.3

Linked vulnerabilities (2)

CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:N

Second factor not requested after session timeout

CWE: CWE-287Aliases: CVE-2025-47790
CVE-2025-47790 medium 6.4 EPSS 0.70% (p49) NVDCVE.orgGHSA
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:N

Second factor not requested after session timeout

CWE: CWE-287Aliases: GHSA-9h3w-f3h4-qqrh