{"id":"CVE-2024-51992","aliases":["CVE-2024-51992","GHSA-cm46-gqf4-mv4f"],"related":[],"kind":"vulnerability","state":"published","title":"Method Exposure Vulnerability in Modals in orchid/platform","summary":"Orchid is a @laravel package that allows for rapid application development of back-office applications, admin/user panels, and dashboards. This 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. The 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. If upgrading to version 14.43.0 is not immediately possible, users can mitigate the vulnerability by implementing middleware to intercept and validate requests to asynchronous modal endpoints, allowing only approved methods and parameters.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Orchid is a @laravel package that allows for rapid application development of back-office applications, admin/user panels, and dashboards. This 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. The 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. If upgrading to version 14.43.0 is not immediately possible, users can mitigate the vulnerability by implementing middleware to intercept and validate requests to asynchronous modal endpoints, allowing only approved methods and parameters.","source":"cvelist"},{"lang":"en","text":"### 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.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Orchid es un paquete de @laravel que permite el desarrollo rápido de aplicaciones de back-office, paneles de usuario/administrador y tableros de mando. Esta vulnerabilidad es un problema de exposición de métodos (CWE-749: Método o función peligrosos expuestos) en la funcionalidad modal asincrónica de la plataforma Orchid, que afecta a los usuarios de la versión 8 a la 14.42.x de la plataforma Orchid. Los atacantes podrían aprovechar esta vulnerabilidad para llamar a métodos arbitrarios dentro de la clase `Screen`, lo que lleva a un posible ataque por fuerza bruta de las tablas de la base de datos, comprobaciones de validación de las credenciales del usuario y divulgación de la dirección IP real del servidor. El problema se ha corregido en la última versión, la 14.43.0, publicada el 6 de noviembre de 2024. Los usuarios deben actualizar a la versión 14.43.0 o posterior para solucionar esta vulnerabilidad. Si la actualización a la versión 14.43.0 no es posible de inmediato, los usuarios pueden mitigar la vulnerabilidad implementando middleware para interceptar y validar las solicitudes a los endpoints modales asincrónicos, lo que permite solo los métodos y parámetros aprobados.","source":"nvd"}],"published":"2024-11-11T19:17:56.081Z","modified":"2026-06-17T08:06:45.757Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:N/A:N","score":4.1,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:N/A:N","score":4.1,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:N/A:N","score":4.1,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"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","rating":"MEDIUM"}],"cwes":["CWE-749"],"affected":[{"ranges":[{"version":">= 8.0, < 14.43.0","status":"affected"}],"vendor":"orchidsoftware","product":"platform","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"8.0","status":"affected","fixed":"14.43.0"}],"ecosystem":"Packagist","package":"orchid/platform","purl":"pkg:composer/orchid/platform","source":"ghsa"}],"references":[{"url":"https://github.com/orchidsoftware/platform/security/advisories/GHSA-cm46-gqf4-mv4f","tags":["web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-51992","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/orchidsoftware/platform","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-11-12T14:44:58.883Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-51992","url":"https://www.cve.org/CVERecord?id=CVE-2024-51992","licence":"CVE Terms of Use","modified":"2024-11-12T14:45:07.496Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-cm46-gqf4-mv4f","url":"https://github.com/advisories/GHSA-cm46-gqf4-mv4f","licence":"CC-BY-4.0","modified":"2024-12-16T15:52:37.080Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-51992","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-51992","licence":"Public domain","modified":"2026-06-17T08:06:45.757Z"}],"updatedAt":"2026-11-25T22:58:48.047Z","epss":{"score":0.00331,"percentile":0.28301,"date":"2026-12-01T12:00:22.000Z"}}