CVE-2021-30177 SQL injection in n/a
SQL injection in PHP-Nuke user registration allows remote code execution due to lack of input validation on state and order fields.
- 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-2021-30177?
CVE-2021-30177 is a critical SQL injection vulnerability in n/a, published on 7 Apr 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
There is a SQL Injection vulnerability in PHP-Nuke 8.3.3 in the User Registration section, leading to remote code execution. This occurs because the U.S. state is not validated to be two letters, and the OrderBy field is not validated to be one of LASTNAME, CITY, or STATE.
Weakness: CWE-89
Which versions are affected by CVE-2021-30177?
It affects 1 product.
Products include Phpnuke Php-Nuke.
How do I fix CVE-2021-30177?
No fix has been published for CVE-2021-30177 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-2021-30177 being exploited?
There is no known exploitation of CVE-2021-30177 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as GHSA-cfw4-5vqw-v9c4.