CM Map Locations <= 2.1.8 - Authenticated (Subscriber+) Arbitrary File Upload via cmloc_route_image_upload AJAX Action
21Vexday Risk Score
No sign of exploitation. No public exploitation artifact known so far.
ssvc Trackcvss 8.8epss 0.6%
exploitation probability
0.6%top 51% of all CVEs
observed exploitation
nono source reports it
The CM Map Locations – Visualize and share your locations in a few clicks plugin for WordPress is vulnerable to Limited Arbitrary File Upload in all versions up to, and including, 2.1.8 via the uploadMedia function. This is due to insufficient file type validation in the upload handler, which performs incomplete extension filtering without MIME-type checks or upload capability verification before passing attacker-supplied files to move_uploaded_file(). This makes it possible for authenticated attackers, with subscriber-level access and above, to upload files that may be executable, which makes remote code execution possible. The required nonce is exposed to any logged-in Subscriber via the CMLOC_Editor_Images JavaScript object on the front-end location editor page.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Affected products
creativemindssolutions · CM Map Locations – Visualize and share your locations in a few clicksReferences
https://plugins.trac.wordpress.org/browser/cm-map-locations/tags/2.1.8/controller/DashboardController.php#L105https://plugins.trac.wordpress.org/browser/cm-map-locations/tags/2.1.8/controller/DashboardController.php#L385https://plugins.trac.wordpress.org/browser/cm-map-locations/tags/2.1.8/core/controller/Controller.php#L45https://plugins.trac.wordpress.org/browser/cm-map-locations/tags/2.1.8/model/Attachment.php#L240https://plugins.trac.wordpress.org/browser/cm-map-locations/tags/2.1.8/model/Route.php#L362https://plugins.trac.wordpress.org/changeset/3626848/cm-map-locations/trunk/controller/DashboardController.phphttps://plugins.trac.wordpress.org/changeset?old_path=%2Fcm-map-locations/tags/2.1.8&new_path=%2Fcm-map-locations/tags/2.1.9https://plugins.trac.wordpress.org/changeset?reponame=&new=3626853%40cm-map-locations%2Ftags%2F2.1.9&old=3544748%40cm-map-locations%2Ftags%2F2.1.8https://www.wordfence.com/threat-intel/vulnerabilities/id/41308ae8-1b3d-4658-808d-630d6e673f3f?source=cve