CVE-2022-37333: Exceedone/exment SQL Injection Vulnerability
HIGHCVE-2022-37333 is a HIGH (CVSS 8.8) sql injection vulnerability (CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')) affecting Exceedone/exment libraries in the Packagist ecosystem. The issue involves exceedone/exment and exceedone/laravel-admin sql injection vulnerability. Remediation is available by upgrading affected packages to version 5.0.3, 4.4.3, 2.2.3, 3.0.1.
CVE-2022-37333 at a Glance
Security Impact
CVSS: 8.8
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H).
How to Fix CVE-2022-37333
To remediate this vulnerability, upgrade all affected Exceedone/exment 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 exceedone/exment to 5.0.3
Upgrade exceedone/exment to 4.4.3
Upgrade exceedone/laravel-admin to 2.2.3
Upgrade exceedone/laravel-admin to 3.0.1
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for exceedone/exment
How to Check if You Are Affected
To determine whether your application is affected by CVE-2022-37333, inspect your project dependencies for Exceedone/exment:
inspect dependencies for exceedone/exment
Analyze the terminal output to locate any version of Exceedone/exment in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 5.0.3), 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 Exceedone/exment, 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-37333 Affected Exceedone/exment Versions
4 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
exceedone/exment
|
Packagist |
≥ 5.0.0
< 5.0.3
|
5.0.3
|
|
exceedone/exment
|
Packagist |
< 4.4.3
|
4.4.3
|
|
exceedone/laravel-admin
|
Packagist |
< 2.2.3
|
2.2.3
|
|
exceedone/laravel-admin
|
Packagist |
≥ 3.0.0
< 3.0.1
All 1 versions
3.0.0
|
3.0.1
|
References
Frequently Asked Questions
What is CVE-2022-37333?
Which Exceedone/exment versions are affected?
What version fixes CVE-2022-37333?
Is exceedone/exment affected?
Is exceedone/laravel-admin affected?
What is the CVSS score of CVE-2022-37333?
What CWE is associated with CVE-2022-37333?
How can I check Packagist dependencies for CVE-2022-37333?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-p74q-2pf8-j5jx",
"modified" : "2022-09-16T18:47:21Z",
"published" : "2022-08-25T00:00:29Z",
"aliases" : [ "CVE-2022-37333" ],
"summary" : "exceedone/exment and exceedone/laravel-admin SQL Injection vulnerability",
"details" : "SQL injection vulnerability in the Exment ((PHP8) exceedone/exment v5.0.2 and earlier and exceedone/laravel-admin v3.0.0 and earlier, (PHP7) exceedone/exment v4.4.2 and earlier and exceedone/laravel-admin v2.2.2 and earlier) allows remote authenticated attackers to execute arbitrary SQL commands.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "exceedone/exment"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "5.0.0"
}, {
"fixed" : "5.0.3"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "exceedone/exment"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "4.4.3"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "exceedone/laravel-admin"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "2.2.3"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "exceedone/laravel-admin"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "3.0.0"
}, {
"fixed" : "3.0.1"
} ]
} ],
"versions" : [ "3.0.0" ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2022-37333"
}, {
"type" : "WEB",
"url" : "https://exment.net/docs/#/release_note?id=v503-20220817"
}, {
"type" : "WEB",
"url" : "https://exment.net/docs/#/weakness/20220817"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/exceedone/exment"
}, {
"type" : "WEB",
"url" : "https://jvn.jp/en/jp/JVN46239102/index.html"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-89" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2022-09-16T18:47:21Z",
"nvd_published_at" : "2022-08-24T09:15:00Z"
}
}