SQL Injection Affecting munkireport/reportdata package, versions <3.5


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
0.13% (49th percentile)

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-MUNKIREPORTREPORTDATA-6673811
  • published25 Apr 2024
  • disclosed24 May 2022
  • creditUnknown

Introduced: 24 May 2022

CVE-2020-15886  (opens in a new tab)
CWE-89  (opens in a new tab)

How to fix?

Upgrade munkireport/reportdata to version 3.5 or higher.

Overview

munkireport/reportdata is a module for munkireport.

Affected versions of this package are vulnerable to SQL Injection due to improper sanitization of user-supplied input in the reportdata_controller.php file within the req parameter of the /module/reportdata/ip endpoint. An attacker can execute arbitrary SQL commands by injecting malicious SQL code into the req parameter.

CVSS Scores

version 3.1