Unauthenticated open redirect via unvalidated form action
Published Jun 27, 2024 · Updated Aug 1, 2024
Open redirect in Contact Form 7 before 5.9.5 allows remote attackers to send form submitters to an attacker-chosen site. The form_html method accepts the request URI through wpcf7_form_action_url and emits it as the form action without enforcing a same-origin destination. No authentication is required, but JavaScript must be disabled and a user must submit an exposed contact form for the redirect to occur.
Summary
What happened
Open redirect in Contact Form 7 before 5.9.5 allows remote attackers to send form submitters to an attacker-chosen site. The form_html method accepts the request URI through wpcf7_form_action_url and emits it as the form action without enforcing a same-origin destination. No authentication is required, but JavaScript must be disabled and a user must submit an exposed contact form for the redirect to occur.
The record
- CVE
- CVE-2024-4704
- Published
- Jun 27, 2024
- Updated
- Aug 1, 2024
- Vendor
- Rock Lobster Inc.
- Product
- Contact Form 7
- Classifications
- CWE-601
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Jun 27, 2024CVE publishedPublication date reported by the CVE source.
- Aug 1, 2024Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=0 <5.9.5
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- WPScan no-JavaScript form-submission proof of conceptproof of concept · validated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo