CVE-2024-51992: Orchid/platform Orchid Platform Has Method Exposure Vulnerability
MODERATECVE-2024-51992 is a MODERATE (CVSS 4.1) orchid platform has method exposure vulnerability (CWE-749: Exposed Dangerous Method or Function) affecting Orchid/platform libraries in the Packagist ecosystem. The issue involves orchid platform has method exposure vulnerability in modals. Remediation is available by upgrading affected packages to version 14.43.0.
CVE-2024-51992 at a Glance
Security Impact
CVSS: 4.1
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:C/C:L/I:N/A:N).
How to Fix CVE-2024-51992
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.43.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-2024-51992, 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.43.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-749: Exposed Dangerous Method or Function, where the product provides an applications programming interface (api) or similar interface for interaction with external actors, but the interface includes a dangerous method or function that is not properly restricted. 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-2024-51992 Affected Orchid/platform Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
orchid/platform
|
Packagist |
≥ 8.0
< 14.43.0
|
14.43.0
|
References
Frequently Asked Questions
What is CVE-2024-51992?
Which Orchid/platform versions are affected?
What version fixes CVE-2024-51992?
Is orchid/platform affected?
What is the CVSS score of CVE-2024-51992?
What CWE is associated with CVE-2024-51992?
How can I check Packagist dependencies for CVE-2024-51992?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-cm46-gqf4-mv4f",
"modified" : "2024-12-16T15:27:59Z",
"published" : "2024-11-12T19:56:54Z",
"aliases" : [ "CVE-2024-51992" ],
"summary" : "Orchid Platform has Method Exposure Vulnerability in Modals",
"details" : "### Impact\nThis vulnerability is a method exposure issue (CWE-749: Exposed Dangerous Method or Function) in the Orchid Platform’s asynchronous modal functionality, affecting users of Orchid Platform version 8 through 14.42.x. Attackers could exploit this vulnerability to call arbitrary methods within the `Screen` class, leading to potential brute force of database tables, validation checks against user credentials, and disclosure of the server’s real IP address.\n\n### Patches\nThe issue has been patched in the latest release, version 14.43.0, released on November 6, 2024. Users should upgrade to version 14.43.0 or later to address this vulnerability.\n\n### Workarounds\nIf upgrading to version 14.43.0 is not immediately possible, you can mitigate the vulnerability by implementing middleware to intercept and validate requests to asynchronous modal endpoints, allowing only approved methods and parameters.\n\n\nExample middleware:\n\n```php\nnamespace App\\Http\\Middleware;\n\nuse Closure;\nuse Illuminate\\Http\\Request;\nuse Symfony\\Component\\HttpFoundation\\Response;\n\nclass PreventBruteForceOnAsyncRoute\n{\n /**\n * Methods that are restricted from being invoked via the async route.\n */\n protected array $restrictedMethods = [\n 'validate',\n 'handle',\n '__invoke',\n 'validateWith',\n 'validateWithBag',\n 'callAction',\n ];\n\n /**\n * Handle an incoming request.\n */\n public function handle(Request $request, Closure $next): Response\n {\n // Retrieve the current route from the request.\n /** @var \\Illuminate\\Routing\\Route|null $route */\n $route = $request->route();\n\n // Allow requests to routes other than \"platform.async\".\n if ($route?->getName() !== 'platform.async') {\n return $next($request);\n }\n\n // Block requests attempting to invoke any of the restricted methods.\n if (in_array($route->parameter('method'), $this->restrictedMethods)) {\n abort(503, sprintf(\n 'Access to the \"%s\" method is restricted.',\n $route->parameter('method')\n ));\n }\n\n // Continue request processing for other cases.\n return $next($request);\n }\n}\n```\n\n### References\n- [CWE-749: Exposed Dangerous Method or Function](https://cwe.mitre.org/data/definitions/749.html)\n\n### Acknowledgements\n\nWe would like to extend our sincere gratitude to **Positive Technologies** and researcher **Vladislav Gladky** for identifying the vulnerability and their significant contribution to enhancing the security of our platform. Their expertise and dedication play a crucial role in making **Orchid** more reliable and secure for all users.\n",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:N/A:N"
}, {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:L/VI:N/VA:N/SC:L/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "orchid/platform"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "8.0"
}, {
"fixed" : "14.43.0"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/orchidsoftware/platform/security/advisories/GHSA-cm46-gqf4-mv4f"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-51992"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/orchidsoftware/platform"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-749" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2024-11-12T19:56:54Z",
"nvd_published_at" : "2024-11-11T20:15:19Z"
}
}