CVE-2021-24951CWE-89

LearnPress < 4.1.4 - Admin+ SQL Injection

published December 13, 2021

CVSS
—
EPSS
2%
Percentile
76.0
In the wild
Unconfirmed
What it is

⚠️ A simple oversight in LearnPress can turn your quiz duplication into a playground for attackers! Think of it like a restaurant where anyone can re-order dishes without verification — the chef just accepts the order without checking if it’s legitimate. This vulnerability allows malicious SQL queries to sneak in through an unchecked order, causing chaos in your database. If an attacker takes advantage of this SQL injection flaw, they could manipulate your database with potentially devastating consequences — from stealing sensitive information to altering or deleting critical course data. Imagine someone sneaking in and changing all your quiz answers or worse, erasing your entire course!

Put simply

Think of it like a restaurant where anyone can re-order dishes without verification — the chef just accepts the order without checking if it’s legitimate. This vulnerability allows malicious SQL queries to sneak in through an unchecked order, causing chaos in your database. This vulnerability in the LearnPress WordPress plugin before version 4.1.4 arises from a failure to properly sanitize, validate, and escape the 'id' parameter when duplicating courses, lessons, quizzes, or questions, allowing for SQL injection attacks.

What to do

If an attacker takes advantage of this SQL injection flaw, they could manipulate your database with potentially devastating consequences — from stealing sensitive information to altering or deleting critical course data. Imagine someone sneaking in and changing all your quiz answers or worse, erasing your entire course! To secure your site, update the LearnPress plugin to version 4.1.4 or higher immediately. Additionally, conduct a thorough security audit of your database queries to ensure all inputs are properly sanitized. Don't let this oversight linger! You've got this! With a quick update and a little diligence, you'll keep your courses safe and sound! 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.01627 · 76.0th percentile
Weakness
CWE-89 · Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
Published
2021-12-13T10:41Z
EPSS history
Timeline
  • 13 DEC 10:41Z
    LearnPress < 4.1.4 - Admin+ SQL Injection
    cvelistv5