CVE-2020-36541 Demokratian genera_select.php sql injection
Remote attackers can exploit SQL injection in genera_select.php to read database contents via the id_provincia parameter.
- 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-36541?
CVE-2020-36541 is a high-severity SQL injection vulnerability in unspecified Demokratian, published on 3 Jun 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
A vulnerability was found in Demokratian. It has been rated as critical. Affected by this issue is some unknown functionality of the file basicos_php/genera_select.php. The manipulation of the argument id_provincia with the input -1%20union%20all%20select%201,2,3,4,database() leads to sql injection. The attack may be launched remotely. The exploit has been disclosed to the public and may be used. It is recommended to apply a patch to fix this issue.
Weakness: CWE-89
Which versions are affected by CVE-2020-36541?
It affects 1 product.
Products include Demokratian Demokratian.
How do I fix CVE-2020-36541?
No fix has been published for CVE-2020-36541 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-36541 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2020-36541 exists.
Other vulnerabilities in unspecified Demokratian
Sources
Also known as GHSA-9v5f-wr25-h3pf.