Arbitrary Code Execution via Unsafe Deserialization in LabOne Q
Résumé
Arbitrary Code Execution via Unsafe Deserialization in LabOne Q
Description d'origine
La description telle que publiée par la source (souvent en anglais).
The LabOne Q serialization framework uses a class-loading mechanism (import_cls) to dynamically import and instantiate Python classes during deserialization. Prior to the fix, this mechanism accepted arbitrary fully-qualified class names from the serialized data without any validation of the target class or restriction on which modules could be imported. An attacker can craft a serialized experiment file that causes the deserialization engine to import and instantiate arbitrary Python classes with attacker-controlled constructor arguments, resulting in arbitrary code execution in the context of the user running the Python process. Exploitation requires the victim to load a malicious file using LabOne Q's deserialization functions, for example a compromised experiment file shared for collaboration or support purposes.
Références
- advisory github.com
- advisory nvd.nist.gov
- advisory zhinst.com
- package pypi.org