CVE-2019-25138CWE-434

User Submitted Posts <= 20190312 - Unauthenticated Arbitrary File Upload

Critical · published June 7, 2023

CVSS v3.1
9.8
EPSS
2%
Percentile
83.4
In the wild
Unconfirmed
What it is

🚨 A missing file type check in the User Submitted Posts plugin allows attackers to upload any file they want—like letting a stranger walk into your house with a suitcase full of surprises! 🔥 Think of your WordPress site as a restaurant where customers can bring in their own ingredients. If the chef doesn't check what's inside those bags, they could be introducing something harmful into the kitchen without anyone noticing! An unauthenticated attacker could exploit this flaw to upload malicious files, potentially leading to full remote code execution. This means they could take control of your server and wreak havoc, stealing sensitive data or causing significant damage—absolutely devastating for any site owner!

Put simply

Think of your WordPress site as a restaurant where customers can bring in their own ingredients. If the chef doesn't check what's inside those bags, they could be introducing something harmful into the kitchen without anyone noticing! The User Submitted Posts plugin lacks proper file type validation in its usp_check_images function, allowing arbitrary file uploads. This oversight creates a pathway for attackers to upload harmful files to the server.

What to do

An unauthenticated attacker could exploit this flaw to upload malicious files, potentially leading to full remote code execution. This means they could take control of your server and wreak havoc, stealing sensitive data or causing significant damage—absolutely devastating for any site owner! Immediately update the User Submitted Posts plugin to the latest version, as prior versions up to 20190312 are affected. Additionally, review your site's file upload settings to enforce strict file type validation and monitor for any suspicious activity. 🛡️ This is fixable! Take these steps and you'll strengthen your defenses in no time. You've got this! 💪

The record
Technical detail
CVSS v3.1
9.8 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.02326 · 83.4th percentile
Weakness
CWE-434 · Unrestricted Upload of File with Dangerous Type
Published
2023-06-07T01:51Z
EPSS history
Timeline
  • 07 JUN 01:51Z
    User Submitted Posts <= 20190312 - Unauthenticated Arbitrary File Upload
    cvelistv5