CVE-2024-6316 Generate PDF using Contact Form 7 <= 4.1.2 - Cross-Site Request Forgery to Arbitrary File Upload
Unauthenticated attackers can upload arbitrary files via CSRF, potentially leading to remote code execution on WordPress sites using this plugin.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2024-6316?
CVE-2024-6316 is a high-severity vulnerability in zealopensource Generate PDF using Contact Form 7, published on 9 Jul 2024. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
The Generate PDF using Contact Form 7 plugin for WordPress is vulnerable to Cross-Site Request Forgery to Arbitrary File Upload in versions up to, and including, 4.1.2. This is due to missing nonce validation and missing file type validation in the 'wp_cf7_pdf_dashboard_html_page' function. This makes it possible for unauthenticated attackers to upload arbitrary files on the affected site's server which may make remote code execution possible via a forged request granted they can trick a site administrator into performing an action such as clicking on a link. CVE-2024-37555 is a duplicate of this issue.
Weakness: CWE-352
Which versions are affected by CVE-2024-6316?
It affects 1 product.
Products include Zealousweb Generate Pdf Using Contact Form 7.
How do I fix CVE-2024-6316?
No fix has been published for CVE-2024-6316 yet. Limit exposure of the affected software until one is available.
Is CVE-2024-6316 being exploited?
There is no known exploitation of CVE-2024-6316 in the wild and no public exploit code.
Other vulnerabilities in zealopensource Generate PDF using Contact Form 7
- CVE-2024-37555 WordPress Generate PDF using Contact Form 7 plugin <= 4.1.2 - CSRF to Arbitrary File Upload vulnerability
- CVE-2024-6317 Generate PDF using Contact Form 7 <= 4.1.2 - Cross-Site Request Forgery to Arbitrary File Deletion
- CVE-2022-3070 Generate PDF using Contact Form 7 < 3.6 - Admin+ Stored Cross-Site Scripting
Sources
Also known as GHSA-chw9-726p-m659.