CVE-2020–29474 EgavilanMedia Address Book 1.0 Exploit — SQLi Auth Bypass
The login form of EgavilanMedia Address Book 1.0 is vulnerable to SQL injection, allowing an attacker to bypass authentication and gain admin panel access without credentials. This could lead to a data breach.
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 application builds SQL queries by concatenating user input without proper sanitisation or parameterisation.
Impact
An attacker could gain access to the admin panel without credentials, which could lead to a data breach.
What the attacker needed
Access to the login page
The fix
The application should validate and sanitise user input and use prepared statements with parameterisation.
How it was found
- Open the admin login page.
- Enter the same malicious SQL string in both the User ID and Password fields.
- Submit the form; the server accepts it 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.
The login page checks your username and password by inserting them directly into a database command. An attacker can type special characters that trick the database into ignoring the password check, so they get in without knowing any real login details.
What is SQL injection?
Input reaches a database query as code, letting an attacker read or change data the application never meant to expose.