CVE-2021-44350

SQL Injection vulnerability exists in ThinkPHP5 5.0.x <=5.1.22 via the parseOrder function in Builder.php

published December 15, 2021

CVSS
—
EPSS
1%
Percentile
72.6
In the wild
Unconfirmed
What it is

⚠️ A sneaky SQL injection is lurking in ThinkPHP5 versions up to 5.1.22, ready to exploit the parseOrder function in Builder.php! Think of this vulnerability like a restaurant that allows customers to modify their orders without verifying any allergies or preferences — one wrong move, and someone's order (or data) could be dangerously wrong! If exploited, an attacker could manipulate SQL queries, potentially leading to unauthorized data access or even data corruption. Imagine an intruder tossing salt in your soup just because they can — not ideal, right?

Put simply

Think of this vulnerability like a restaurant that allows customers to modify their orders without verifying any allergies or preferences — one wrong move, and someone's order (or data) could be dangerously wrong! This SQL injection vulnerability allows attackers to inject malicious SQL code via the parseOrder function in Builder.php, bypassing intended data validation checks.

What to do

If exploited, an attacker could manipulate SQL queries, potentially leading to unauthorized data access or even data corruption. Imagine an intruder tossing salt in your soup just because they can — not ideal, right? To safeguard your application, upgrade ThinkPHP5 to version 5.1.23 or later. Additionally, implement parameterized queries or prepared statements to mitigate future vulnerabilities. Regularly audit your code for similar vulnerabilities. You've got this! With these steps, you're on your way to securing your application like a pro! 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.01419 · 72.6th percentile
Published
2021-12-15T22:09Z
EPSS history
Timeline
  • 15 DEC 22:09Z
    SQL Injection vulnerability exists in ThinkPHP5 5.0.x <=5.1.22 via the parseOrder function in Builder.php
    cvelistv5