CVE-2021-24762CWE-89

Perfect Survey < 1.5.2 - Unauthenticated SQL Injection

published February 1, 2022

Patch now

High probability of exploitation

NVD has not assigned a CVSS score to this record. It sits in the 99.7th percentile for exploit probability.

CVSS
—
EPSS
87%
Percentile
99.7
In the wild
Unconfirmed
What it is

⚠️ An uncaught error opens the door to chaos! The Perfect Survey WordPress plugin before 1.5.2 lacks proper validation on its question_id parameter, making it a playground for SQL injection! Think of it like a restaurant chef pouring any ingredient they find into a pot without checking—what’s meant to be a delicious dish could quickly turn into a disastrous soup! An attacker can exploit this vulnerability to manipulate the SQL queries the plugin runs. This could lead to unauthorized access to your database, allowing the attacker to view, modify, or even delete data, fundamentally shaking the integrity of your site!

Put simply

Think of it like a restaurant chef pouring any ingredient they find into a pot without checking—what’s meant to be a delicious dish could quickly turn into a disastrous soup! This SQL injection vulnerability stems from the Perfect Survey plugin not validating or escaping the question_id parameter in the get_question AJAX action, allowing unauthenticated users to craft malicious SQL queries.

What to do

An attacker can exploit this vulnerability to manipulate the SQL queries the plugin runs. This could lead to unauthorized access to your database, allowing the attacker to view, modify, or even delete data, fundamentally shaking the integrity of your site! Upgrade the plugin to version 1.5.2 immediately to patch this vulnerability. Additionally, implement proper input validation and escaping in your code to prevent future SQL injection risks. Regularly audit your plugins for similar issues! You've got this! By following these steps, you'll lock down your site and keep it safe from unwanted pests! 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.86782 · 99.7th percentile
Weakness
CWE-89 · Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
Published
2022-02-01T12:21Z
EPSS history
Timeline
  • 01 FEB 12:21Z
    Perfect Survey < 1.5.2 - Unauthenticated SQL Injection
    cvelistv5