Inquiry form to posts or pages <= 1.0 - Cross-Site Request Forgery to Stored Cross-Site Scripting via 'inq_header' 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: partial
Summary
The Inquiry Form to Posts or Pages plugin for WordPress is vulnerable to Cross-Site Request Forgery leading to Stored Cross-Site Scripting in version 1.0. This is due to missing nonce validation on the plugin settings update handler, combined with insufficient input sanitization on all user-supplied fields and missing output escaping when rendering stored values. The settings handler fires solely on the presence of `$_POST['inq_hidden'] == 'Y'` with no call to `check_admin_referer()` and no WordPress nonce anywhere in the form or handler. This makes it possible for unauthenticated attackers to inject arbitrary web scripts via a forged request that tricks a logged-in Administrator into visiting a malicious page.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: partial
- Record last updated
Affected versions
- udamadu Inquiry form to posts or pages
through 1.0
References 9
plugins.trac.wordpress.org
- browser/inquiry-form-to-posts-or-pages/trunk/inq_form.php#L63
- browser/inquiry-form-to-posts-or-pages/tags/1.0/inq_form.php#L63
- browser/inquiry-form-to-posts-or-pages/trunk/inq_form.php#L60
- browser/inquiry-form-to-posts-or-pages/tags/1.0/inq_form.php#L60
- browser/inquiry-form-to-posts-or-pages/trunk/inq_form.php#L180
- browser/inquiry-form-to-posts-or-pages/tags/1.0/inq_form.php#L180
- browser/inquiry-form-to-posts-or-pages/trunk/inquery_form_to_posts_or_pages.php#L139
- browser/inquiry-form-to-posts-or-pages/tags/1.0/inquery_form_to_posts_or_pages.php#L139