Kali Forms <= 2.4.20 - Unauthenticated Remote Code Execution via 'thisPermalink' Field Parameter
- 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: total
Summary
The Kali Forms — Contact Form & Drag-and-Drop Builder plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 2.4.20 via the _save_data function. This is due to insufficient validation of the 'thisPermalink' field value before it overwrites a trusted callable placeholder, allowing attacker-controlled strings to reach call_user_func() in _save_data(). This makes it possible for unauthenticated attackers to execute code on the server. Exploitation requires the target form to define a field with a name matching one of the reserved placeholder keys ('thisPermalink', 'entryCounter', or 'submission_link'), as check_if_placeholders_changed() only processes POST keys present in the form's field_type_map.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: total
- Record last updated
Affected versions
- wpchill Kali Forms — Contact Form & Drag-and-Drop Builder
through 2.4.20
References 12
plugins.trac.wordpress.org
- browser/kali-forms/tags/2.4.20/Inc/Frontend/class-form-processor.php#L1033
- browser/kali-forms/tags/2.4.20/Inc/Frontend/class-form-processor.php#L172
- browser/kali-forms/tags/2.4.20/Inc/Frontend/class-form-processor.php#L277
- browser/kali-forms/tags/2.4.20/Inc/Frontend/class-form-processor.php#L976
- browser/kali-forms/tags/2.4.20/Inc/Frontend/class-form-processor.php#L90
- browser/kali-forms/tags/2.4.19/Inc/Frontend/class-form-processor.php#L1033
- browser/kali-forms/tags/2.4.19/Inc/Frontend/class-form-processor.php#L172
- browser/kali-forms/tags/2.4.19/Inc/Frontend/class-form-processor.php#L277
- browser/kali-forms/tags/2.4.19/Inc/Frontend/class-form-processor.php#L976
- browser/kali-forms/tags/2.4.19/Inc/Frontend/class-form-processor.php#L90
- changeset?reponame=&old=3623024%40kali-forms&new=3623024%40kali-forms