CVE-2021-26830: Tribalsystems/zenario SQL Injection Vulnerability
CRITICALCVE-2021-26830 is a CRITICAL (CVSS 9.1) sql injection vulnerability (CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')) affecting Tribalsystems/zenario libraries in the Packagist ecosystem. The issue involves sql injection in tribalsystems/zenario. Remediation is available by upgrading affected packages to version 8.8.53370.
CVE-2021-26830 at a Glance
Security Impact
CVSS: 9.1
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N).
How to Fix CVE-2021-26830
To remediate this vulnerability, upgrade all affected Tribalsystems/zenario dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade tribalsystems/zenario to 8.8.53370
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for tribalsystems/zenario
How to Check if You Are Affected
To determine whether your application is affected by CVE-2021-26830, inspect your project dependencies for Tribalsystems/zenario:
inspect dependencies for tribalsystems/zenario
Analyze the terminal output to locate any version of Tribalsystems/zenario in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 8.8.53370), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection'), where the product constructs all or part of an sql command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended sql command when it is sent to a downstream component. without sufficient removal or quoting of sql syntax in user-controllable inputs, the generated sql query can cause those inputs to be interpreted as sql instead of ordinary user data. In Tribalsystems/zenario, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2021-26830 Affected Tribalsystems/zenario Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
tribalsystems/zenario
|
Packagist |
< 8.8.53370
|
8.8.53370
|
References
Frequently Asked Questions
What is CVE-2021-26830?
Which Tribalsystems/zenario versions are affected?
What version fixes CVE-2021-26830?
Is tribalsystems/zenario affected?
What is the CVSS score of CVE-2021-26830?
What CWE is associated with CVE-2021-26830?
How can I check Packagist dependencies for CVE-2021-26830?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-w4f3-7f7c-x652",
"modified" : "2022-03-18T17:49:01Z",
"published" : "2022-03-18T17:49:01Z",
"aliases" : [ "CVE-2021-26830" ],
"summary" : "SQL Injection in tribalsystems/zenario ",
"details" : "SQL Injection in Tribalsystems Zenario CMS 8.8.52729 and prior allows remote attackers to access the database or delete the plugin. This is accomplished via the `ID` input field of ajax.php in the `Pugin library - delete` module.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "tribalsystems/zenario"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "8.8.53370"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2021-26830"
}, {
"type" : "WEB",
"url" : "https://github.com/TribalSystems/Zenario/commit/2c82a4d126c8446106347ef603b157f2d4175fd1"
}, {
"type" : "WEB",
"url" : "https://edhunter484.medium.com/blind-sql-injection-on-zenario-cms-b58b6820c32d"
}, {
"type" : "WEB",
"url" : "https://github.com/TribalSystems/Zenario/releases/tag/8.8.53370"
}, {
"type" : "WEB",
"url" : "https://www.exploit-db.com/exploits/49642"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-89" ],
"severity" : "CRITICAL",
"github_reviewed" : true,
"github_reviewed_at" : "2021-05-06T22:39:06Z",
"nvd_published_at" : "2021-04-16T18:15:00Z"
}
}