Cengage LTI Session Management Leakage
Cengage's LTI session management had two flaws: long-lived sessions and login links remained in browser history and cached GET requests, allowing unauthenticated attackers with local or proxy access to impersonate users; and the LTI launch signature was not properly verified, allowing an authenticated attacker to alter a response field to bypass signature checking and impersonate other users.
Published on rapid7.com
Prior to December 10, 2022, Cengage, an education technology provider in use in many higher education environments primarily in the United States, had two issues in the way it handled session management over its Learning Tools Integration (LTI) pipeline.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Impact
For the cached credentials issue, an attacker with access to the user's browser session or network proxy logs could read and alter personal information; for the signature issue, an authenticated attacker could assume sessions of other users, possibly including students, instructors, and administrators.
What the attacker needed
Access to victim's browser session or proxy logs; authenticated attacker account
The fix
The signature verification issue was fixed by the vendor in December 2022; the cached credentials issue was still in remediation with a fix expected in March 2023.
How it was found
- Observe that the 'Cengage Single Sign-On' link remains usable in browser history after logout.
- Click the link to log back in, noting it is active for at least an hour post-logout.
- For the signature issue, observe the LTI launch response contains a hidden form with a signatureVerified field set to false when the signature is invalid.
- Alter the response to set signatureVerified to true.
- The modified LTI session context is then accepted by the server as authentic.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
When you log in to a website, the site gives your browser a kind of digital key (a session token) so you don't have to log in again on every page. Here, those keys were left in the browser's history and in network cache logs even after logout, so anyone who could see them could pretend to be you. Separately, the system didn't properly check a security signature that proves a login request really came from a trusted app, so a logged-in attacker could fake that check and take over other people's sessions.
What is Account takeover?
Getting into someone else's account through a flaw in sign-in, password reset, second factor, single sign-on or session handling.