PT-2024-37407 · WordPress · Pexels: Free Stock Photos

István Márton

·

Published

2024-06-19

·

Updated

2024-06-22

·

CVE-2024-6132

CVSS v3.1

8.8

High

VectorAV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions: Pexels: Free Stock Photos plugin for WordPress versions up to, and including, 1.2.2
Description: The issue is related to arbitrary file uploads due to missing file type validation in the pexels fsp images options validate function. This allows authenticated attackers with contributor-level and above permissions to upload arbitrary files on the affected site's server, potentially making remote code execution possible.
Recommendations: For versions up to, and including, 1.2.2, update to a version that includes the fix for the missing file type validation in the pexels fsp images options validate function. As a temporary workaround, consider restricting the pexels fsp images options validate function to prevent arbitrary file uploads until a patch is available. Additionally, restrict access to the plugin's image upload functionality to minimize the risk of exploitation.

Fix

Unrestricted File Upload

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2024-6132

Affected Products

Pexels: Free Stock Photos