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

Pixlogix_Flexibleforms #84

Open
gwillem opened this issue Mar 31, 2021 · 4 comments
Open

Pixlogix_Flexibleforms #84

gwillem opened this issue Mar 31, 2021 · 4 comments

Comments

@gwillem
Copy link
Collaborator

gwillem commented Mar 31, 2021

FYI we found malicious PHP code in the media/flexibleforms/files/ on two separate installs, one running 2.0.1 (M2) and one running 0.5.0. Should look into the vuln and affected versions (cannot tell if 2.0.1 was compromised or an older version).

Edit: we contacted the vendor last month but they did not reply

@JerVoo
Copy link

JerVoo commented Oct 6, 2021

Pixlogix_Flexibleforms can also be used to inject malicious code into Magento 1 stores, we discovered yesterday.

The extension doesn't have any form of protection against unwanted file uploads. A file can be uploaded using the module's submit actions, which will then be stored in media/flexibleforms/files and will become publicly available. The uploaded file we've discovered, contained an eval() method, which can evaluate PHP code that is posted to the file.

@gwillem
Copy link
Collaborator Author

gwillem commented Oct 6, 2021

@JerVoo thanks for confirmation. Which version are you describing?

@JerVoo
Copy link

JerVoo commented Oct 6, 2021

Every version to be honest. I discovered the vulnerability in v0.7.0, but the latest version (v1.0.13) has still got the same vulnerability built in.

The module doesn't check for allowed file types. In the code there is a reference to a list of allowed file extensions, but it's impossible to define which file extensions are allowed, nor is there a list of allowed extensions defined anywhere in the code.

@gwillem
Copy link
Collaborator Author

gwillem commented Oct 6, 2021

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

2 participants