CVE-2020–29472 Under Construction Page with CPanel 1.0 — SQL injection
The admin login page of Under Construction Page with CPanel 1.0 is vulnerable to SQL injection because user input is not properly sanitised. An attacker can bypass authentication and gain admin panel access without valid credentials.
Published on systemweakness.com
2. Now put below Payload in both the fields( User ID & Password) Payload: admin’ or ‘1’=’1
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 login form builds SQL queries by concatenating user input without parameterisation or sanitisation.
Impact
An attacker could gain access to the admin panel without credentials, which may lead to a data breach.
What the attacker needed
Access to the admin login page
The fix
The text does not state that a fix was applied; it recommends validating user inputs, sanitising data, and using prepared statements with parameterisation.
How it was found
- Open the admin login page.
- Enter the same SQL injection payload in both the User ID and Password fields.
- Submit the form; the server accepts the payload and grants admin access without valid credentials.
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.
SQL injection is a flaw where a website puts user input directly into database commands, so special characters can change what the command does. Here, typing a crafted string into the login form tricks the database into accepting the login without a real password. This gives the attacker the same access as an administrator.
What is SQL injection?
Input reaches a database query as code, letting an attacker read or change data the application never meant to expose.