Custom Contact Forms <= 7.16 - Missing Authorization to Authenticated (Contributor+) Arbitrary Post Deletion and Post Meta Modification via Nested 'fields[].ID' / 'choices[].ID' Parameters
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
- Exploitation: none
- Automatable: no
- Technical impact: partial
Summary
The Custom Contact Forms plugin for WordPress is vulnerable to authorization bypass in all versions up to, and including, 7.16. This is due to the plugin not properly verifying that a user is authorized to perform an action. This makes it possible for authenticated attackers, with contributor-level access and above, to permanently force-delete arbitrary posts of any post type (including pages, administrator-authored posts, and WooCommerce products) and write arbitrary ccf_field_* post meta onto any post regardless of ownership or post type. The top-level form ID is checked via edit_post/publish_posts, but the nested fields[].ID and choices[].ID paths processed by _create_and_map_fields() and _create_and_map_choices() carry no equivalent capability or post-type guard, leaving those sinks fully exposed while delete_item() and delete_submission() contain explicit post-type restriction fixes demonstrating the developer's awareness of scoping requirements.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: partial
- Record last updated
Affected versions
- outlawgt Custom Contact Forms
through 7.16
References 14
plugins.trac.wordpress.org
- browser/custom-contact-forms/tags/7.15.0/classes/class-ccf-api-form-controller.php#L291
- browser/custom-contact-forms/tags/7.15.2/classes/class-ccf-api-form-controller.php#L291
- browser/custom-contact-forms/tags/7.15.2/classes/class-ccf-api-form-controller.php#L336
- browser/custom-contact-forms/tags/7.15.2/classes/class-ccf-api-form-controller.php#L360
- browser/custom-contact-forms/tags/7.15.2/classes/class-ccf-api-form-controller.php#L1026
- browser/custom-contact-forms/tags/7.15.2/classes/class-ccf-api-form-controller.php#L993
- browser/custom-contact-forms/tags/7.15.2/classes/class-ccf-api-form-controller.php#L977
- browser/custom-contact-forms/tags/7.15.0/classes/class-ccf-api-form-controller.php#L336
- browser/custom-contact-forms/tags/7.15.0/classes/class-ccf-api-form-controller.php#L360
- browser/custom-contact-forms/tags/7.15.0/classes/class-ccf-api-form-controller.php#L1026
- browser/custom-contact-forms/tags/7.15.0/classes/class-ccf-api-form-controller.php#L993
- browser/custom-contact-forms/tags/7.15.0/classes/class-ccf-api-form-controller.php#L977
- changeset?reponame=&old=3669565%40custom-contact-forms&new=3669565%40custom-contact-forms