CVE-2021-27672: Tribalsystems/zenario SQL Injection Vulnerability
MODERATECVE-2021-27672 is a MODERATE (CVSS 4.9) 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-27672 at a Glance
Security Impact
CVSS: 4.9
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N).
How to Fix CVE-2021-27672
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-27672, 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-27672 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-27672?
Which Tribalsystems/zenario versions are affected?
What version fixes CVE-2021-27672?
Is tribalsystems/zenario affected?
What is the CVSS score of CVE-2021-27672?
What CWE is associated with CVE-2021-27672?
How can I check Packagist dependencies for CVE-2021-27672?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-gxcm-36qw-j29v",
"modified" : "2021-05-07T16:03:29Z",
"published" : "2021-06-08T20:12:02Z",
"aliases" : [ "CVE-2021-27672" ],
"summary" : "SQL Injection in tribalsystems/zenario",
"details" : "SQL Injection in the \"admin_boxes.ajax.php\" component of Tribal Systems Zenario CMS v8.8.52729 allows remote attackers to obtain sesnitive database information by injecting SQL commands into the \"cID\" parameter when creating a new HTML component.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/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-27672"
}, {
"type" : "WEB",
"url" : "https://github.com/TribalSystems/Zenario/commit/2c82a4d126c8446106347ef603b157f2d4175fd1"
}, {
"type" : "WEB",
"url" : "https://deadsh0t.medium.com/blind-error-based-authenticated-sql-injection-on-zenario-8-8-52729-cms-d4705534df38"
}, {
"type" : "WEB",
"url" : "https://github.com/TribalSystems/Zenario/releases/tag/8.8.53370"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-89" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2021-05-07T16:03:29Z",
"nvd_published_at" : "2021-04-15T14:15:00Z"
}
}