SQL Injection Affecting nette/database package, versions >=0.0.0


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of concept

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about SQL Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PHP-NETTEDATABASE-8496573
  • published11 Dec 2024
  • disclosed10 Dec 2024
  • creditUnknown

Introduced: 10 Dec 2024

NewCVE-2024-55586  (opens in a new tab)
CWE-89  (opens in a new tab)

How to fix?

There is no fixed version for nette/database.

Overview

Affected versions of this package are vulnerable to SQL Injection through the where method due to improper user input sanitization. An attacker can manipulate SQL queries and access or modify data without proper authorization by injecting malicious SQL code.

PoC

http://localhost:8000/?id%3d1)+UNION+SELECT+2,version()+FROM+test+WHERE+(1=1

References

CVSS Scores

version 4.0
version 3.1