LiveActive security incident?Get immediate response
CVE Record

CVE-2020-36541: Demokratian genera_select.php sql injection

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.

HighCVSS 7.3Not KEV-listedUpdated
Glexia's TakeAutomated analysishigh

Security readout for executives and security teams

Plain-English summary

CVE-2020-36541 is a SQL injection issue in Demokratian. A remotely reachable file can accept manipulated input that may let an unauthenticated attacker affect database confidentiality, integrity, and availability. Public exploit information exists, but the provided sources do not show confirmed active exploitation.

Executive priority

Treat this as a high-priority internet exposure issue if Demokratian is deployed. The business risk is unauthorized database access or tampering, with incomplete version information increasing the need for direct asset validation.

Technical view

The issue is CWE-89 in basicos_php/genera_select.php, where id_provincia input is not safely handled. The CVSS 3.1 score is 7.3 with network attack vector, low complexity, no privileges, and no user interaction. A referenced project commit appears related to remediation, but affected versions are not specified.

Likely exposure

Exposure is limited to organizations running Demokratian with the vulnerable basicos_php/genera_select.php endpoint reachable, especially internet-facing deployments. The source bundle does not identify exact affected versions, package names, or CPEs.

Exploitation context

The vulnerability is remotely exploitable and public exploit details have been disclosed. CISA KEV status is false in the provided bundle, and no cited source confirms active exploitation in the wild.

Researcher notes

Evidence supports SQL injection in id_provincia within basicos_php/genera_select.php. The bundle states public disclosure and possible use, not confirmed exploitation. Version scope is weak, so validation should focus on code presence, endpoint reachability, and whether the referenced commit is applied.

Mitigation direction

  • Apply the referenced Demokratian project patch or current vendor guidance after testing.
  • If patch status is unclear, restrict public access to genera_select.php.
  • Review database input handling for parameterized queries around id_provincia.
  • Monitor application and database logs for suspicious requests to the endpoint.
  • Track upstream Demokratian advisories because affected versions are not specified.

Validation and detection

  • Inventory systems running Demokratian and identify public-facing instances.
  • Check whether basicos_php/genera_select.php exists in deployed source.
  • Verify deployed code includes the referenced Bitbucket remediation commit or later fix.
  • Review logs for abnormal id_provincia values and database error patterns.
  • Confirm tests cover request handling for invalid id_provincia input.
Prepared
Confidence
medium
Sources
5

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · medium confidence lookup

CWE-89: Database access and collection lookup

Injection into data stores can inform collection, data access, and exfiltration detection reviews. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
description · low confidence lookup

Database behavior lookup

The CVE wording references database injection or access, so collection and exfiltration review may help. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2020-36541 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
High
CVSS
7.3 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
0Timeline events
0ADP providers
4Source links

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
7.3CVSS 3.1HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L3.93.4Primary CVE score

Vulnerability scoring details

Base CVSS 3.1 score

7.3High
CVSS 3.1 vector shape for CVE-2020-36541Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
unspecifiedDemokratiann/aListed
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-89 · source CWE mapping

Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.