A plain-language summary of this CVE is being written; the description below is the NVD's own text.
Description
The FormGent plugin for WordPress is vulnerable to unauthorized arbitrary file deletion due to a missing capability check on the /wp-json/formgent/responses/attachments REST API endpoint in all versions up to, and including, 1.9.2 This is due to the REST API route being registered without any authentication middleware in routes/rest/api.php. This makes it possible for unauthenticated attackers to delete arbitrary files within the formgent uploads directory. Additionally, on Linux servers where the wp-content/uploads/formgent directory does not yet exist (the default state after plugin installation), the path traversal protection can be bypassed, enabling deletion of arbitrary files including wp-config.php which can lead to complete site takeover via a fresh WordPress installation.
Affected products
The NVD has not attached product data to this record yet; the description names what is affected.
Weakness type
References
- plugins.trac.wordpress.org /browser/formgent/tags/1.3.1/app/Http/Controllers/Attachmen…
- plugins.trac.wordpress.org /browser/formgent/tags/1.3.1/routes/rest/api.php
- plugins.trac.wordpress.org /browser/formgent/trunk/app/Http/Controllers/AttachmentCont…
- plugins.trac.wordpress.org /browser/formgent/trunk/routes/rest/api.php
- plugins.trac.wordpress.org /changeset/3604540/formgent/trunk/app/Http/Controllers/Atta…
- plugins.trac.wordpress.org /changeset
- www.wordfence.com /threat-intel/vulnerabilities/id/097a9d0f-fa38-4fdc-9048-43…
Ingati scans your site every week and tells you when a CVE like this one affects something it found there.
Start scanning