Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Code injection via pickle module #137

Open
partywavesec opened this issue Jan 28, 2025 · 0 comments
Open

Code injection via pickle module #137

partywavesec opened this issue Jan 28, 2025 · 0 comments

Comments

@partywavesec
Copy link

It's possible to inject code via pickle module by using artifacts from older python2 release.

How to reproduce

  1. Create the payload using pickle
  2. Use module with unsafe load combined with user input, such as medpy_intensity_range_standardization.py
  3. The standard execution will crash probably at the next operations but the injection is triggered at load time

Impact

Code execution and command injection

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant