CVE-2022-23043: Tribalsystems/zenario File Upload Restriction Bypass Vulnerability
HIGHCVE-2022-23043 is a HIGH (CVSS 7.2) file upload restriction bypass vulnerability (CWE-434: Unrestricted Upload of File with Dangerous Type) affecting Tribalsystems/zenario libraries in the Packagist ecosystem. The issue involves file upload restriction bypass in zenario cms. Remediation is available by upgrading affected packages to version 9.2.55826.
CVE-2022-23043 at a Glance
Security Impact
CVSS: 7.2
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:H/A:H).
How to Fix CVE-2022-23043
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 9.2.55826
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-2022-23043, 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 9.2.55826), 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-434: Unrestricted Upload of File with Dangerous Type, where the product allows the upload or transfer of dangerous file types that are automatically processed within its environment. 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-2022-23043 Affected Tribalsystems/zenario Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
tribalsystems/zenario
|
Packagist |
< 9.2.55826
|
9.2.55826
|
References
Frequently Asked Questions
What is CVE-2022-23043?
Which Tribalsystems/zenario versions are affected?
What version fixes CVE-2022-23043?
Is tribalsystems/zenario affected?
What is the CVSS score of CVE-2022-23043?
What CWE is associated with CVE-2022-23043?
How can I check Packagist dependencies for CVE-2022-23043?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-6r86-2jm9-9mh4",
"modified" : "2022-03-04T21:39:12Z",
"published" : "2022-02-25T00:01:07Z",
"aliases" : [ "CVE-2022-23043" ],
"summary" : "File upload restriction bypass in Zenario CMS",
"details" : "Zenario CMS 9.2 allows an authenticated admin user to bypass the file upload restriction by creating a new 'File/MIME Types' using the '.phar' extension. Then an attacker can upload a malicious file, intercept the request and change the extension to '.phar' in order to run commands on the server.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "tribalsystems/zenario"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "9.2.55826"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2022-23043"
}, {
"type" : "WEB",
"url" : "https://github.com/TribalSystems/Zenario/commit/f0682d22688d9921dc0dfd6e858900ebf2706f19"
}, {
"type" : "WEB",
"url" : "https://fluidattacks.com/advisories/simone"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/TribalSystems/Zenario"
}, {
"type" : "WEB",
"url" : "https://github.com/TribalSystems/Zenario/releases/tag/9.2.55826"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-434" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2022-02-25T17:55:05Z",
"nvd_published_at" : "2022-02-24T15:15:00Z"
}
}