ImpressCMS <= 1.4.2 (autologin.php) Authentication Bypass Vulnerability
The autologin preload script in ImpressCMS builds a user lookup from a cookie-supplied username and password without properly validating them, so an attacker could log in as another user. The text is truncated and does not show the full exploitation path or confirm success.
karmainsecurity.com
Published on karmainsecurity.com
User input passed through the “autologinuname” and “autologinpass” cookie values is being used at lines 51-54 to fetch an user object from the database, and then at lines 62-63 to check the correctness of the user’s password. The vulnerability exists because of an unsafe way of comparing those parameters, due to…
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
Root cause
Likely the autologin script takes the username and password from a client-controlled cookie and uses them to look up and authenticate a user without adequate validation.
What the attacker needed
ImpressCMS 1.4.2 or earlier; autologin preload enabled
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.
ImpressCMS is a content management system, a program for building websites. This report says a small add-on file that handles automatic logins trusts values sent by the browser too much, which could let someone sign in as a different user. The report is cut off, so the exact way to abuse it is not shown.
What is Access control?
A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.