9.8critical
OpenCATS through 0.9.5-3 unsafely deserializes index.php?m=activity requests, leading to remote code execution.
- Severity
- 9.8critical CVSS:3.1 by NVD
- Exploit likelihood
- 11.3% (higher than 96% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
Description
OpenCATS through 0.9.5-3 unsafely deserializes index.php?m=activity requests, leading to remote code execution. This occurs because lib/DataGrid.php calls unserialize for the parametersactivity:ActivityDataGrid parameter. The PHP object injection exploit chain can leverage an __destruct magic method in guzzlehttp.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| opencats opencats | up to 0.9.5-3 | NVD |
All scores
| NVD | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 10.0high CVSS:2.0 | AV:N/AC:L/Au:N/C:C/I:C/A:C |
Classification
What each source says
CVE List
OpenCATS through 0.9.5-3 unsafely deserializes index.php?m=activity requests, leading to remote code execution. This occurs because lib/DataGrid.php calls unserialize for the parametersactivity:ActivityDataGrid parameter. The PHP object injection exploit chain can leverage an __destruct magic method in guzzlehttp.
NVD (es)
OpenCATS versiones hasta 0.9.5-3, deserializa de manera no segura unas peticiones index.php?m=activity, conllevando a una ejecución de código remota. Esto ocurre porque la biblioteca lib/DataGrid.php llama sin serializar para el parámetro parametersactivity:ActivityDataGrid. La cadena de explotación de la inyección de objetos PHP puede explotar un método mágico __destruct en guzzlehttp
References
| https://snoopysecurity.github.io/web-application-security/2021/01/16/09_opencats_php_object_injection.html | exploit, third-party-advisory | |
| https://github.com/snoopysecurity/snoopysecurity.github.io/blob/master/web-application-security/2021/01/16/09_opencats_php_object_injection.html | patch, third-party-advisory | |
| https://www.opencats.org/news/ | vendor-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-25294 changed 2024-08-03 | CVE Terms of Use |
| NVD | CVE-2021-25294 changed 2026-06-17 | Public domain |