CVE-2019-13489

Trape through 2019-05-08 has SQL injection via the data[2] variable in core/db.py, as demonstrated by the /bs t parameter

published July 10, 2019

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

⚡ This SQL injection vulnerability in Trape lets attackers sneak in through a simple variable twist — like a kitchen staff taking shortcuts on a recipe! 🍽️ Think of it as a menu where the chef accepts any order without checking if the ingredients are safe. Just one incorrect 'data[2]' entry can lead to an unsafe dish, or in this case, an exposed database! An attacker could exploit this vulnerability to manipulate the database, making it possible to extract sensitive information or degrade the service's integrity. This could lead to unauthorized access to critical data, with potentially devastating consequences for users and their privacy.

Put simply

Think of it as a menu where the chef accepts any order without checking if the ingredients are safe. Just one incorrect 'data[2]' entry can lead to an unsafe dish, or in this case, an exposed database! The SQL injection vulnerability arises from unsanitized user input in the 'data[2]' variable within the core/db.py file. It allows attackers to inject malicious SQL statements, impacting the underlying database operations.

What to do

An attacker could exploit this vulnerability to manipulate the database, making it possible to extract sensitive information or degrade the service's integrity. This could lead to unauthorized access to critical data, with potentially devastating consequences for users and their privacy. To mitigate this risk, immediately review the code handling the 'data[2]' variable to ensure proper input validation and sanitization. Implement prepared statements for all database queries and consider updating to the latest version of Trape, if available. You've got this! Patch up those vulnerabilities like a pro and keep your security game strong! 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.01432 · 72.8th percentile
Published
2019-07-10T21:18Z
EPSS history
Timeline
  • 10 JUL 21:18Z
    Trape through 2019-05-08 has SQL injection via the data[2] variable in core/db.py, as demonstrated by the /bs t parameter
    cvelistv5