Refused Login As attempts recorded as successful in the security log
- CVE-2026-132780
- EUVD-2026-144735
Description
Improper logging in the Login As REST endpoint (POST /api/v1/users/loginas, UserResource) in dotCMS versions before 26.11.18-01 causes several refused Login As requests, such as a request with no target user, a request to log in as oneself, or a request with a missing or wrong password for an administrator target, to write a security-log entry stating that the caller successfully logged in as the target user, directly after the error entry for the same request. A back-end user who holds the Login As role can use this to fill the security log with false impersonation records, which can mislead monitoring and incident response. In addition, a refused Login As request sent while the user is already impersonating another user cleared the stored original identity, so Logout As no longer worked and the session had to be ended. No privileges are gained: the session identity does not change on a refused request. Fixed in 26.11.18-01 and later. The success entry is now written only after a Login As completes, every refusal returns before it, and a refused or failed request restores the session state it found, so an active Login As can still be ended with Logout As.
Text from the CVE.org record.
Recommendation
dotCMS
- If you run a version before 26.11.18-01update to 26.11.18-01 or later
- If you run a version from 25.07.10 to before 25.07.10_lts_v29update to 26.11.18-01 or laterMajor version change: expect breaking changes
Taken from the version ranges of the CVE.org record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.
Affected
dotCMS
Affected versions Fixed in before 26.11.18-01 26.11.18-01 from 25.07.10 to before 25.07.10_lts_v29 26.11.18-01
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.