CVE-2023-36825: Orchid/platform Remote Code Execution Vulnerability
CRITICALCVE-2023-36825 is a CRITICAL (CVSS 9.8) remote code execution vulnerability (CWE-502: Deserialization of Untrusted Data) affecting Orchid/platform libraries in the Packagist ecosystem. The issue involves orchid deserialization of untrusted data vulnerability leads to remote code execution. Remediation is available by upgrading affected packages to version 14.5.0.
CVE-2023-36825 at a Glance
Security Impact
CVSS: 9.8
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:H).
How to Fix CVE-2023-36825
To remediate this vulnerability, upgrade all affected Orchid/platform 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 orchid/platform to 14.5.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for orchid/platform
How to Check if You Are Affected
To determine whether your application is affected by CVE-2023-36825, inspect your project dependencies for Orchid/platform:
inspect dependencies for orchid/platform
Analyze the terminal output to locate any version of Orchid/platform in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 14.5.0), 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-502: Deserialization of Untrusted Data, where the product deserializes untrusted data without sufficiently ensuring that the resulting data will be valid. In Orchid/platform, 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-2023-36825 Affected Orchid/platform Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
orchid/platform
|
Packagist |
≥ 14.0.0-alpha4
< 14.5.0
|
14.5.0
|
References
Frequently Asked Questions
What is CVE-2023-36825?
Which Orchid/platform versions are affected?
What version fixes CVE-2023-36825?
Is orchid/platform affected?
What is the CVSS score of CVE-2023-36825?
What CWE is associated with CVE-2023-36825?
How can I check Packagist dependencies for CVE-2023-36825?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-ph6g-p72v-pc3p",
"modified" : "2023-07-20T14:58:59Z",
"published" : "2023-07-11T22:46:27Z",
"aliases" : [ "CVE-2023-36825" ],
"summary" : "Orchid Deserialization of Untrusted Data vulnerability leads to Remote Code Execution",
"details" : "Orchid is a Laravel package that allows application development of back-office applications, admin/user panels, and dashboards.\n\n### Impact\n\nA vulnerability present starting in version 14.0.0-alpha4 and prior to version 14.5.0 is related to the deserialization of untrusted data from the `_state` query parameter, which can result in remote code execution. This vulnerability is related to the deserialization of untrusted data from the `_state` query parameter, which can result in remote code execution.\n\n### Patches\n\nThe issue has been addressed in version 14.5.0. Users are advised to upgrade their software to this version or any subsequent versions that include the patch. There are no known workarounds.\n\n### Workarounds\n\nIn this case, it is recommended for users to upgrade to the patched version rather than relying on workarounds. Upgrading to the fixed version ensures that the vulnerability is no longer present and provides the best protection against remote code execution\n\n### References\n\nFor more detailed information about this workaround and its effectiveness, users should consult the support channels provided by the software or system developer. They can provide specific guidance on implementing this workaround and any potential limitations or caveats associated with it.\n\n----\n\nThis vulnerability was discovered by Vladislav Gladkiy (Positive Technologies)",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "orchid/platform"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "14.0.0-alpha4"
}, {
"fixed" : "14.5.0"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/orchidsoftware/platform/security/advisories/GHSA-ph6g-p72v-pc3p"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-36825"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/orchidsoftware/platform"
}, {
"type" : "WEB",
"url" : "https://github.com/orchidsoftware/platform/releases/tag/14.5.0"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-502" ],
"severity" : "CRITICAL",
"github_reviewed" : true,
"github_reviewed_at" : "2023-07-11T22:46:27Z",
"nvd_published_at" : "2023-07-11T18:15:20Z"
}
}