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

[Vulnerability] Code exection via markdown preview #639

Open
yuriisanin opened this issue Nov 22, 2022 · 1 comment
Open

[Vulnerability] Code exection via markdown preview #639

yuriisanin opened this issue Nov 22, 2022 · 1 comment

Comments

@yuriisanin
Copy link

Video PoC for VSCode on YouTube:
PoC

Original issue: shd101wyy/mume, OS command injection in PDF import functionality

STR (please, note that the following PoC works for OS X it might be different for Linux or Windows):

  1. Create a document with a following content @import "$(open -a Calculator > /dev/null | exit 0)hello.pdf
  2. In VSCode/Atom open document preview using the plugin.
  3. Calculator program should appear on the screen.
@yuriisanin
Copy link
Author

Assigned CVE-2022-45025

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