CVE-2025-47790

Source
https://nvd.nist.gov/vuln/detail/CVE-2025-47790
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-47790.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-47790
Aliases
  • GHSA-9h3w-f3h4-qqrh
Published
2025-05-16T14:02:57Z
Modified
2025-10-22T18:48:07.415138Z
Severity
  • 6.4 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:N CVSS Calculator
Summary
Nextcloud Server doesn't request second factor after session timeout
Details

Nextcloud Server is a self hosted personal cloud system. Nextcloud Server prior to 29.0.15, 30.0.9, and 31.0.3 and Nextcloud Enterprise Server prior to 26.0.13.15, 27.1.11.15, 28.0.14.6, 29.0.15, 30.0.9, and 31.0.3 have a bug with session handling. The bug 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. Nextcloud Server 29.0.15, 30.0.9, and 31.0.3 and Nextcloud Enterprise Server is upgraded to 26.0.13.15, 27.1.11.15, 28.0.14.6, 29.0.15, 30.0.9 and 31.0.3 contain a patch. As a workaround, 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.

Database specific
{
    "cwe_ids": [
        "CWE-287"
    ]
}
References

Affected packages

Git / github.com/nextcloud/server

Affected ranges

Type
GIT
Repo
https://github.com/nextcloud/server
Events
Type
GIT
Repo
https://github.com/nextcloud/server
Events
Type
GIT
Repo
https://github.com/nextcloud/server
Events

Affected versions

v29.*

v29.0.0
v29.0.1
v29.0.10
v29.0.10rc1
v29.0.11
v29.0.11rc1
v29.0.12
v29.0.12rc1
v29.0.12rc2
v29.0.13
v29.0.13rc1
v29.0.13rc2
v29.0.14
v29.0.14rc1
v29.0.15rc1
v29.0.15rc2
v29.0.1rc1
v29.0.2
v29.0.2rc1
v29.0.2rc2
v29.0.3
v29.0.3rc1
v29.0.3rc2
v29.0.3rc3
v29.0.3rc4
v29.0.4
v29.0.4rc1
v29.0.5
v29.0.5rc1
v29.0.6
v29.0.6rc1
v29.0.7
v29.0.7rc1
v29.0.8
v29.0.8rc1
v29.0.9
v29.0.9rc1
v29.0.9rc2

v30.*

v30.0.0
v30.0.1
v30.0.1rc1
v30.0.1rc2
v30.0.2
v30.0.2rc1
v30.0.2rc2
v30.0.3
v30.0.3rc1
v30.0.3rc2
v30.0.4
v30.0.4rc1
v30.0.5
v30.0.5rc1
v30.0.6
v30.0.6rc1
v30.0.6rc2
v30.0.7
v30.0.7rc1
v30.0.7rc2
v30.0.8
v30.0.8rc1
v30.0.9rc1
v30.0.9rc2

v31.*

v31.0.0
v31.0.1
v31.0.1rc1
v31.0.1rc2
v31.0.2
v31.0.2rc1
v31.0.3rc1
v31.0.3rc2