Title: AdCycle AdLogin.pm Admin Autentication Bypass Vulnerability
Severity: HIGH
Description:
AdCycle is a series of scripts to facilitate ad banner rotation on a website. It is backended with a MySQL database. Adcycle is distributed as shareware.
AdLogin.pm is the user authentication script that comes bundled with AdCycle.
Unchecked user-input is included in SQL queries. It is possible for attackers to construct input that will alter the logic of the query that is using during the authentication process.
This is the format of the command AdLogin.pm uses to authenticate users:
"SELECT * FROM ad WHERE LOGIN='$account' AND PASSWORD='$password'"
The remote attacker would need to craft a URL with 'ADMIN' as the $account and 'X' OR 1 #' as the $password argument. This will alter the logic of the query and cause a response that will trick the service into thinking that the user has already authenticated.
If exploited the attacker would have all the privileges of an administrator of the AdCycle service, including the ability to change ad banners.
Affected Products:
- Adcycle.com Adcycle 0.77.0
- Adcycle.com Adcycle 0.77.0b
- Adcycle.com Adcycle 0.78.0b
- Adcycle.com Adcycle 1.0.0
- Adcycle.com Adcycle 1.12.0
- Adcycle.com Adcycle 1.13.0
- Adcycle.com Adcycle 1.14.0
- Adcycle.com Adcycle 1.15.0
References:
- Adcycle.com: Adcycle homepage
Juniper Networks provides this content via a wide variety of sources and production methods. If notified of errors or omissions in the content of this page, Juniper Networks, at its discretion, will modify or remove the page or leave the content as is, depending on various factors including but not limited to the reputation and authority of the party providing the notification. Please use the contact information displayed elsewhere on this page to report any errors or omissions regarding the content on this page.