CVE-2020-25905 SQL injection in n/a
An attacker can inject SQL commands via the email parameter in login pages to read or modify database contents.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2020-25905?
CVE-2020-25905 is a critical SQL injection vulnerability in n/a, published on 28 Jan 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
An SQL Injection vulnerabilty exists in Sourcecodester Mobile Shop System in PHP MySQL 1.0 via the email parameter in (1) login.php or (2) LoginAsAdmin.php.
Weakness: CWE-89
Which versions are affected by CVE-2020-25905?
It affects 1 product.
Products include Mobile Shop System Project Mobile Shop System.
How do I fix CVE-2020-25905?
No fix has been published for CVE-2020-25905 yet. Limit exposure of the affected software until one is available.
Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.
Is CVE-2020-25905 being exploited?
There is no known exploitation of CVE-2020-25905 in the wild and no public exploit code.
Sources
Also known as CVE-2021-34248, GHSA-jfmq-hh39-4vh8.