CVE-2024-44000 - WordPress Debug Log Exposure Leading to Session Cookie Hijacking
The LiteSpeed Cache plugin for WordPress logged HTTP cookies, including valid admin session cookies, to a publicly accessible debug log file when debug logging was enabled. An unauthenticated attacker could read that log and use a stolen admin cookie to hijack an administrator session.
infosecwriteups.com
Published on infosecwriteups.com
CVE-2024–44000 is an unauthenticated account takeover vulnerability in LiteSpeed Cache, a Wordpress plugin that currently has around 6 million active installations. In LiteSpeed Cache versions prior to 6.5.0.1, when and only when the Debug Logging feature is enabled, the plugin will log cookies from HTTP traffic…
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
An unauthenticated attacker could take over an administrator account, but only on sites where debug logging was enabled and an administrator had generated traffic that was logged.
What the attacker needed
Debug Logging enabled in the plugin; an admin has visited the site while logging was on; the debug log is reachable without authentication
The fix
The vulnerability was fixed in LiteSpeed Cache version 6.5.0.1.
How it was found
- Enable the Debug Logging feature in the LiteSpeed Cache plugin.
- Visit the site as an administrator so the admin cookie is written to the log.
- Request the debug log file from the site without authentication.
- Extract the WordPress logged-in session cookie from the log.
- Use that cookie to access the WordPress admin dashboard.
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.
A WordPress plugin kept a diary file of its activity and wrote down visitors' login cookies in it. That diary file could be opened by anyone on the internet without logging in. If an administrator had visited the site, their cookie was in the diary, and anyone who copied it could pretend to be that administrator.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.