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

Arbitrary file upload vulnerability #4

Open
yazi7 opened this issue Apr 8, 2022 · 1 comment
Open

Arbitrary file upload vulnerability #4

yazi7 opened this issue Apr 8, 2022 · 1 comment

Comments

@yazi7
Copy link

yazi7 commented Apr 8, 2022

Affected version:<=1.2
Upload a compromised file with the suffix .php
image
Published successfully
image
Vulnerable code:
image
The reason for the vulnerability is that the file suffix is not filtered here

@DavideArcolini
Copy link

Hello @yazi7, I was reviewing your issue and the related CVE-2022-29001. It appears to me that, while uploading a .php file works fine (as the CVE is indeed an arbitrary file upload vulnerability), the file cannot be executed by the Apache Tomcat/9.0.16 Web Engine, which does not natively support PHP execution (as it requires a third-party plugin or a bridge like Apache Tomcat Connectors).

Can you please provides more insights on the file uploading vulnerability you found?

Thanks in advance.

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