Gravity Forms <= 2.9.20 - Unauthenticated Arbitrary File Upload via 'copy_post_image'
No fixed version listed yet.Check the vendor advisory. References ↓
Gravity Forms · Gravity Forms
The Gravity Forms WordPress plugin, in all versions up to and including 2.9.20, lacks file type validation in its copy_post_image() function, which allows arbitrary file uploads. An unauthenticated attacker with network access can exploit this to place files on the server, potentially enabling remote code execution, but only where allow_url_fopen is On and a post creation form with a file upload field is enabled.
Official description · CVE.org
The Gravity Forms plugin for WordPress is vulnerable to arbitrary file uploads due to missing file type validation in the copy_post_image() function in all versions up to, and including, 2.9.20. This makes it possible for unauthenticated attackers to upload arbitrary files on the affected site's server which may make remote code execution possible. This only impacts sites that have allow_url_fopen set to `On`, the post creation form enabled along with a file upload field for the post
- Exploited
- Yes, in VulnCheck KEV
- Reports
- 0
- Tactics
- 0/15
Exploitation timelineDated milestones for a CVE: when it was disclosed, when exploit code became public, when exploitation was confirmed, and when threat reports named it.
First seen exploited 8 months after disclosure.
- Disclosedday 0
- First seen exploitedVulnCheck KEV evidence+8 mo
Affected versions and fixes
as published in the CVE recordGravity Forms Gravity Forms
Affected: <= 2.9.20
What security researchers reported
Not named in any threat report yetAlso mentioned in 2 community threat pulses (AlienVault OTX)
Weaker evidencePulses are indicator collections that anyone can publish. A mention is not confirmation of exploitation.