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

PRP: CVE-2017-12617 - Apache Tomcat RCE via JSP Upload #559

Open
LeonardoE95 opened this issue Dec 6, 2024 · 1 comment
Open

PRP: CVE-2017-12617 - Apache Tomcat RCE via JSP Upload #559

LeonardoE95 opened this issue Dec 6, 2024 · 1 comment
Assignees
Labels
Contributor main The main issue a contributor is working on (top of the contribution queue). PRP:Accepted

Comments

@LeonardoE95
Copy link

LeonardoE95 commented Dec 6, 2024

Hi there.

I would like to implement a plugin to detect an Apache Tomcat RCE (CVE-2017-12617) affecting installation that are configured with readonly set to false.

The issue allows unauthenticated actors to upload a JSP file to the server via a specially crafted request. This JSP could then be requested and any code it contained would be executed by the server.

Initially the vulnerability was found in the context of windows (CVE-2017-12615), and later it was discovered as a more widespread issue, affecting all operating systems that run Apache Tomcat with vulnerable versions (CVE-2017-12617).

References:
https://nvd.nist.gov/vuln/detail/cve-2017-12617
https://www.exploit-db.com/exploits/42966
https://nvd.nist.gov/vuln/detail/cve-2017-12615

Affected Versions of Apache Tomcat
7.0.0 to 7.0.81
8.0.0 RC1 to 8.0.46
8.5.0 to 8.5.22
9.0.0 M1 to 9.0.0

Thanks.

@maoning maoning added PRP:Accepted Contributor main The main issue a contributor is working on (top of the contribution queue). labels Dec 9, 2024
@maoning
Copy link
Collaborator

maoning commented Dec 9, 2024

@LeonardoE95 You can start working on this plugin now, please link the PR to this issue once it is ready.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Contributor main The main issue a contributor is working on (top of the contribution queue). PRP:Accepted
Projects
None yet
Development

No branches or pull requests

2 participants